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

Version 7 (modified by Mark Huber, 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:
    dbadmin project somehost someaccount 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  (is input synonymous to module?)
  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.

Summary information such as faults and copy/extract times can be found in the receiveResult table of the mySQL database, file names and byte size (and other information) in receiveFile:

  select * from receiveResult where fault>0;
  select * from receiveResult;

Example list of files successfully downloaded (fault=0), size, download time, and extraction time:

select receiveResult.file_id,receiveFile.file,receiveResult.dtime_copy,receiveRe
sult.dtime_extract,receiveFile.bytes from receiveResult,receiveFile where receiv
eResult.fault=0 and receiveResult.file_id=receiveFile.file_id;

Is/will there be functionality in ippMonitor to access this information?

Note: See TracWiki for help on using the wiki.