IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links
wiki:RunningTheDistributionClient

Version 5 (modified by eugene, 17 years ago) ( diff )

--

Setting up and Running the IPP Data Distribution Client

(back to IPP for PS1; back to GPC1 Data Distribution)

This page shows how to set up and run the IPP Data Distribution Client. In this example, a working simtest distribution set may be downloaded from the IfA IPP installation.

  • Create an empty database in mysql with some name. This example uses rc_test.
  • Populate the tables: pxadmin -dbname rc_test -create-mirror
  • Add the source (a reference to our data store) to the database
    receivetool -dbname rc_test -definesource    \
       -source  http://alala2.ifa.hawaii.edu/ipp025/ds  \
       -product dist0 \
       -workdir $WORKDIR \
       -comment 'simtest data source'
    

Where $WORKDIR is the top level directory for the data to be received

  • Start up pantasks and issue the following comands
  input pantasks.pro
  input receive.pro
  add.database rc_test
  controller host add somehost
  run

replacing somehost with the name of the hosts to run the pantasks jobs.

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).

Multiple hosts may be specified as usual.

Note: See TracWiki for help on using the wiki.