IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changes between Initial Version and Version 1 of IppDownloadData


Ignore:
Timestamp:
Nov 6, 2009, 2:17:06 PM (17 years ago)
Author:
dravg.uk.edinburgh
Comment:

First version, copied from the ROE's internal tWiki

Legend:

Unmodified
Added
Removed
Modified
  • IppDownloadData

    v1 v1  
     1Up: [wiki:IPPatTheROE IPP at the ROE]
     2
     3= Downloading Data with IPP =
     4
     5Ultimately, at the PS1 data distribution centre, there will be a data storage area allocated for us. This storage area will be populated (via symbolic links) with the data we require for our analysis. Bill Sweeney is in charge of the data distribution.
     6
     7On eday, we will maintain a mirror of the data in the data storage area.
     8
     9But first, let's just learn how to set up basic downloads of data products.
     10
     11Much of this follows: http://svn.pan-starrs.ifa.hawaii.edu/trac/ipp/wiki/RunningTheDistributionClient which, except for the links, is pretty much dead on.
     12
     13== Setting up a local storage area and associated data base ==
     14
     15Decide on a place to store the data
     16    * `set WORKDIR=/disk1/ps1/ert/IPP/PS1data`
     17    * `mkdir $WORKDIR`
     18
     19Initialise the data base to hold the data metadata
     20    * `$SRCDIR/trunk/ippMonitor/scripts/dbadmin project localhost ipp PS1data`
     21    * `pxadmin -dbname PS1data -create-mirror`
     22    * `receivetool -dbname PS1data -definesource -source http://datastore.ipp.ifa.hawaii.edu -product ps1-200910-2 -workdir $WORKDIR -comment "PS1 Data (local mirror)"`
     23
     24Note: product `ps1-200910-2` exists, but contains far more than we want.  Use it as a test point from which to download, but once downloading is shown to be working, cancel the job.
     25
     26== Ensure you can SSH to your local client ==
     27
     28The `pantasks` controller needs to be able to `ssh` login-lessly to all nodes capable of processing data, ''including the local node''.
     29
     30Ensure it works.
     31    * `ssh localhost`
     32    * `ssh hostname`
     33
     34SSH'ing to the local host is particularly problematic on systems with shared home directories (like the IfA) where the `localhost` entry in `~/.ssh/known_hosts` can correspond to any machine on the network. It may need to be edited out.
     35
     36== Start download using `pantasks` ==
     37
     38Start `pantasks` then issue the following commands
     39    * `module pantasks.pro`
     40    * `module receive.pro`
     41    * `add.database PS1data`
     42    * `controller host add localhost`
     43    * `run`
     44
     45For interest's sake, outside of `pantasks` you can examine info about the data base with:
     46    * `receivetool -dbname PS1data -list`
     47
     48-- EricTittley - 2009-11-06