Changes between Version 6 and Version 7 of AlternateDistributionClient
- Timestamp:
- Aug 12, 2009, 11:22:40 AM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AlternateDistributionClient
v6 v7 12 12 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 . 13 13 1. Copy update_mirror.py and parse_config.py into that directory. 14 1. Customize update_mirror.py for your site, by editing itand 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: 15 15 a. set mirrorRootDir to the root directory of your mirror, presumably the directory created in step (1) above. 16 16 a. set desiredProductList to contain a list of the data products you want to mirror. … … 18 18 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. 19 19 20 As an example, the customized variables used on Odyssey are currently: 21 {{{ 22 topURI= "http://alala2.ifa.hawaii.edu/ipp049/ds" 23 mirrorRootDir= "/panstarrs/data/MIRROR" 24 desiredProductList= ['md-all-rel-200907'] 25 hiddenProductList= ['md-all-rel-200907', 26 'durham-200907', 27 'qub-200907', 28 'edb-200907', 29 'jhu-200907', 30 'threepi-all-200908'] 31 }}} 32
