|
Size: 15807
Comment:
|
Size: 8940
Comment:
|
| Deletions are marked like this. | Additions are marked like this. |
| Line 7: | Line 7: |
||[#coldstart Coldstart procedures] ||[[/BURTgooey]] || [#nuclear Nuclear Option] || ||[#c1lsc c1lsc] ||[#c1iscex c1iscex] ||[#c1iscey c1iscey] ||[#c1sosvme c1sosvme] ||[#c1susvme1 c1susvme1] ||[#c1susvme2 c1susvme2] || [#c1asc c1asc] ||[#c1iovme c1iovme] || [#c1omc c1omc] ||[#c1ass c1ass] || || [#nodus nodus] ||[#fb40m fb40m] (Includes DAQ and testpoint manager) ||[#c0daqawg c0daqawg] ||[#c0daqctrl c0daqctrl] || ||[#EPICS EPICS] || [#c1psl c1psl] ||[#c1iool0 c1iool0] ||[#c0dcu1 c0dcu1] ||[#c1iscepics c1iscepics] ||[#c1pem1 c1pem1] || |
||[[Computer Restart Procedures/BURTgooey|BURTgooey]] || [#links Useful links] || ||[#c1sus c1sus] ||[#c1ioo c1ioo] || || [#c1omc c1omc] ||[#c1ass c1ass] || || [#nodus nodus] ||[#fb fb] (Includes DAQ) || || [#c1psl c1psl] ||[#c1iool0 c1iool0] ||[#c1pem1 c1pem1] || |
| Line 23: | Line 20: |
| || [#Megatron Megatron] || ||[#HardwareReboot Hardware Reboot Procedure for FE computers] || Ethernet network connection diagram as of Oct 7, 2008: attachment:40m_network_10-07-08.pdf |
'''Out of Date''' Ethernet network connection diagram as of Oct 7, 2008: attachment:40m_network_10-07-08.pdf |
| Line 35: | Line 26: |
| ---------- . <<Anchor(Megatron)>> '''Megatron''' |
---------- . <<Anchor(links)>> '''Useful links''' ''Which models run on which machines?'' . Answer: [[Electronics/Existing RCG DCUID and gds ids]] ---------- . <<Anchor(fb)>> '''fb and DAQ issues''' ''For dataviewer to get data you need to make sure "daqd" and "nds pipe" are running on the fb machine. '' . If they are not running, you can start by hand by doing: . 1. ssh fb . 2. screen . 3. /opt/rtcds/caltech/c1/target/fb/daqd -c ./daqdrc & . 4. /opt/rtcds/caltech/c1/target/fb/nds pipe > nds.log & . 5. Press ctrl-a and then ctrl-d. . Eventually there should be a script to automatically restart these if they go down ''For testpoints to be available for a given front end, you need running on the correct front end computer:'' . The IOP needs to be running, since it handles, it is genamed something like c1x00, c1x01, etc. . "sudo /opt/rtcds/caltech/c1/scripts/startc1SYSNAME" where SYSNAME is something like sus or ioo or x02 . The above starts the IOCs, awgtpman, and loads the front end module. . mx_streams running (use "sudo /etc/restart_streams") this should start a mx_stream for each front end system and is needed to talk to the fb ''To confirm the necessary codes are running on a front end, you can:'' . To check if the front ends are loaded, you can use "lsmod" on the front end machine, looking for c1SYSNAMEfe entries . To check if the IOCs are running, you can "ps -ef | grep epicsC1.cmd" - there should be 1 per model . To check if mx_streams are running, you can "ps -ef | grep mx_stream" - there should be 1 per model . To check if awgtpman are running, you can "ps -ef | grep awgtpman" - there should be 1 per model ''Cold start order is:'' . 0. If necessary, stop everything (fb, front ends, mx_streams, etc) . 1. Start fb codes (daqd, nds) . 2. Start IOP (startc1x##) . 3. Start FE models (startc1SYSNAME) . 4. Start mx_streams (/etc/restart_streams) . If the DAQ is in a bad state, try to start fresh in this order. It seems to usually work. . The frame builder for an unknown reason is flaky, and generally I find I have to restart it 2 or 3 times before it doesn't die within the first 60 seconds or so. . If you get past that first minute or so, it tends to be stable from then on ''Restarting the Nightly Backup of Frames'' . The following instructions are valid for the old fb40m Frame Builder. They're here for reference, until the backup scripts are fixed, at which time new instructions will be posted. ---JD 18Oct2010 Restart the nightly BACKUP of /cvs/cds and our trend-frames by following the instructions in Restarting the backup script Summary of how to restart the backup script: The steps are as follows (copy everything after each of the numbered steps verbatim): 1. ssh fb40m 2. cd /cvs/cds/caltech/scripts/backup 3. ssh-agent > .agent 4. awk '/setenv/' .agent > .agent.edit 5. mv .agent.edit .agent 6. source .agent 7. ssh-add ~/.ssh/id_rsa (This one will not ask for a passphrase) 8. ssh-add ~/.ssh/backup2PB ( This one requires a passphrase. Read the README: ..../scripts/backup/000README.txt ) 9. ssh-add -l (This verifies that both the id_rsa and backup2PB are there. If it also picks up the wrong one (id_dsa), remove it by typing "ssh-add -d" ) 10. ssh 40m@ldas-cit.ligo.caltech.edu /bin/ls /archive/frames/trend/minute-trend/40m (This should do a test ssh, and list the archived frame folders. You can open the last one, and then look at the gps time of the last .gwf file, and it should be sometime in the middle of the previous night.) ---------- . <<Anchor(c1ioo)>> '''c1ioo''' This machine runs the c1x03, c1ioo, and c1gpt FE models. It controls mode cleaner wavefront sensors, mode cleaner length, and green locking. On reboot, these models should automatically start up. See also the [#fb fb/DAQ] section. c1ioo is a Sun X4600 machine. As such for a complete shutdown (not normally necessary but sometimes), do the following: |
| Line 47: | Line 128: |
| . <<Anchor(c1lsc)>> '''c1lsc''' Turn OFF all the SUS buttons on the right hand side of the LSC screen (C1LSC.adl). Push both of the RESET buttons on the little RESET screen on the LSC screen (FIRST GREEN, then RED). From a control room terminal type: . {{{ ssh c1lsc}}} log in as controls. Then do 'su' to become root. Then . {{{ cd /cvs/cds/caltech/target/c1lsc/ ./startup.cmd}}} --------- . <<Anchor(c1iscex)>>'''c1iscex''' Shut off the watchdogs for ETMX via epics. Push the corresponding RESET button on the "C0DAQ_RFMNETWORK.adl" MEDM screen. From a control room terminal type: . {{{ telnet c1iscex}}} Copy and paste this into the command line (including the "<"): . {{{ < /cvs/cds/caltech/target/c1iscex/startup.cmd}}} When the line "starting main loop (printing from sus_start)." appears, hit CTRL-] and type: . {{{ quit}}} Turn the watchdogs back on, once the computer is up again. --------- . <<Anchor(c1iscey)>> '''c1iscey''' Shut off the watchdogs for ETMY via epics. Push the corresponding RESET button on the "C0DAQ_RFMNETWORK.adl" MEDM screen. From a control room terminal type: . {{{ telnet c1iscey}}} Copy and paste this into the command line (including the "<"): . {{{ < /cvs/cds/caltech/target/c1iscey/startup.cmd}}} Turn the watchdogs back on, once the computer is up again. Type ctrl-] to break. Then "quit". --------- . <<Anchor(c1sosvme)>> '''c1sosvme''' Shut off the watchdogs for all optics via epics. Push the corresponding RESET button on the "C0DAQ_RFMNETWORK.adl" MEDM screen. From a control room terminal type: . {{{ telnet c1sosvme}}} Copy and paste this into the command line (including the "<"): . {{{ < /cvs/cds/caltech/target/c1sosvme/startup.cmd}}} You will probably need to restart c1susvme1 and c1susvme2 now. Type ctrl-] to break. Then "quit". --------- . <<Anchor(c1susvme1)>> '''c1susvme1''' Shut off the watchdogs for ITMX, ITMY, BS, PRM via epics. You have two options for turning it off/on before restarting the code: 1) Push the corresponding RESET button on the "C0DAQ_RFMNETWORK.adl" MEDM screen. OR 2) You probably have to connect a keyboard and a monitor to the machine. Then power cycle the crate or push the reset button on the machine with a pointy thing (like the tip of a pen). If the display is still blank after a while, press Ctrl+x. This should start the computer. OR 3) We found that connecting certain types of monitors (such as the Sun Systems CRT) prevents boot up, use a LCD style screen. Don't give up easily. Some combination of keyboards and/or monitor should work. When you get a PXE bad media error, test cable message, check that the Ethernet cable is well connected and that the status lights for the ethernet are lit. If not, try pushing it in better, or switching to the other port. After doing (1) or (2) or (3) From a control room terminal type: . {{{ ssh c1susvme1}}} log in with the ''controls'' password. Become superuser by running the ''su'' command. Go to the ''/cvs/cds/caltech/target/c1susvme1'' directory. . {{{ ./startup.cmd}}} Turn the watchdogs back on, once the computer is up again. --------- . <<Anchor(c1susvme2)>> '''c1susvme2''' Shut off the watchdogs for SRM, MC1, MC2, MC3 optics via epics. Disable the MC autolocker (by clicking the DISABLE button on the C1IOO_LockMC.adl screen). Push the corresponding RESET button on the "C0DAQ_RFMNETWORK.adl" MEDM screen. From a control room terminal type: . {{{ ssh c1susvme2}}} log in with the ''controls'' password. Become superuser by running the ''su'' command. Go to the ''/cvs/cds/caltech/target/c1susvme2'' directory. . {{{ ./startup.cmd}}} Turn the watchdogs back on, once the computer is up again. Re-Enable the MC autolocker. |
. <<Anchor(c1sus)>> '''c1sus''' This machine runs the c1x02, c1sus, c1mcs, c1rms FE models. It controls the BS, ITMX, ITMY, PRM,SRM,MC1,MC2, and MC3 optics. On reboot, these models should automatically start up. See also the [#fb fb/DAQ] section. |
| Line 245: | Line 188: |
------- . <<Anchor(c1iovme)>>'''c1iovme''' At the command prompt, type: . {{{ telnet c1iovme}}} At the telnet prompt, type . {{{ < /cvs/cds/caltech/target/c1iovme/startup.cmd}}} Type CTRL-], followed by . {{{ quit}}} ------- . <<Anchor(c0dcu1)>>'''c0dcu1''' At first you should try . {{{ telnet c0dcu1}}} If you can login to c0dcu1, it means it doesn't run correctly. After the login, try to startup it by typing . {{{ /cvs/cds/caltech/target/c1duc1/startup.cmd}}} It is going to give you some error messages and this might be a hint to solve problems. To recycle the power you can run . {{{ vmeBusReset}}} Another solutions are: Turn key on DAQ CTRL crate to turn off ALL framebuilders; turn back after ~10 seconds Follow restart procedures for all other computers OR, first try pressing the "reset" button on c0dcu1 and waiting ~3 minutes. ------- . <<Anchor(c1asc)>>'''c1asc''' First make sure that c1LSC is running and its light in the C0DAQ_DETAIL MEDM screen is green. Turn key on ASC crate to shut off power; turn back after ~10 seconds Type . {{{ telnet c1asc}}} Then type . {{{ < /cvs/cds/caltech/target/c1asc/startup.cmd}}} After signal light on DAQ_DETAIL screen turns green, type CTRL-], followed by .{{{ quit}}} ------- . <<Anchor(c0daqawg)>>'''c0daqawg''' 1) Push the recessed RESET button on the c0daqawg computer 2) If the above doesn't work, try: . Turn key on DAQ AWG crate to shut off power; turn back after ~10 seconds 3) An alternative way: . {{{ telnet c0daqawg }}} . if you get a prompt try: . {{{ vmeBusReset }}} . The AWG light on the RFM screen ought to go red. IF it does, wait ~5 minutes for it to come back. . That's it ------- . <<Anchor(c0daqctrl)>>'''c0daqctrl''' 1) No clue. Power cycle? SSH? Stab it with a spoon??? {{{ Try pushing the recessed reset button. This may be the last thing that needs to be done. }}} |
|
| Line 386: | Line 223: |
| ------- . <<Anchor(fb40m)>>'''fb40m''' This is not really a reboot procedure, as I don't know it. * To restart the testpoint manager: just ssh into fb40m and type "pkill tpman" . {{{ ssh fb40m > pkill tpman}}} * Then restart the 'daqd' process:'telnet fb40m 8087', type "shutdown" at the prompt. The framebuilder will restart itself in ~20s. . {{{ telnet fb40m 8087 > shutdown}}} * If everything gets hosed, and the RAID is angrily flashing red lights, power off the framebuilder (by logging in as SU and then typing "poweroff"), power-cycle the RAID, then turn the framebuilder on. If there is disk corruption, you can use "fsck -y" to automatically answer "yes" to all of "fsck"'s questions, so it can run unattended. * ''If you restart the framebuilder, you need to restart the backup script.'' Restart the nightly BACKUP of /cvs/cds and our trend-frames by following the instructions in [[Restarting the backup script]] Summary of how to restart the backup script: The steps are as follows (copy everything after each of the numbered steps verbatim): 1. ssh fb40m 2. cd /cvs/cds/caltech/scripts/backup 3. ssh-agent > .agent 4. awk '/setenv/' .agent > .agent.edit 5. mv .agent.edit .agent 6. source .agent 7. ssh-add ~/.ssh/id_rsa (This one will not ask for a passphrase) 8. ssh-add ~/.ssh/backup2PB ( This one requires a passphrase. Read the README: ..../scripts/backup/000README.txt ) 9. ssh-add -l (This verifies that both the id_rsa and backup2PB are there. If it also picks up the wrong one (id_dsa), remove it by typing "ssh-add -d" ) 10. ssh 40m@ldas-cit.ligo.caltech.edu /bin/ls /archive/frames/trend/minute-trend/40m (This should do a test ssh, and list the archived frame folders. You can open the last one, and then look at the gps time of the last .gwf file, and it should be sometime in the middle of the previous night.) * If the frame builder light is red on the reflected memory MEDM screens but the machine seems otherwise to be working, try pressing the reset button on the reflected memory bypass switch. * If the frame builder still isn't working, make sure that '''c0daqctrl''' is running properly. ------- . <<Anchor(EPICS)>>'''EPICS''' '''c1dcuepics''' runs the processes labeled "dcuepics40m" and "losepics" and "iscepics40m". These should start automatically.[[BR]] Note that to burt restore c1dcuepics, one needs to fix the autoburt .snap file. Because of the newline at the end of the C0:TIM-PACIFIC_STRING channel, it moves the quote to the next line, breaking the autoburt restore. For the moment, you need to manually move the lone " to the end of the previous line. <<Anchor(c1iscepics)>>Need to login and restart ntpd (remove this entry after setting up the cron tab correctly): {{{linux2:/etc>ssh scipe25}}}{{{controls@scipe25's password:}}}{{{[controls@c1dcuepics ~]$ sudo /usr/sbin/ntpd -c /etc/ntp.conf}}}''' ''' After you restart c1dcuepics, you must burt restore c1iscepics and c1losepics! (On nodus, in the command line, type "burt" to open the burt restore gui) ------- . C1:IOO-MC_F channels may not come back unless the IOO rack is keyed; follow C1IOVME procedure after that |
|
| Line 480: | Line 247: |
---------- . <<Anchor(HardwareReboot)>> '''Hardware Reboot Procedure for FE computers''' Starting from Y-end, look for crates with RFM network connection (orange cables). Turn off the power by turning the key and wait for 10sec. Then turn on the power again. You should hear a beep after a while. Go thorough every crate which has orange cables connected. Then initialize each FE computer following the procedures described above. Check the status of the computers by C0DAQ_RFMNETWORK.adl. Run the slider twiddle script to unstick any stuck sliders: /cvs/cds/caltech/scripts/Admin/slider_twiddle ---------- . <<Anchor(nuclear)>> '''Nuclear Option''' This is the most involved option, and if it doesn't work, you're in trouble. When everything on the RFM_NETWORK screen goes red, this option usually brings it back. . Log into fb40m and power it off (sudo poweroff). . Log into c1dcuepics and power it off (sudo poweroff). . Key off the crates in 1Y6 and 1Y7, and push the RESET buttons on BOTH RFM BYPASS SWITCHES. . Power on the framebuilder. Wait ~10 minutes for it to boot (solaris). . Power on the crate in 1Y7 (C0DAQCTRL). Wait one minute. . Power on the crate in 1Y6 (C0daqawg). . Power on c1dcuepics. Wait 3 minutes for it to boot. . BURT restore c1dcuepics processes -- these are currently c1losepics.snap and c1iscepics.snap Now you can follow the procedure in [#HardwareReboot Hardware Reboot] to bring up the front-end controls machines. You can also try the software (login from the control room) method if you feeling lazy and lucky. NB: The last time this procedure was exercised, the last two steps (involving c1dcuepics) were done FIRST, and it worked. So that's an option too. |
Computer Restart Procedures
Here is where we should keep information on how to restart the computers that periodically need restarting.
[#List List of all lab computers] |
[#links Useful links] |
[#c1sus c1sus] |
[#c1ioo c1ioo] |
[#c1omc c1omc] |
[#c1ass c1ass] |
[#nodus nodus] |
[#fb fb] (Includes DAQ) |
[#c1psl c1psl] |
[#c1iool0 c1iool0] |
[#c1pem1 c1pem1] |
[#op440m op440m] |
[#op340m op340m] |
Out of Date Ethernet network connection diagram as of Oct 7, 2008: attachment:40m_network_10-07-08.pdf
[#Electronics Here] you can find a map of the computers around the lab.
Useful links
Which models run on which machines?
fb and DAQ issues
For dataviewer to get data you need to make sure "daqd" and "nds pipe" are running on the fb machine.
- If they are not running, you can start by hand by doing:
- 1. ssh fb
- 2. screen
3. /opt/rtcds/caltech/c1/target/fb/daqd -c ./daqdrc &
4. /opt/rtcds/caltech/c1/target/fb/nds pipe > nds.log &
- 5. Press ctrl-a and then ctrl-d.
- Eventually there should be a script to automatically restart these if they go down
For testpoints to be available for a given front end, you need running on the correct front end computer:
- The IOP needs to be running, since it handles, it is genamed something like c1x00, c1x01, etc.
- "sudo /opt/rtcds/caltech/c1/scripts/startc1SYSNAME" where SYSNAME is something like sus or ioo or x02
- The above starts the IOCs, awgtpman, and loads the front end module.
- mx_streams running (use "sudo /etc/restart_streams") this should start a mx_stream for each front end system and is needed to talk to the fb
To confirm the necessary codes are running on a front end, you can:
- To check if the front ends are loaded, you can use "lsmod" on the front end machine, looking for c1SYSNAMEfe entries
- To check if the IOCs are running, you can "ps -ef | grep epicsC1.cmd" - there should be 1 per model
- To check if mx_streams are running, you can "ps -ef | grep mx_stream" - there should be 1 per model
- To check if awgtpman are running, you can "ps -ef | grep awgtpman" - there should be 1 per model
Cold start order is:
- 0. If necessary, stop everything (fb, front ends, mx_streams, etc)
- 1. Start fb codes (daqd, nds)
- 2. Start IOP (startc1x##)
- 3. Start FE models (startc1SYSNAME)
- 4. Start mx_streams (/etc/restart_streams)
- If the DAQ is in a bad state, try to start fresh in this order. It seems to usually work.
- The frame builder for an unknown reason is flaky, and generally I find I have to restart it 2 or 3 times before it doesn't die within the first 60 seconds or so.
- If you get past that first minute or so, it tends to be stable from then on
Restarting the Nightly Backup of Frames
- The following instructions are valid for the old fb40m Frame Builder. They're here for reference, until the backup scripts are fixed, at which time new instructions will be posted. ---JD 18Oct2010
Restart the nightly BACKUP of /cvs/cds and our trend-frames by following the instructions in Restarting the backup script Summary of how to restart the backup script: The steps are as follows (copy everything after each of the numbered steps verbatim):
- ssh fb40m
- cd /cvs/cds/caltech/scripts/backup
ssh-agent > .agent
awk '/setenv/' .agent > .agent.edit
- mv .agent.edit .agent
- source .agent
- ssh-add ~/.ssh/id_rsa
- (This one will not ask for a passphrase)
- ssh-add ~/.ssh/backup2PB
- ( This one requires a passphrase. Read the README: ..../scripts/backup/000README.txt )
- ssh-add -l
- (This verifies that both the id_rsa and backup2PB are there. If it also picks up the wrong one (id_dsa), remove it by typing "ssh-add -d" )
ssh 40m@ldas-cit.ligo.caltech.edu /bin/ls /archive/frames/trend/minute-trend/40m
- (This should do a test ssh, and list the archived frame folders. You can open the last one, and then look at the gps time of the last .gwf file, and it should be sometime in the middle of the previous night.)
c1ioo
This machine runs the c1x03, c1ioo, and c1gpt FE models. It controls mode cleaner wavefront sensors, mode cleaner length, and green locking.
On reboot, these models should automatically start up. See also the [#fb fb/DAQ] section.
c1ioo is a Sun X4600 machine. As such for a complete shutdown (not normally necessary but sometimes), do the following:
Shutdown the computer normally. (Power button or "shutdown -h now").
Go out to the rack and unplug all 4 power supply cables on the back of the machine.
Wait for a bit for the machine to completely stop (30 seconds or so).
Plug all the cables back in, and press the power button.
c1sus
This machine runs the c1x02, c1sus, c1mcs, c1rms FE models. It controls the BS, ITMX, ITMY, PRM,SRM,MC1,MC2, and MC3 optics.
On reboot, these models should automatically start up. See also the [#fb fb/DAQ] section.
c1psl
Sometimes you can just do this guy by doing:
telnet c1psl reboot
then burt restore this guy.
But often, this just makes it upset and the screens go white but it never comes back. When that happens go out to the rack (the one next to the one with the MC servo) and turn off the crate (on the bottom) which has the c1psl processor. After ~3.14 seconds, turn it back on. c1psl ought to come back now.
If it still doesn't come back then sing [http://www.amazon.com/gp/music/clipserve/B000002W9Q001005/1/ref=mu_sam_ra001_005/002-7727484-0862420 this] link.
c1pem1
Sometimes you can just do this guy by doing:
telnet c1pem1 reboot
then burt restore this guy.
If it still doesn't come back then sing [http://www.amazon.com/gp/music/clipserve/B000002W9Q001005/1/ref=mu_sam_ra001_005/002-7727484-0862420 this] link.
c1iool0
At the command prompt, type:
telnet c1iool0
Try CTRL+x
It should reboot c1iool0
This computer automatically executes startup.cmd. So there is no need to run it manually.
If for some reason it does not load the startup script automatically, try this:
At the telnet prompt, type
< /cvs/cds/caltech/target/c1iool0/startup.cmd
Then, after the main loop is started, type CTRL-], followed by
quit
c1omc
-1) Make sure the c1omc is powered on--it doesn't power up automatically following a power outage. First find the OMC, then press its power button.
0) Make sure the previous incarnation of the code is no longer running. See Appendix A for details.
1) while logged in as controls, run the script startupC1 in the c1omcepics target directory.
2) Log in as root. Start the real-time code by running the omcfe.rtl script in the c1omc
- target directory.
2.5) Now the process will wait for a BURT restore. Find the appropriate autoburt snapshot file, and restore it.
3) Also, as root, run the command /opt/gds/awgtpman -2 in the background.
Note that c1omc has two ethernet ports. Use the bottom one.
If nothing works, check the mount tables and make sure that linux1:/home/cds is mounted as /cvs/cds. If it's not, sudo mount -a.
A) To stop the front end code, first press the red FE RESET button on the C1OMC_GDS screen. Then,
- i) log in to c1omc. become root.
- ii) kill epics with a 'pkill omcepics'
- iii) kill the test-point manager with a 'pkill awgtpman'
- iv) remove the front end kernel module with '/sbin/rmmod omcfe'
- v) check that the [omcfe] kernel module is gone with a '/sbin/lsmod'
c1ass
- Currently the procedure for restarting C1ASS seems to be the same as for C1OMC above except that the ass test point manager doesn't need the "-2" flag.
op440m
Reboot as usual. If its acting weird or slow just hit the moon button. Pick the shutdown option. After a few minutes it will turn off. The hit the on button on the front of the machine. Wait for the login prompt. Then log in as controls.
op340m
Reboot as usual. It's headless, so you'll need to ssh in and type 'reboot'.
Restart the following scripts:
nodus
Nodus is a Solaris box in the rack in the office. Here are some of the things that it runs that you will want to restart:
