| Version 2 (modified by , 16 years ago) ( diff ) |
|---|
Example of setting up the distribution system to distribute data with a new dist_group to a new data store product. (The scripts may be found the ipp tools directory.)
First make the datastore product and add it to the table rcDestination.
This script runs dsprodtool and disttool -definedestination to create a new data store product.
perl ~/ipp/tools/makedistdest --prod_name photfest-2010-09
We have a new dist_group so we need to create distribution targets.
In the tools directory there is a script that easily runs the various disttool commands. By default it creates 'full' targets for all 5 filters
perl ~/ipp/tools/definetargets --stage stack --dist_group MD08.photfest.20100923
perl ~/ipp/tools/definetargets --stage diff --dist_group MD08.photfest.20100923
Now we need to specify that our new data store product has an interest in these new targets
disttool -defineinterest -dest_name photfest-2010-09 -dist_group MD08.photfest.20100923 -stage stack
disttool -defineinterest -dest_name photfest-2010-09 -dist_group MD08.photfest.20100923 -stage diff
Finally go and add the label in stdscience pantasks and the distribution pantasks label list
survey.add.dist MD08.photfest.20100923
survey.add.label MD08.photfest.20100923
