Weather Data Loading Installation and Configuration

Introduction

A CyFlex system at CTC monitors ambient weather data. This data is accumulated once a day and loading into an Oracle database. There is an application which runs on this CyFlex system to load the data file produced into the database. This documents setting up this data loading process.

Assumptions

Installation

Installation is done through an RPM file. Once the file has been obtained it may be installed by logging into the "root" account and using the yum command.

Once the RPM file has been installed the configuration file needs to be manually installed.

cp /cyflex/specs.def/samples/extdatman.cummins.weather /specs

A directory structure needs to be created. The default installation assumes that the following directory structure has been created.

   /data/weather/complete/TC
   /data/weather/hold/TC
   /data/weather/ready/TC
where "TC" is the test cell name/number where this process is being run.

Operations

There are 2 commands installed associated with this processing. "start_weather_loading" will start the process into operation. "stop_weather_loading" will terminate the running process. The processing is configured with a long sleep time waiting for a data file to be processed to show up since data only arrives once a day. The time it takes to stop this process gracefully is a function of the sleep time and could take awhile. Manually killing the process is acceptable if faster termination is needed.

If it's necessary to change any configuration parameters the configuration file is located in /specs/extdatman.cummins.weather.

Periodically someone should check the directory /data/weather/hold/TC where "TC" is the test cell name/number where this process runs. This directory will contain any error files and error messages. If nothing is showing up here the process is running successfully.

Likewise someone should check the files /data/errors/extdatman.weather.DATE and /data/errors/extdatman.weather.errs.DATE where "DATE" is the data the process was last started. The first file is a simple log of the actions performed. The second contains any error message associated with this processing.