User Tools

Site Tools


chara:archived_procedures

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
chara:archived_procedures [2022/01/21 19:28]
charaobs
chara:archived_procedures [2023/08/30 16:58] (current)
jones
Line 21: Line 21:
   * bootlaunch_lower – Starts the E1_Lower, E2_Lower, S1_Lower, S2_Lower, W1_Lower, or W2_Lower cylinder server, depending on the machine it's launched from.   * bootlaunch_lower – Starts the E1_Lower, E2_Lower, S1_Lower, S2_Lower, W1_Lower, or W2_Lower cylinder server, depending on the machine it's launched from.
   * bootlaunch_upper – Starts the E1_Upper, E2_Upper, S1_Upper, S2_Upper, W1_Upper, or W2_Upper server, depending on the machine it's launched from.   * bootlaunch_upper – Starts the E1_Upper, E2_Upper, S1_Upper, S2_Upper, W1_Upper, or W2_Upper server, depending on the machine it's launched from.
 +
 +===== Manually restarting the dome server =====
 +
 +To manually start the dome server:
 +
 +1. Make sure the power to the drives is OFF.
 +
 +2. Login to the relevant computer as observe. For example, type "s1" to log on to S1.
 +
 +3. Work out the process ID number (PID), either with the command
 +
 +(s1:1001) tsockman get dome_S1 \\ Name : dome_S1 \\ Machine : s1.chara-array.org \\ PID : 29953 \\ Commands : -1 \\ Data : -1 \\ Message : 4002 \\ Restart : /usr/local/bin/dome_server -A33.7441 S1 \\  \\ or with \\ (s1:1003) ps aux | grep dome \\ theo 4473 0.0 0.0 61188 748 pts/3 S+ 10:45 0:00 grep dome \\ observe 29953 18.5 0.4 35596 9860 ? Sl Apr21 416:11 /usr/local/bin/dome_server -A33.7441 S \\  \\ It can also be found by pulling up the LIST on SOCKMAN and selecting the relevant dome. \\  \\ So in this case the PID is 29953. \\  \\ 4. Try and stop the server gracefully: kill -2 29953
 +
 +5. You should then check that the server has indeed stopped: \\  \\ [s1:600] tsockman get dome_S1 \\ Name : dome_S1 \\ Machine : s1.chara-array.org \\ PID : 15635 \\ Commands : -1 \\ Data : -1 \\ Message : 2008 \\ Restart : /usr/local/bin/dome_server -A41.0166 S1 \\  \\ If the socket manager still thinks it's running you will need to stop it forcefully: kill -9 29953; tsockman rm dome_S1
 +
 +6. Restart the dome server by copying the command at the end of the /etc/rc.local file:
 +
 +[s1:602] more /etc/rc.local \\ <<< Press space bar or enter to scroll through file>>> \\  \\ #Run the dome server \\  \\ /usr/local/bin/tsockman remove dome_S1 \\ /usr/local/bin/dome_server -A41.0166 S1 & \\  \\ (Note: the part of the command that saves information to /var/log/dome_S1.log has been removed.)
 +
 +7. Turn the power to the drives back on.
 +
 +8. Hit REOPEN and ENABLE on the domegtk, and type "otcs" in the telescope server.
  
 ===== Tiptilt Server: ===== ===== Tiptilt Server: =====
Line 86: Line 108:
  
 cosmic_fluor -F -o2 (for a secondary program using secondary ople) cosmic_fluor -F -o2 (for a secondary program using secondary ople)
- 
- 
chara/archived_procedures.1642811300.txt.gz · Last modified: 2022/01/21 19:28 by charaobs