| | 1 | = Setting up and Running the IPP Data Distribution Client = |
| | 2 | |
| | 3 | (back to [wiki:IPP_for_PS1 IPP for PS1]; back to [wiki:GPC1_DataDistribution GPC1 Data Distribution]) |
| | 4 | |
| | 5 | # Build a current ipp and insure that it works by running simtest. See [wiki:IPP_Installation] and [wiki:SimtestNew]. |
| | 6 | |
| | 7 | # Create an empty database in mysql with some name. This example uses {{{rc_test}}}. |
| | 8 | |
| | 9 | # populate the tables: {{{pxadmin -dbname rc_test -create-mirror}}} |
| | 10 | |
| | 11 | # Add the source (a reference our data store) to the database |
| | 12 | {{{ |
| | 13 | receivetool -dbname rc_test -definesource \ |
| | 14 | -source http://alala2.ifa.hawaii.edu/ipp025/ds \ |
| | 15 | -product dist0 \ |
| | 16 | -workdir $WORKDIR \ |
| | 17 | -comment 'simtest data source' |
| | 18 | }}} |
| | 19 | |
| | 20 | Where {{{$WORKDIR}}} is the top level directory for the data to be received |
| | 21 | |
| | 22 | # Start up pantasks and issue the following comands |
| | 23 | |
| | 24 | {{{ |
| | 25 | input pantasks.pro |
| | 26 | input receive.pro |
| | 27 | add.database rc_test |
| | 28 | controller host add somehost |
| | 29 | run |
| | 30 | }}} |
| | 31 | |
| | 32 | replacing {{{somehost}}} with the name of the hosts to run the pantasks jobs. |
| | 33 | Note: These hosts must have internet access to make http requests to the data store and ssh must be set up to allow ssh login without supplying a password (see simtest notes). |
| | 34 | |
| | 35 | Multiple hosts may be specified as usual. |