Shutdown and Restart of the DIRAC Server from DIRAC CLI
To shut down the DIRAC server,
Proceed as follows:
1. Shut down the DIRAC server from the DIRAC CLI. All DIRAC processes are stopped:
dirac> dirac-shutdown
OK
dirac>
2. Check the DIRAC server status:
dirac> status
Process name: diracserverd
Process Id: 0
Process state: inactive
Process substate: dead
Running since: Fri 2021-05-28 14:08:01 CEST
Server status: inactive
QRNG source: unknown
QRNG status: unknown
Result: You have successfully shut down the DIRAC server.
End of instruction
To restart the DIRAC server,
Proceed as follows:
1. Restart the DIRAC server from the DIRAC CLI. All DIRAC processes are stopped (if running) and restarted:
dirac> dirac-restart
Restarting the Dirac server will take a few moments.
............
OK
dirac>
2. Check the DIRAC server status:
dirac> status
Process name: diracserverd
Process Id: 552325
Process state: active
Process substate: running
Running since: Wed 2022-08-03 11:55:37 CEST
Server status: active
QRNG source: Quantis (S/N not available)
QRNG status: OK
Result: You have successfully restarted the DIRAC server.
End of instruction