Abnormal Heartbeat State of HACS
SymptomThe HACS heartbeat status is abnormal.
Procedure
1.Check whether the heartbeat network is normal.
If the heartbeat network is abnormal, go to 2.
If the heartbeat network is normal or has been recovered, go to 5.
2.Recover the heartbeat network.
3.Log in to the active node and run the /usr/sbin/corosync-cfgtool -r command to recover the heartbeat service.
Run the /usr/sbin/corosync-cfgtool -s
command to check whether the heartbeat status is normal.
If the heartbeat status is normal, go to 7. Otherwise, go to 4.
NOTE:
Normally, the status parameter in each heartbeat message must include active with no faults, and the value of id cannot include 127.0.0.1 (excluding messages in the single-node system scenario). The following information indicates that two heartbeat messages are configured and both messages are normal:
Printing ring status.
Local node ID 1
RING ID 0
id = 10.10.11.11
status = ring 0 active with no faults
RING ID 1
id = 192.168.11.11
status = ring 1 active with no faults
4.Log in to the standby node and run the /usr/sbin/corosync-cfgtool -r command to recover the heartbeat service.
Run the /usr/sbin/corosync-cfgtool -s command to check whether the heartbeat status is normal.
If the heartbeat status is normal, go to 7. Otherwise, go to 5.
5.Run the service corosync restart command on the active node to restart the service.
Run the /usr/sbin/corosync-cfgtool -s command to check whether the heartbeat status is normal.
If the heartbeat status is normal, go to 7. Otherwise, go to 6.
6.Run the service corosync restart command on the standby node to restart the service.
Run the /usr/sbin/corosync-cfgtool -s command to check whether the heartbeat status is normal.
If the heartbeat status is normal, go to 7. Otherwise, contact Huawei technical support engineers.
7.On the active and standby node, run the crm_mon -fri 2 command to check the running status of the two-node cluster.
If both nodes are Online and all modules are in Started state, the two-node cluster is running properly, and the fault has been rectified. Otherwise, contact Huawei technical support engineers.

