IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of RunningTheDistributionClient


Ignore:
Timestamp:
Jul 8, 2009, 4:59:43 PM (17 years ago)
Author:
eugene
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • RunningTheDistributionClient

    v1 v1  
     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{{{
     13receivetool -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
     20Where {{{$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
     32replacing {{{somehost}}} with the name of the hosts to run the pantasks jobs.
     33Note: 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
     35Multiple hosts may be specified as usual.