Skip to content

WMAgent

ticoann edited this page May 3, 2018 · 19 revisions

The Basics

The WMAgent software is a distributed component of the production system, in a nutshell its functions are:

  • Splitting WorkQueue elements into smaller basic work units, known as jobs.
  • Creating jobs and controlling the flow of work according for the tasks defined in the workload of a request.
  • Submitting jobs to a batch system (e.g. HTCondor, LSF).
  • Tracking the submitted jobs and keeping tabs on their outcome.
  • Registering the produced data into the CMS catalogs (i.e. DBS2/3, PhEDEx).

The Databases

The WMAgent relies in two services for its operation:

  • A relational database to keep the WMAgent state, known as WMBS.
  • A non-relational database for monitoring and document storage, the current implementation uses CouchDB.

The WMComponents

The WMAgent is made up of threaded WMComponents which function independently and use WMBS and CouchDB as their sources of information, some of them interact with external services such as PhEDEx, ReqMgr, DBS, WorkQueue, or SiteDB.

Future developments

[WMAgentRefactor](WMAgent refactoring)

Clone this wiki locally