Error Message "VIP configuration is abnormal causing split-brain" Is Displayed in the Log

Symptom

After HA is deployed, the software runs abnormally. An error message "VIP configuration is abnormal, causing split-brain." is displayed in the log of the var/alog/keepalived/keepalived.log directory.

Cause Analysis

When the HA is running properly, a floating IP address or VIP is configured on the third edge device (except the active and standby nodes).

Solution

  1. Log in to any edge device in the HA cluster as the root user and run the arping -I eth4 (service NIC) 192.168.xx.xx (floating IP address/VIP) command to check the MAC addresses of the floating IP addresses/VIPs and find the MAC address that does not belong to the HA cluster.
  2. Determine the third edge device based on the MAC address. Log in to the device as the root user and run the ip addr | 192.168.xx.xx (floating IP address/VIP) command.
  3. Run the ip -f inet addr del 192.168.xx.xx (floating IP address/VIP) dev eth0 (NIC for which the VIP is configured) command to delete the unnecessary configurations.