how to configure VRRP VMAC with keepalived
Hi all,
My intention is how to configure vrrp vmac in kernel from user space.My setup and configurations as mentioned below:
simple SetUp:
Host1(192.168.100.3)<=======>(192.168.100.10)|Router|(192.168.200.10)<=======>(192.168.200.3)Real-server
I am not sure this setup is fine or not for vrrp-vmac handling (master and slave). please let me know topology also if its wrong
keepalived.conf file:
I am not understanding clearly. can you please give some information on this also.
vrrp_sync_group VG1
{
VI_1
VI_2
}
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 150
advert_int 1
virtual_ipaddress
{
192.168.200.10
192.168.200.11(slave IP)
}
}
vrrp_instance VI_2
{
state MASTER
interface eth1
virtual_router_id 52
use_vmac
priority 150
advert_int 1
virtual_ipaddress
{
192.168.100.10
}
}
I am getting below error when I start keepalived(./keepalived -f /etc/keepalived/keepalived.conf -P).
Error:
Oct 30 14:27:05 localhost Keepalived[28204]: Netlink: error: File exists, type=(16), seq=1351587426, pid=0 errno= 12781019
sometime:
Oct 30 14:27:05 localhost Keepalived[28204]: Netlink: error: Operation not supported, type=(16), seq=1351587427, pid=0 errno= 12781019
and
Oct 30 14:27:05 localhost kernel: [71009.474343] keepalived[28204]: segfault at 4 ip 08059bcf sp bf84dca0 error 4 in keepalived[8048000+28000]
Oct 30 14:27:06 localhost abrt[28205]: saved core dump of pid 28204 (/home/kiran/tools/keepalived-127/bin/keepalived) to /var/spool/abrt/ccpp-1351587426-28204.new/coredump (684032 bytes)
I am using fedora 15(2.6.35.13 kernel). Please suggest me how to use keepalived for VRRP-VMAC testing without LVS. please give some information on compilation. because when I tried "--enable-vrrp_vmac", I am getting "undefined option" warning and as well displays vrrp_vmac= no.so, I removed flags for vrrp vmac and compiled.
Thanks for the time
|