Rocket I
S
D
A
T

Page maintained by
Reine Gill

Setting up ISDAT to read CSDS data

Currently the ISDAT Csds server module does not follow the usual ISDAT server module configuration procedure. The normal procedure is that one edits the setting in the isdat.server file. Instead, in the case the Csds server, environment variables are used to tell the server where to look for CSDS data. The following explains the steps involved in setting up your system to run the Csds module under ISDAT.
  1. Create a directory to contain the CSDS data, e.g. /data/CSDS/
  2. and upload the CDF data into this directory.
  3. Create auxilary directories which ISDAT will use to make efficient access to the locally stored CSDS data. E.g. /data/CSDSMAP/map/ and /data/CSDSMAP/qty/ These directories are initially empty.
  4. Setup the necessary environment variables. An example setting of the environment variables is found in this file. It is also availeble in the Isdat CVS under the scripts folder.
  5. Startup ISDAT as usual. (run dbh etc.) You should now see the CSDS data under the ISDAT "project" CSDS_PP or CSDS_SP.
NOTE

The names of the CSDS files should be fully CAPITALIZED!

Useful tolls when working with CSDS files.

    All these utilitys are available in the Isdat CVS distribution.

  • $ISDAT_HOME/scripts/csdsenv
    The above file to edit in order to configure the CSDS server module.

  • $ISDAT_HOME/scripts/low2up
    Shell script to recursively convert lower case file and directory names to uppercase names.
    $ISDAT_HOME/scripts/low2up /data/cluster/CSDS
    Will convert all file and directory names in /data/cluster/CSDS to upper case. Useful if you have obtained a full CSDS file tree. But as often is the case, in lower case...

  • $ISDAT_HOME/util/makeCSDStree.pl
    Unpacks and converts the downloaded zip files to a working Isdat CSDS file tree.
    $ISDAT_HOME/util/makeCSDStree.pl /data/tmp
    Will unpack all zipfiles in that directory and move all CSDS files in /data/tmp to its correct places in the CSDS file tree. In order to run makeCSDStree.pl you need to set CSDS up in a correct way. (That is to edit and source the my_isdat_profile script as well as the csdsenv script.)

  • $ISDAT_HOME/util/makeCSDScontents.pl
    This script gives you an overview of what you got in your CSDS file tree. It produces a file containing an asci table ower all files and their versions. The Cluster data centers have similar files describing their contents. Then it is just to compare to se if you are up to date.
    $ISDAT_HOME/util/makeCSDScontents.pl --file /var/log/CSDSstatus
    Will produce the asci file /var/log/CSDSstatus.
    $ISDAT_HOME/util/makeCSDScontents.pl --file /home/httpd/html/CSDSstatus.html --html
    Will produce the file /home/httpd/html/CSDSstatus.html containing some extra information and html code. makeCSDScontents.pl also needs you to set up csds in a correct way.