| | 1 | Example of setting up the distribution system to distribute data with a new dist_group to a new |
| | 2 | data store product. (The scripts may be found the ipp tools directory.) |
| | 3 | |
| | 4 | First make the datastore product and add it to the table rcDestination. |
| | 5 | |
| | 6 | This script runs dsprodtool and disttool -definedestination to create a new data store product. |
| | 7 | |
| | 8 | |
| | 9 | {{{ |
| | 10 | perl ~/ipp/tools/makedistdest --prod_name photfest-2010-09 |
| | 11 | }}} |
| | 12 | |
| | 13 | |
| | 14 | We have a new dist_group so we need to create distribution targets. |
| | 15 | |
| | 16 | In the tools directory there is a script that easily runs the various disttool commands. |
| | 17 | By default it creates 'full' targets for all 5 filters |
| | 18 | |
| | 19 | |
| | 20 | {{{ |
| | 21 | perl ~/ipp/tools/definetargets --stage stack --dist_group MD08.photfest.20100923 |
| | 22 | perl ~/ipp/tools/definetargets --stage diff --dist_group MD08.photfest.20100923 |
| | 23 | |
| | 24 | }}} |
| | 25 | |
| | 26 | Now we need to specify that our new data store product has an interest in these new targets |
| | 27 | |
| | 28 | |
| | 29 | {{{ |
| | 30 | disttool -defineinterest -dest_name photfest-2010-09 -dist_group MD08.photfest.20100923 -stage stack |
| | 31 | disttool -defineinterest -dest_name photfest-2010-09 -dist_group MD08.photfest.20100923 -stage diff |
| | 32 | |
| | 33 | }}} |
| | 34 | |
| | 35 | Finally go and add the label in stdscience pantasks and the distribution pantasks label list |
| | 36 | |
| | 37 | |
| | 38 | {{{ |
| | 39 | survey.add.dist MD08.photfest.20100923 |
| | 40 | |
| | 41 | survey.add.label MD08.photfest.20100923 |
| | 42 | }}} |