keepalived 问题解决

关闭之后重启无法启动,报错信息如下:

Sep  2 09:54:07 tc_198_80 Keepalived_vrrp: VRRP_Instance(vi_mysql_11) ignoring received advertisment…
Sep  2 09:54:08 tc_198_80 Keepalived_vrrp: receive an invalid passwd!
Sep  2 09:54:08 tc_198_80 Keepalived_vrrp: bogus VRRP packet received on eth1.260 !!!
Sep  2 09:54:08 tc_198_80 Keepalived_vrrp: VRRP_Instance(vi_mysql_11) ignoring received advertisment…
Sep  2 09:54:09 tc_198_80 Keepalived_vrrp: receive an invalid passwd!
Sep  2 09:54:09 tc_198_80 Keepalived_vrrp: bogus VRRP packet received on eth1.260 !!!
Sep  2 09:54:09 tc_198_80 Keepalived_vrrp: VRRP_Instance(vi_mysql_11) ignoring received advertisment…
Sep  2 09:54:10 tc_198_80 Keepalived_vrrp: receive an invalid passwd!
Sep  2 09:54:10 tc_198_80 Keepalived_vrrp: bogus VRRP packet received on eth1.260 !!!
Sep  2 09:54:10 tc_198_80 Keepalived_vrrp: VRRP_Instance(vi_mysql_11) ignoring received advertisment…

解决方案:

改变配置文件/etc/keepalived/keepalived.conf virtual_route_id的值

比如

 virtual_router_id 60 主从方都要改,默认为51

发表评论

电子邮件地址不会被公开。 必填项已用*标注