To create a system variable for the Axxon One server in the failover mode in Linux OS, do the following:
- Stop the required server (see Suspending a Server within a cluster).
- Go to the /etc/AxxonSoft directory.
- Create a backup of the configuration:
cp axxon-one.conf axxon-one.conf_bak |
- Open the server configuration file for editing:
- Add the required variable as the first line in the configuration file:
export %system_variable=value% |
For example, a variable to enable or disable the observer mode for the self-diagnostics service:
export DRMONKEY_OBSERVER_MODE=0 |
where 0—the observer mode is off, 1—the observer mode is on. - After you make the changes and save the configuration file, start the server.
As a result, the system variable is set permanently for the Axxon One server in the failover mode.