This section describes the procedures on how to check the current status of SA.
To check the current status of SA, execute the following command on the node where the status of SA is checked.
# sdtool -s
Example
# sdtool -s Cluster Host Agent SA State Shut State Test State Init State ------------ ----- -------- ---------- ---------- ---------- node1 SA_xx Idle Unknown TestWorked InitWorked node1 SA_xx Idle Unknown TestWorked InitWorked node2 SA_xx Idle Unknown TestWorked InitWorked node2 SA_xx Idle Unknown TestWorked InitWorked
The following items are displayed.
Node name in the cluster
Name of the shutdown agent
Current Status of SA.
The status are as follows.
Status | Description |
---|---|
Idle | No currently running SA |
Init-ing | Initializing |
InitWorked | Initialization successfully completed |
InitFailed | Initialization failed |
Testing | Testing (10-minute interval) |
TestWorked | Test successfully completed |
TestFailed | Test failed |
Killing | Force stop node ongoing |
KillWorked | Force stop node successfully completed |
KillFailed | Force stop node failed |
UnInit-ing | Uninitializing |
UnInitWorked | Uninitialization successfully completed |
UnInitFailed | Uninitialization failed |
Status of force node stop.
The status are as follows.
Status | Description |
---|---|
Unknown | Force stop node is not executed |
Killing | Force stop node ongoing |
KillWorked | Force stop node successfully completed |
KillFailed | Force stop node failed |
Status of test executed every 10 minutes.
The status are as follows.
Status | Description |
---|---|
Unknown | Test is not executed |
Testing | Testing |
TestWorked | Test successfully completed |
TestFailed | Test failed (force stop cannot be executed) |
Status of initialization/uninitialization of SA.
The status are as follows.
Status | Description |
---|---|
Unknown | Initialization is not executed |
Init-ing | Initializing |
InitWorked | Initialization successfully completed |
InitFailed | Initialization failed |
UnInit-ing | Uninitializing |
UnInit-Failed | Uninitialization failed |
Note
If Init State is displayed as InitFailed, it indicates that an error occurred in initializing the SA.
If Test State is displayed as TestFailed, it indicates that an error occurred while the SA is testing if the node displayed as Cluster Host can be stopped, and the node cannot be stopped forcibly.
In this case, an error may be occurring in software, hardware, or network resources that are used by the SA. Solve the error immediately.
If Test State or Init State is displayed as Unknown, it indicates that SF has not yet stopped the node, tested the route, or initialized SA. Test State and Init State are temporary displayed as Unknown until the actual status is confirmed.
If TestFailed or InitFailed is displayed, check the SA log file or /var/log/messages. In the log file, you can find the cause of the error why the SA testing or SA initialization failed. Once the cause of the error is solved and SF is restarted, InitWorked or TestWorked will be displayed as the current status.