6.19.2 Timing of user command issuance: when the HA Monitor status has changed
HA Monitor issues a user command automatically in response to a change in the server's or HA Monitor's status. There are multiple timings for status changes. HA Monitor issues a user command with the correct parameters corresponding to the timing of the status change specified in an argument. Note that HA Monitor continues its processing of the relevant host after the user command is completed.
This subsection explains the parameters that are passed from HA Monitor when a user command is to be issued based on a change in HA Monitor's status and explains the timing of user command issuance.
- Organization of this subsection
(1) Parameters that are passed based on a change in HA Monitor's status
The following table lists and describes the parameters that are passed to user commands based on a change in HA Monitor's status.
HA Monitor status |
HA Monitor status parameter |
Start and end parameters on the local host |
Remote host details parameter |
---|---|---|---|
-m |
start (start startup processing) |
-- |
|
end (terminate termination processing) |
-- |
||
-- |
-d host-name (HA Monitor on the remote host indicated as host-name has detected a failure) |
- Legend:
-
--: No parameter is passed.
(2) Timing of user command issuance (when the HA Monitor status has changed)
This subsection explains the timing of user command issuance.
The following figure shows the parameters that are passed when HA Monitor is started and terminated and their issuance timing.
|
The following figure shows the parameters that are passed when HA Monitor on the remote host has detected a failure and their issuance timing.
|
When HA Monitor on the remote host has detected a failure (-m -d host-name), a user command is issued only on the host that is paired with the host resulting in the failure and on which hot standby processing is to be performed.