... | @@ -30,11 +30,11 @@ That would then start the `rts-module@h1lsc.service` to load the kernel module, |
... | @@ -30,11 +30,11 @@ That would then start the `rts-module@h1lsc.service` to load the kernel module, |
|
|
|
|
|
The DAQD components are managed directly with systemd via `systemctl`. Here are the various available services.
|
|
The DAQD components are managed directly with systemd via `systemctl`. Here are the various available services.
|
|
|
|
|
|
* [`rts-daqd.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-daqd@.service): the main DAQD service
|
|
* [`rts-daqd.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-daqd.service): the main DAQD service
|
|
* [`rts-local_dc.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-local_dc@.service): the local data concentrator
|
|
* [`rts-local_dc.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-local_dc.service): the local data concentrator
|
|
* [`rts-nds.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-nds@.service): back-end NDS1 data source
|
|
* [`rts-nds.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-nds.service): back-end NDS1 data source
|
|
* [`rts-edc.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-edc@.service): stand-alone EPICS data recorder
|
|
* [`rts-edc.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-edc.service): stand-alone EPICS data recorder
|
|
* [`rts-run_number.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-run_number@.service): run number server
|
|
* [`rts-run_number.service`](https://git.ligo.org/cds/advligorts/-/blob/master/support/systemd/rts-run_number.service): run number server
|
|
|
|
|
|
The services are controlled via `systemctl`:
|
|
The services are controlled via `systemctl`:
|
|
```shell
|
|
```shell
|
... | @@ -43,11 +43,15 @@ $ sudo systemctl start rts-daqd.service |
... | @@ -43,11 +43,15 @@ $ sudo systemctl start rts-daqd.service |
|
$ sudo systemctl stop rts-daqd.service
|
|
$ sudo systemctl stop rts-daqd.service
|
|
```
|
|
```
|
|
|
|
|
|
The various distributed front end transport mechanisms (available in separate `advligorts-transport-*` packages) also include service units:
|
|
The various distributed front end transport mechanisms (available in separate `advligorts-transport-*` packages) also include service units. The same package holds both the 'xmit' and 'recv' services and would be installed on both the front end and the data concentrator. On the front end, to enable and start the 'cps' transport sender:
|
|
```shell
|
|
```shell
|
|
$ sudo systemctl enable --now rts-zmq_xmit.service
|
|
$ sudo systemctl enable --now rts-cps_xmit.service
|
|
|
|
```
|
|
|
|
On the data concentrator run:
|
|
|
|
```shell
|
|
|
|
$ sudo systemctl enable --now rts-cps_recv.service
|
|
```
|
|
```
|
|
|
|
|
|
## config for systemd services
|
|
## config for systemd services
|
|
|
|
|
|
The main advligorts config location is the `/etc/advligorts/env` environment file. |
|
The main advligorts config location is the `/etc/advligorts/env` environment file. This defines environment variables that are picked up and used in the various systemd units. |