You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 5 Next »

Setting up a proper runtime environment for LOUI Products requires the following:

  • Network connection to a running instance of ActiveMQ broker
  • directory with write access for the log files
  • Proper config files

ActiveMQ Broker

The production instance of the ActiveMQ broker for DCT runs on joe.lowell.edu. It should only be connected to while trying to operate a real system at DCT. For testing one should try to connect to sabzi.lowell.edu.

The connection URL for the ActiveMQ Broker is specified in jndi.properties file for the appropriate product. Please refer to the section below for more details.

Log Files

A LOUI product will write to one or more log files during the operation. The location and level of logging is specified in log4j.properties file for the appropriate product. The log files are rotated automatically daily and properly labeled. The timestamp for the log statements is in UT but the log rotation happens based on local time at midnight.

Config Files

Setup

Application

Configuration Path

Required Files

Log File Path

ActiveMQ TCS

/opt/LOUI/activemqTCS/

instrumentConfiguration.xml
jndi.properties

?

joe

/opt/LOUI/joe/

instrumentConfiguration.xml
jndi.properties
log4j.properties

/var/log/LOUI/joe/

joeClient

/opt/LOUI/joe/

instrumentConfiguration.xml
jndi.properties
log4j.properties

/var/log/LOUI/joe/

guider (gcs)

/opt/LOUI/gwaves/

instrumentConfiguration.xml
jndi.properties
CameraConfiguration.xml

?

wavefront sensor (wfs)

/opt/LOUI/gwaves/

instrumentConfiguration.xml
jndi.properties
CameraConfiguration.xml

?

hipoBlue

/opt/LOUI/hipo/

instrumentConfiguration.xml
jndi.properties
CameraConfiguration.xml

?

hipoRed

/opt/LOUI/hipo/

instrumentConfiguration.xml
jndi.properties
CameraConfiguration.xml

?

nasa42

/opt/LOUI/nasa42/

instrumentConfiguration.xml
jndi.properties
CameraConfiguration.xml

?

Easiest way to set up the configuration environment is to checkout the whole tree structure.

  • Create /opt/LOUI/ directory for storing the configuration files
  • Check out the whole tree for the config files
    $ cd /opt/LOUI
    $ svn checkout svn://jumar.lowell.edu/LOUI_Configuration/trunk/prod .
    
  • Edit the jndi.properties file for the appropriate applications to point to the right machine and right broker.
  • No labels