IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 146 and Version 147 of Processing


Ignore:
Timestamp:
Mar 17, 2011, 11:23:52 AM (15 years ago)
Author:
Serge CHASTEL
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing

    v146 v147  
    1212'''NB''' You will need to have {{{ipp}}} user access on the production cluster. For convenience, have someone who already has access (anyone on the IPP team) to add your ssh public key to {{{~ipp/.ssh/authorized_keys}}}.
    1313
     14= About Czar Pages: What to do if the czar pages don't update =
     15IPP Czar pages are updated every TODO minutes by the czarpoll.pl script. This script runs on ipp004 as ipp user within a screen session.
     16
     17If, for some reason, czarpoll crashed (it likely means that gpc1 mysql server has been restarted), 1) ssh as ipp on ipp004, 2) identify the screen session which is running and reattach it, 3) restart czarpoll and then 4) '''detach from the screen session'''. The sequence of commands should therefore be something like:
     18
     191) ssh as ipp on ipp004
     20{{{
     21yourhost:~$ ssh ipp@ipp004
     22}}}
     23
     242) Identify the screen session which is running and reattach it
     25{{{
     26ipp@ipp004:/home/panstarrs/ipp>screen -list
     27There is a screen on:
     28        18965.CzarPoll  (Attached)
     291 Socket in /var/run/screen/S-ipp.
     30
     31ipp@ipp004:/home/panstarrs/ipp>screen -r 18965.CzarPoll
     32
     33(you see then the last lines of the display, e.g.:
     34        Total time                              : 0:55.57s
     35        CPU utilisation (percentage)            : 57.7%
     36}}}
     37
     383) Restart czarpoll
     39{{{
     40ipp@ipp004:/home/panstarrs/rhenders/trunk/tools>./czarpoll.pl
     41}}}
     42
     434) Detach from the screen session by typing '''CTRL-A d'''
     44{{{
     45CTRL-A d
     46}}}
     47
     48The terminal window is cleared and you should see something like:
     49{{{
     50[detached]
     51ipp@ipp004:/home/panstarrs/ipp>
     52}}}
     53You can safely logout or do other work
    1454= Getting started and checking processing status =
    1555