Project

General

Profile

DAQOperationsTools Wiki

Overview

The DAQOperationsTools contains utilities for setting up and operating the DAQ system.

Structure

scripts

This directory contains shell scripts used for starting and stopping applications, starting and stopping DDS servers, setting up database variables, and various ad hoc utilities.

See here for more detail on scripts.

cxx

The only non-test software in the repository is the DistributedSystem.cc program, which is obsolete.

setup

The setup directory contains sub-directories for each detector, each with 3 scripts. The 2 most important are
  • dds_setup.sh and
  • novadaq_setup.sh (which calls dds_setup.sh)

novadaq_setup.sh also sets up configurations outside the SRT system, executes all needed setup for the SRT environment (base and test releases), sets all DAQ-related environmental variables, and creates log directories if needed.

Two shell scripts exist in setup:
  • moveSetupLinks.sh will move links (see below) to point to a new instance of DAQOperationsTools, when changing test releases
  • grepInPath.sh provides operations (pre-SRT) configuration information. It searches the configuration directory in a pre-defined order and returns the first value matching a key in the daq-operations.cfg configuration file.

Link Directory

A directory named DAQOperationsTools exists outside any test release to be used in setting up the DAQ environment, before test or base releases are selected. By convention, it currently exists in @/home/novadaq/DAQOperationsTools." This directory only has links:

  • bin - points to a "x86" (as opposed to PPC), non-optomized bin directory, usually in a test release. It is used for remote application start commands that need to be found before the DAQ environment is set up. (Note that since the application start commands execute their own DAQ environment setup, running the "x86" version on PPC is fine.)
  • dds_setup.sh
  • novadaq_setup.sh
  • user_setup.sh - each point to their namesakes in DAQOperationsTools/setup/<Detector Environment>/ in an SRT release, usually the current test release.