Deephaven PID files
Deephaven uses standard Linux PID files, which are stored by default in the directory /etc/deephaven/run.
Changing PID File Directory
The following procedures explains how to change the PID file location. The examples assume that the new directory is /etc/deephaven/pidfileDir, so adjust the commands accordingly for the desired directory.
Stop all the Deephaven processes.
If necessary, create the new pidfile directory and ensure that the new pidfile directory is writable by irisadmin:dbmergegrp.
Update the host configuration to specify the new pid file directory.
Add an environment variable.
The rest of the steps will be performed as irisadmin.
Update the monit and CUS files to specify the new location. Some of these files are links (the auth and conf ones), and any substitute commands must ensure that the backing files are updated, not new files created in the local directory, or upgrades will remove the changes. For example:
Update the properties to:
Add:
Reload monit’s configuration and restart it.