Why Is the Network Disconnected Between Servers Using a Virtual IP Address After an Active/Standby Switchover?
For an HA cluster using virtual IP addresses and Keepalived, if you find that the network between the client and the server is disconnected after an active/standby switchover, the possible cause is that the switchover is performed manually. As a result, the ARP table on the client is not updated, you can perform the following operations to update the ARP table:
- Log in to the client.
- Update the ARP table on the client.
- Method 1: Trigger the client to learn the new MAC address corresponding to the virtual IP address:
Example command: ping 192.168.3.22
- Method 2: Clear the residual entries in the ARP table of the virtual IP address to trigger the client to learn the new ARP table:
Command example: arp -d 192.168.3.22
- Method 1: Trigger the client to learn the new MAC address corresponding to the virtual IP address:
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.