keepalived use vmac and bonding nic issue
I use keepalived with vmac and bonding nic.
It take over 30 sec to failover.
After mark vmac_xmit_base. it work perfect.
But keepalived will random forward request to server.
! Configuration File for keepalived
vrrp_instance VI_1 {
state BACKUP
interface bond0
track_interface {
bond0
}
virtual_router_id 51
priority 16
advert_int 1
nopreempt
authentication {
auth_type PASS
auth_pass 1111
}
use_vmac
# vmac_xmit_base
virtual_ipaddress {
192.168.65.200
}
}
It take over 30 sec to failover.
After mark vmac_xmit_base. it work perfect.
But keepalived will random forward request to server.
! Configuration File for keepalived
vrrp_instance VI_1 {
state BACKUP
interface bond0
track_interface {
bond0
}
virtual_router_id 51
priority 16
advert_int 1
nopreempt
authentication {
auth_type PASS
auth_pass 1111
}
use_vmac
# vmac_xmit_base
virtual_ipaddress {
192.168.65.200
}
}
留言
張貼留言