Keepalived - Linodes in Same Datacenter - Still split brain
I am running CentOS 6.5 and the latest upstream version of keepalived is 1.2.7, which apparently dosn't have unicast built into it. So I opted to download 1.2.13 from the keepalived website and compile it manually, to satisfy the unicast requirement. Apparently broad/multi cast is not supported by linode, so the only solution is unicast.
After compiling and installing keepalived on both production servers, I started them with the following configs:
# Server 1 (master)
global_defs {
notification_email {
mike.purcell@shouttag.com
}
notification_email_from service-a-2.sn2@j1n.us
smtp_server mail.hp-lv
smtp_connect_timeout 30
}
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 99
vrrp_unicast_bind 192.168.136.71 # Internal ip of this node
vrrp_unicast_peer 192.168.130.88 # Internal ip of backup node
authentication {
auth_type PASS
auth_pass \!amRo4r
}
virtual_ipaddress {
192.168.133.97/17
}
}
# Server 2 (backup)
global_defs {
notification_email {
mike.purcell@shouttag.com
}
notification_email_from service-a-3.sn2@j1n.us
smtp_server mail.hp-lv
smtp_connect_timeout 30
}
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 1
vrrp_unicast_peer 192.168.136.71 # Internal ip of master node
vrrp_unicast_bind 192.168.130.88 # Internal ip of this node
authentication {
auth_type PASS
auth_pass \!amRo4r
}
virtual_ipaddress {
192.168.133.97/17
}
}
#
Notice I am referencing the vrrpunicast directives, as I was hoping this would have resolved my issue. But upon starting heartbeat on both servers, I still ended up with a split brain.
Any idea what I can do to get an ipfailover solution up and running on these servers? I'd like to move onto other projects.