IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Version 6 and Version 7 of AlternateDistributionClient


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

--

Legend:

Unmodified
Added
Removed
Modified
  • AlternateDistributionClient

    v6 v7  
    1212 1. Create an empty directory on the filesystem where you want to mirror the data distribution.  On Odyssey the corresponding directory is /n/panstarrs/data/MIRROR .
    1313 1. Copy update_mirror.py and parse_config.py into that directory.
    14  1. Customize update_mirror.py for your site, by editing it and making the following changes:
     14 1. Customize update_mirror.py for your site, by editing the variables at the top of the file and making the following changes:
    1515   a. set mirrorRootDir to the root directory of your mirror, presumably the directory created in step (1) above.
    1616   a. set desiredProductList to contain a list of the data products you want to mirror.
     
    1818   a. Possibly modify hiddenProductList to include the names of new data products not visible from the top distribution layer.  This bit is a little cryptic- the original spec for the distribution mechanism said that the data products would be visible from the top level directory of the distribution server, but this has been changed for security reasons.  New products are now announced on the IPP mailing lists and must be edited into hiddenProductList manually.
    1919
     20As an example, the customized variables used on Odyssey are currently:
     21{{{
     22topURI= "http://alala2.ifa.hawaii.edu/ipp049/ds"
     23mirrorRootDir= "/panstarrs/data/MIRROR"
     24desiredProductList= ['md-all-rel-200907']
     25hiddenProductList= ['md-all-rel-200907',
     26                    'durham-200907',
     27                    'qub-200907',
     28                    'edb-200907',
     29                    'jhu-200907',
     30                    'threepi-all-200908']
     31}}}
     32