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通信有问题
标签:1s,prio,simple,vrid,keepalived,length,生效,80,争抢 来源: https://www.cnblogs.com/paul8339/p/10904866.html