Startup / Shutdown of Deephaven processes

All Deephaven processes are started and stopped with Monit. Monit is a utility for managing and monitoring processes, programs, files, directories and filesystems on a Unix system. (Refer to https://mmonit.com/monit for more information.)

Monit service

The Monit service itself can be checked with the following command:

sudo service status monit

If Monit is not running, it can be started with the following command:

sudo systemctl start monit

To ensure Monit starts up whenever the system restarts, use the following command:

sudo systemctl enable monit

All Monit configuration files for the Deephaven processes are located in:

/etc/sysconfig/illumon.d/monit

Deephaven services

If any of the Deephaven processes terminates unexpectedly, Monit will restart the process automatically.

You can check which processes are running with the following Monit command:

sudo monit summary

You can check the status of all processes with the following Monit command:

sudo monit status

You can check the status of individual processes with the following Monit command:

sudo monit status <process name>

For example:

sudo monit status iris_controller

Starting and stopping Deephaven services

If a configuration file has been updated, the associated Deephaven processes will typically need to be restarted for the changes to take effect. One exception to this is the Deephaven Controller Process, which allows various properties to be edited without needing a restart.

When a configuration file has been updated that requires a restart of the associated Deephaven processes, use the following commands.

To stop all the configured Deephaven processes:

sudo monit stop all

Alternatively, stop and start individual Deephaven processes:

sudo monit stop <process name>
sudo monit start <process name>

For example:

sudo monit stop authentication_server
sudo monit start authentication_server