keepalived非争抢机制不生效【原创】

故障现象:俩台服务器设置了keepalived非争抢机制,但是发现优先级高的服务器还是会优先获取vip

利用tcpdump抓包发现只有其中一台服务器,没有另一台

tcpdump -i eth0 vrrp -n
10:06:47.483004 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20
10:06:48.483032 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20
10:06:49.483287 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20
10:06:50.483382 IP 10.12.75.73 > 224.0.0.18: VRRPv2, Advertisement, vrid 72, prio 80, authtype simple, intvl 1s, length 20

经查发现另一台开启防火墙,导致vrrp通信有问题

 

posted @ 2019-05-22 11:28 paul_hch 阅读(...) 评论(...) 编辑 收藏