Chapter 4. NSCLDAQ Manager subsystem (new in 12.0)

As the FRIB begins operating, security concerns are moving the laboratory away from employing a single experiment account from which an experiment is run. Instead, with the NSCLDAQ manager subystem, the persistent software in an experiment can be run by a single account but controlled by users logged in to accounts.

This chapter provides a description of this facility and how to use it. The chapter references man pages and reference information where appropriate.

The sections in the chapter are organized as follows:

4.1. Introduction

The NSCLDAQ experiment manager, or manager as we'll call it in the remainder of this document, is a persistent server that can manage the persistent software in an experiment. Below, the term advertised, in the context of network services means that these services are registered with the NSCLDAQ port manager.

The manager uses a configuration database, stored in an SQLite3 database file to drive its actions. It provides an advertised REST interface that allows local or remote clients to interact with it at run time. It also provides an advertised port which allows clients to monitor the output and error streams of programs run by the manager.

The use of ports advertised with the port manager allows the manager to be identified by clients by supplying the host in which the manager is running and the user that started it.

In an experiment that uses the manager, the life cycle of its use looks a bit like this:

Note that the manager has been written to understand singularity containers and to start them as needed to run persistent software within containers. More about that in Managed Objects and Configuration.