Red Hat Bugzilla – Bug 1479050
Split brain when configuring keepalived
Last modified: 2017-10-24 10:55:33 EDT
Description of problem:
When configuring keepalived per the following: https://access.redhat.com/articles/2967461
...the VIP exists on both nodes. There appears to be communication error between the master and backup.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Follow the steps in the linked KB
VIP exists on both the master and backup keepalived nodes
VIP only exists on the master
Reference BZ for reproduction: https://bugzilla.redhat.com/show_bug.cgi?id=1447969
I checked the other BZ and I am not seeing details about how to reproduce this in a standalone keepalived environment. If the VIP exists on both nodes, that usually suggests that VRRP traffic is not getting through (ie. firewall is blocking). Please provide details of how to reproduce as well as logs from keepalived and all configuration files (from both nodes). You can also tcpdump to see the VRRP traffic, but keep in mind that tcpdump will see it before iptables.
The problem here is that keepalived on ha1 has a VRID of 151 and ha2 has a VRID of 152, so the two node are not participating on the same virtual router. You want the virtual_router_id to be the same on each node.