from the window:
Simulink files /opt/rtcds/userapps/trunck/SYSTEM/m1/models where SYSTEM can be isi, sus ............
Overview medm screens /opt/rtcds/userapps/trunk/SYTEM/m1/medm
Other medm screens /opt/rtcds/mit/m1/medm
CDS Parameters : /home/controls/shared/src/advligorts/src/epics/simLink/lib
CDS Parts /home/Controls/lib
To run a newly build model:
rtcds build
rtcds install
ssh m1boot
on m1boot: add model name to /diskless/root/etc/rtsystab
back on the other machine: rtcds start
sudo systemctl restart rts-local_dc
Then restart the framebuilder: ssh m1fb0
sudo reboot
To get the model into the DAQ/ ndscope/ diaggui:
1. Log into m1boot, change root user to su and navigate to puppert config file (should be /root/puppet/modules/ligo_cds_frontend)
2. grep for the FE name you want to deploy the model onto. For C6D and CRS models they were both on m1hamx, then it would be grep -rn "m1hamx"
3. This will return the location of the .yaml config file that puppet uses to populate the /etc/advligorts/systemd_env file you're looking for. Add the new user model to the models list in the .yaml file
4. Restart the puppet /opt/puppetlabs/bin/puppet apply --modulepath ~/puppet/modules ~/puppet/modules/ligo_cds_frontend/nodes/bootserver.pp
Warning: No server should need restarting to make the changes work. However, both times IGeorge added a new model, the boot server unmounted the controls user directory from all workstations at MIT. George strongly recomends to that we make sure, either Fred is around, or at least you coordinate with hjim in advance when you restart the puppet, so he can remount all the user folders if needed. Otherwise you risk havin no access to a workstation until this issue is resolved (and we also won't be able to remote access MIT unti workstations have been fixed).
To restart DAQ (from m1fb0)
sudo systemctl restart rts-daqd
sudo systemctl restart rts-nds
For when the workstations lose control sub-directories
Either reboot; do a as root umount -f /home/controls/Desktop,
then a mount -a
MIT CDS notes from various users (including this one) have been collected to this dcc page : T2500407
Fred and Erik recently fixed some things on the CDS side to make it more robust. Previously the OS on m1boot was wiped. Fred is still fixing some keys but in the meantime if you ssh into any CDS machines and it gives you the error: "WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!" use
replace m1sus with the machine you want to log into. Then ssh into the machine again.
Fred has temporarily changed the password to m1boot. Contact him if you need to access it.