GlideinWMS The Glidein-based Workflow Management System

Search Results

WMS Factory Design

Factory Internals

Program flow

The main tasks of the Factory Daemon are the startup up the Entry Daemons and the aggregation of statistics from the entries.
See picture below for an overview.

The only non trivial operation in the statistics aggregation. The Factory Daemon reads the XML files produced by the Factory Daemons, aggregates them, and writes out an aggregate XML file. It also updates the RRD files used to keep the history and creates the rrdtool graphs and HTML pages for human consumption.
See picture below for an overview.

Source code distribution

The Factory Daemon is implemented as a series of Python scripts, and it does not need to be pre-compiled.

The code is spread over several Python modules, some specific to the factory other shared between different parts of the glideinWMS. There are also an external dependency on the rrdtool Python libraries.

The picture below shows the dependency tree.

glideFactory.py is executable.

The GlideinWMS common libraries are in glideinWMS/lib directory.

Configuration files

The Factory daemon reads a single configuration file:

glidein.descript

It is located in the root of the factory configuration tree.

Only two elements of this configuration file are used:

  • Entries - The list of entries, used to launch the Entry Daemons.
  • LoopDelay - How long should it sleep between iterations.

Warning: The configuration file should never be changed by hand. It is generated and maintained by a dedicated tool.