Manual Active/Standby Switchover Fails During the Running of the HA System
Symptom
Manual active/standby switchover fails during the running of the HA system.
Possible Causes
- The active/standby switchover is not performed on the active node.
- The HA switchover is disabled.
- Switchover is disabled in the HA system. Within the specified time (the value of swapinterval configured in the /home/data/ha/module/haarb/conf/haarb.xml file), the HA system allows a maximum of three switchovers.
- The switchover is not allowed because the resource status of the active node is better than that of the standby node.
Procedure
- Check whether the active/standby switchover is performed on the active node.
- If yes, go to the next step.
- If no, perform an active/standby switchover on the active node.
- Run the $(ha_install_path)/ha/module/hacom/script/query_fsw.sh (/opt/middleware/ha/module/hacom/script/query_fsw.sh for an Atlas 500 AI edge station) script to check whether the HA switchover is disabled.
$(ha_install_path) is the HA installation path. Replace it with the actual path.
- If no, go to the next step.
- If yes, enable the active/standby switchover.
- View the value of swapinterval in the /home/data/ha/module/haarb/conf/haarb.xml file to check whether the active/standby switchover is performed for more than three times during this period.
- If no, go to the next step.
- If yes, perform the active/standby switchover after this period.
- Run the $(ha_install_path)/ha/module/hacom/script/status_ha.sh (/opt/middleware/ha/module/hacom/script/status_ha.sh for an Atlas 500 AI edge station) script to check whether the resource status of the active node is better than that of the standby node.
- If no, go to the next step.
- If yes, no switchover is performed. If you want to perform a switchover, you can trigger a forcible switchover or adjust the resource status of the standby node to ensure that the resource status of the standby node is better than that of the active node.
- Contact Huawei technical support.