Changes between Version 2 and Version 3 of AlternateDistClientQuickstart
- Timestamp:
- Feb 26, 2010, 1:18:36 PM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
AlternateDistClientQuickstart
v2 v3 1 = Quick-Start Guide for update_mirror.py = 2 1 3 This page describes 'update_mirror.py', which is an alternative datastore download mechanism (in contrast to the official IPP PanTasks-based mechanism). This is just the quick start; the full instructions are on the wiki page [wiki:AlternateDistributionClient An Alternate Data Distribution Client] 2 4 3 5 To get started using update-mirror, take the following steps: 4 6 5 -Save update_mirror.py and parse_config.py somewhere in your PATH. I keep6 my copy in ~/bin, since I added my ~/bin directory to my PATH long ago.7 * Save update_mirror.py and parse_config.py somewhere in your PATH. I keep 8 my copy in ~/bin, since I added my ~/bin directory to my PATH long ago. 7 9 8 -Edit update_mirror.py to set two things:10 * Edit update_mirror.py to set two things: 9 11 10 1 )Change mirrorRootDir to be the path to the directory where12 1. Change mirrorRootDir to be the path to the directory where 11 13 you want to keep the downloaded tree of data files. 12 2)Change desiredProductList to be a list of the data distributions14 1. Change desiredProductList to be a list of the data distributions 13 15 you want. For example, if you want medium deep image files you 14 16 want ps1-md; if you only want medium deep catalogs you want ps1-md-cat. 15 17 16 -Run it. A good format for the command is:18 * Run it. A good format for the command is: 17 19 18 20 nice nohup update_mirror.py >& update_mirror_stdout.log &
