You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

To stop and start the pipeline automatically (for a planned outage):

*First of all, login as glast to some interactive machine and go to the pipeline directory.

$ ssh glast@noric
$ cd ~glast/pipeline-II/prod/
  • create and edit a shutdown_schedule_date file:
    $ date > shutdown_schedule_20100909
    $ vim shutdown_schedule_20100909
    
  • the shutdown_schedule_date file should look something like this (the start time should be some 10 minutes before the beginning of the outage, the stop time should be a few hours after the expected end of the outage); important: leave a blank line at the end of the file:
    Thu Sep  9 09:50:00 PDT 2010
    Thu Sep  9 13:50:00 PDT 2010
    
    
  • create a symbolic link for shutdown_schedule_date as shutdown_schedule:
    ln -s shutdown_schedule_20100909 shutdown_schedule
    
  • the pipeline should shutdown automagically a few minutes after the start time in the shutdown_schedule file (there is a cronjob involved, plus it can take a couple of minutes for it to really shutdown)
  • to restart the pipeline, just remove the symbolic link (leaving the shutdown_schedule_date file for future reference):
    rm shutdown_schedule
    
  • the pipeline should go back up automagically in a few minutes
  • to check the status of the pipeline server, you can use the ping function of the pipeline:
    glast@noric09 $ ./pipeline ping
    Pinged server version 1.3.5 running on glastlnx12.slac.stanford.edu since 2010-09-07 16:57:28.012
    
  • No labels