Hitachi Energy
Verification
Before starting the commissioning of the DIRAC server, check the correct version of the installed DIRAC server and the status of the DIRAC server modules.
Verify the DIRAC server status
Check the DIRAC server version and status
Proceed as follows: 
1. On the DIRAC server, open a terminal as user ‘dirac’, or open a terminal and switch to user ‘dirac’:
su dirac
Password:
 
2. Start the DIRAC target services by entering the command:
dirac> diracstart
 Starting DIRAC target services
 
Done.
 
3. Start the CLI:
/opt/dirac/bin/Cli.sh
or just
Cli.sh
4. Check the DIRAC server version. If the “version” or “status” commands return an error message like “Connection Error: Unable to connect to the server”, restart the DIRAC server via the command “dirac-restart”. The version should match the installed server version R18:
dirac> version
Cli:    18.0.0
Server: 18.0.0
 
5. Check the DIRAC server status. All modules should be “Active”:
dirac> status
 Process name:     diracserverd
 Process Id: 18679
 Process state: active
 Process substate: running
 Running since:    Wed 2024-08-03 11:55:37 CEST
 Server status: active
 QRNG source: Quantis
 QRNG status: OK
6. Verify that the QRNG is able to generate random numbers by using the --generate command.
7. Exit from the CLI by entering the command:
dirac> exit
Result: The DIRAC server version and status are verified.
End of instruction 
For commissioning and operation of the DIRAC server refer to [1KHW029082] User Manual “DIRAC Server Operation”.