6.22.1 Environment variables for commands that are executed from HA Monitor
The following table lists the environment variables that are applied when a user-created command is executed.
No. |
Command |
Environment variable |
---|---|---|
1 |
User command (changing the status of HA Monitor) |
Starting HA Monitor (monstart command)
|
Starting HA Monitor (automatic startup)
|
||
2 |
User command (changing the status of the server) |
Execution environment when HA Monitor is started (same as item 1) |
3 |
Server start command |
Execution environment when HA Monitor is started (same as item 1) Note that the environment of the user who executed the monbegin command applies in the following cases:
|
4 |
Server termination command |
Execution environment when HA Monitor is started (same as item 1) |
5 |
Server monitoring command |
Execution environment when HA Monitor is started (same as item 1) |
The environment variables that are applied depend on how HA Monitor is started and when the command is executed. Therefore, specify the necessary operating environment variables in the command.