222 | | |
| 222 | Check LRS2 and VIRUS computers for running services |
| 223 | |
| 224 | We need to be sure that all required for night operation services are running on LRS2 and VIRUS computers |
| 225 | Either run commands manually or through ~/sir/check_misc.sh |
| 226 | |
| 227 | * Manual checking (and fixing if needed). Run from under astronomer@mcs |
| 228 | |
| 229 | - LRS2. Checking for running proxy and LRS2 servers and data transfer server. Run command {{{ssh -q lrs2 "ps ax|egrep 'lrs2_server|proxy|dt_local_nfs'|egrep -v 'tail|grep'"}}} [[br]] |
| 230 | Correct output is: |
| 231 | {{{ |
| 232 | 3122 ? Sl 25:23 /opt/het/hetdex/bin/tcs_proxy --proxy-route tcp://127.0.0.1:39999 --proxy-command /opt/het/hetdex/bin/proxy-pivot-lrs2-data |
| 233 | 3354 ? S 16:50 /bin/bash /opt/het/hetdex/bin/dt_local_nfs lrs2 |
| 234 | 4202 ? Sl 116:37 /opt/het/hetdex/bin/lrs2_server --named-route tcp://192.168.66.99:30000 -c /opt/het/hetdex/etc/configfiles/lrs2_server.conf |
| 235 | }}} |
| 236 | |
| 237 | - if proxy (tcs_proxy) is missing then run {{{ssh -q lrs2 sudo /sbin/service lrs2Pivot restart}}} |
| 238 | - if LRS2 server (lrs2_server) is missing then run {{{ssh -q lrs2 sudo /sbin/service lrs2Server restart}}} |
| 239 | - if data transfer (dt_local_nfs) is missing then run {{{ssh -q lrs2 sudo /sbin/service lrs2DataTransfer restart}}} |
| 240 | |
| 241 | - VIRUS. Checking for running proxy and VIRUS servers and two data transfer servers. run command {{{ssh -q vdas "ps ax|egrep 'virus_server|proxy|dt_local_nfs|dt_tacc_virus'|egrep -v 'tail|grep'" }}} [[br]] |
| 242 | Correct output is: |
| 243 | {{{ |
| 244 | 66705 ? S 0:00 /bin/bash /opt/het/hetdex/bin/dt_local_nfs virus |
| 245 | 66726 ? S 0:00 /bin/bash /opt/het/hetdex/bin/dt_tacc_virus |
| 246 | 182945 ? Sl 49:06 /opt/het/hetdex/bin/virus_server --named-route tcp://192.168.66.99:30000 -c /opt/het/hetdex/etc/configfiles/virus_server.conf |
| 247 | 188291 ? Sl 8:53 /opt/het/hetdex/bin/tcs_proxy --named-route tcp://192.168.66.99:30000 --proxy-route tcp://127.0.0.1:39999 --proxy-command /opt/het/hetdex/bin/proxy-pivot-virus-data |
| 248 | }}} |
| 249 | |
| 250 | - if proxy (tcs_proxy) is missing then run {{{ssh -q vdas sudo /sbin/service virusPivot restart}}} |
| 251 | - if VIRUS server (virus_server) is missing then run {{{ssh -q vdas sudo /sbin/service virusServer restart}}} |
| 252 | - if data transfer (dt_local_nfs) is missing then run {{{ssh -q vdas sudo /sbin/service virusDataTransfer restart}}} |
| 253 | |
| 254 | * checking again. If something is still missing report and contact |