Setting Up a General Station Key Value Collection Server

DRAFT Level

This setup will get data into the shared queue, the stacker server will make data products (netCDF, sql).  This shared queue approach allows any mode to completely fail(TCP, DNS, Memory, CPU) without impacting any other acquisition mode that does not have the same fault. Also it increases the distributivity of the process.

Background Sites:
These sites are where I have pulled together the install information.
http://netcdf4-python.googlecode.com/svn/trunk/docs/netCDF4-module.html
http://docs.opendap.org/index.php/UserGuideServer#The_OPeNDAP_Server

Required External Dependencies
In order to get the basic OpenDAP server running, you will need:

-Tomcat 6.x
apt-get install tomcat6 libcurl libreadline libxml2

-The HDF5 C library version 1.8.4-patch1 or higher (1.8.8 or higher recommended) from
ftp://ftp.hdfgroup.org/HDF5/current/src. Be sure to build with ‘./configure –enable-hl –enable-shared’.

– The netCDF-4 C library from ftp://ftp.unidata.ucar.edu/pub/netcdf. Version 4.1.1 or higher is required (4.2 or higher recommended).
Be sure to build with ‘./configure –enable-netcdf-4 –enable-shared –enable-dap’.

To run the Hyrax server, you will need to download and install the following (from source or binary):
http://www.opendap.org/download/hyrax/1.8#get_it (source Files)

-libdap
-BES
-General Purpose Handlers (aka dap-server)
-One or more data handlers depending on which data you wish to serve
( These all follow, ./configure; make; make install )
– NetCDF Handler
– Fits Handler
-OLFS (which is a Java binary and runs on any computer with Java 1.6)
http://www.opendap.org/pub/olfs/olfs-1.9.5-webapp.tgz
Unpack using ‘tar -xvf filename’ and follow the instructions in the README file.
default: Typically just put *.war in /var/lib/tomcat6/webapps and restart tomcat

Edit the config files
http://docs.opendap.org/index.php/Hyrax_-_BES_Configuration
– start cmd: besctl start
http://docs.opendap.org/index.php/Hyrax_-_OLFS_Configuration
– start cmd: service tomcat start/restart

Install LDM, Perl, RabbitMQ, Pika

SVN Checkout
https://repo.anl-external.org/repos/forest/JBittner/
In this folder are the python scripts and the configuration files for ldm.

Perl
-> apt-get cpanm
cpanm install Ham::APRS::FAP
cpanm install Hash::Flatten

Startup
service rtaprs start
service rtcwop start
service rtrapid start
ldadmin start