HA Troubleshooting
You can always check the HA state by using the config ha show command while connected via SSH. When the HA system is online and everything works, this is what you should see:
$ config ha show
Started: Yes
Interface: eth3
Configured HA Role: Primary
Current HA state: Master
Peer status: Online
Local configuration ID: 1380
Peer configuration ID: 1380
What you need to make sure:
- Peer status is Online
- Local and Peer configuration IDs have the same value
If any of the points above is not as described then the HA system has a problem.
- If peer status is Offline please verify the following by connecting to the peer in serial console or video terminal
- Peer is running?
- Check if the Peer has HA started?
- Is the peer configured as Backup?
- Is the peer’s current HA state Fail?
- Does the peer have all active ethernet interfaces connected to the network (link ok)?
- If configuration IDs differ allow some time for synchronization. If more than a minute takes to synchronize the two ids, then
- Verify if the machines have the same software version. If not, then upgrade them separately by disconnecting one at a time to the latest firmware version.
All HA oprations get logged in /var/log/ha.log. Make sure to check out that log file for abnormalities.