keepalived issues on xen domU
Posted
by
David Cournapeau
on Server Fault
See other posts from Server Fault
or by David Cournapeau
Published on 2011-01-07T08:59:37Z
Indexed on
2011/01/07
9:55 UTC
Read the original article
Hit count: 320
xen
|keepalived
Hi,
I cannot manage to run keepalived correctly on xen domU.
I am following this link for configuration, and it works great on some local VM (running with KVM). If I set up the exact same configuration, but on xen domU, it does not work: both servers do not see each other and decide to be master (10.120.100.99 being the virtual IP)
$ sudo ip addr sh eth0 # host1
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:16:3e:78:f5:31 brd ff:ff:ff:ff:ff:ff
inet 10.120.100.104/24 brd 10.120.100.255 scope global eth0
inet 10.120.100.99/32 scope global eth0
inet6 fe80::216:3eff:fe78:f531/64 scope link
valid_lft forever preferred_lft forever
$ sudo ip addr sh eth0 # host2
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP qlen 1000
link/ether 00:16:3e:51:36:20 brd ff:ff:ff:ff:ff:ff
inet 10.120.100.105/24 brd 10.120.100.255 scope global eth0
inet 10.120.100.99/32 scope global eth0
inet6 fe80::216:3eff:fe51:3620/64 scope link
valid_lft forever preferred_lft forever
Is there a way I could debug this - it seems some people are able to use keepalived on xen following some mailing list, but without much info on their config.
© Server Fault or respective owner