IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 212 and Version 213 of Processing


Ignore:
Timestamp:
May 11, 2016, 10:12:34 AM (10 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Processing

    v212 v213  
    3131
    3232= About Czar Pages: What to do if the czar pages don't update =
    33 IPP Czar pages are updated every five minutes or so by the czarpoll.pl script. This script runs on {{{ippc11}}} as ipp user within a screen session. If, for some reason, czarpoll crashes (it likely means that gpc1 mysql server has been restarted),
    34 
    35 1) ssh as ipp on {{{ippc11}}}    '''use c11 so that we don't overload c18!''' [[BR]]
    36 2) identify the screen session which is running and reattach it[[BR]]
     33IPP Czar pages are updated every five minutes or so by the czarpoll.pl script. This script runs on {{{ippc33}}} as ipp user within a screen session. If, for some reason, czarpoll crashes (it likely means that gpc1 mysql server has been restarted),
     34
     351) ssh as ipp on {{{ippc33}}}    '''use c33 so that we don't overload c18!''' [[BR]]
     362) identify the screen session which is running and reattach it [[BR]]
    37373) restart czarpoll and then[[BR]]
    38384) '''detach from the screen session'''[[BR]]
     
    4040The sequence of commands should therefore be something like:
    4141
    42 1) ssh as ipp on {{{ippc11}}}
    43 {{{
    44 yourhost:~$ ssh ipp@ippc11
     421) ssh as ipp on {{{ippc33}}}
     43{{{
     44yourhost:~$ ssh ipp@ippc33
    4545}}}
    4646
    47472) Identify the screen session which is running and reattach it
    4848{{{
    49 ipp@ippc11:/home/panstarrs/ipp>screen -list
     49ipp@ippc33:/home/panstarrs/ipp>screen -list
    5050There is a screen on:
    5151        18965.CzarPoll  (Attached)
    52521 Socket in /var/run/screen/S-ipp.
    5353
    54 ipp@ippc11:/home/panstarrs/ipp>screen -r 18965.CzarPoll
     54ipp@ippc33:/home/panstarrs/ipp>screen -r 18965.CzarPoll
    5555
    5656(you see then the last lines of the display, e.g.:
     
    67673) Restart czarpoll from {{{~ipp/src/ippMonitor/czartool}}}
    6868{{{
    69 ipp@ippc11:/home/panstarrs/ipp/src/ippMonitor/czartool>./czarpoll.pl
     69ipp@ippc33:/home/panstarrs/ipp/src/ippMonitor/czartool>./czarpoll.pl
    7070}}}
    7171You will see something like:
     
    8686{{{
    8787[detached]
    88 ipp@ippc11:/home/panstarrs/ipp>
     88ipp@ippc33:/home/panstarrs/ipp>
    8989}}}
    9090
     
    93935. do the same for roboczar in a screen session (from {{{~ipp/src/ippMonitor/czartool}}}, using hardcoded /data/ippc18.0 can be problem when ippc19.0 is now home )
    9494{{{
    95 ipp@ippc11:/home/panstarrs/ipp/src/ippMonitor/czartool>./roboczar.pl
     95ipp@ippc33:/home/panstarrs/ipp/src/ippMonitor/czartool>./roboczar.pl
    9696}}}
    9797