IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 9 and Version 10 of AlternateDistributionClient


Ignore:
Timestamp:
Aug 12, 2009, 11:40:45 AM (17 years ago)
Author:
welling
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • AlternateDistributionClient

    v9 v10  
    4545When it finishes working through the queue it updates its status files and exits.  '''Note: if you try to kill it with SIGTERM (the normal kill signal) it will finish processing the currently in-progress filesets before quitting.  This can take a while, but it's worth it in terms of cleanup.''' If you need to stop it immediately kill it with SIGKILL (''kill -9'').  You are then responsible for cleanup.
    4646
     47== Command Line Options ==
     48
     49This is the result of doing './update_mirror.py --help':
     50{{{
     51    usage: update_mirror.py [-v][-d][--mirrorroot RootDir]
     52                [--statusfile Filename][--failurefile Filename]
     53                [--pipecrash Filename][--logfile Filename]
     54                [--last LastFilesetId]
     55
     56          where:
     57          -v requests verbose output
     58          -d requests debugging output
     59          --mirrorroot specifies the directory to store the incoming
     60            distribution (default /panstarrs/data/MIRROR)
     61          --statusfile specifies the name of the .csv file storing
     62            information about the last downloaded fileset in each
     63            distribution (default product_status.csv)
     64          --failurefile specifies the name of the .csv file storing
     65            information about filesets for which downloading has failed
     66            (default download_failures.csv)
     67          --pipecrash specifies the name of the Python .pkl file in which
     68            the contents of the working download queue are to be stored
     69            in case of an interrupt (default update_mirror_leftover_work.pkl)
     70          --logfile specifies the name of the log (default update_mirror.log)
     71          --last specifies a filesetID at which to stop downloading
     72            (default None)
     73
     74    NOTE: if you 'kill' this script (with SIGTERM, the default) it will
     75    attempt to clean up and take good notes before it dies.  This can
     76    take a while as the worker threads finish downloading.  If you must
     77    kill it immediately, use 'kill -9'.
     78   
     79}}}