zoukankan      html  css  js  c++  java
  • keepalive主从上同时出现VIP,且均无法消失

    低版本bug

    双主架构中,keepalived日志出现:

    more /var/log/message
    Oct 9 03:16:22 mysql-dzg-60-148 Keepalived_vrrp[8526]: VRRP_Instance(VI_1) Dropping received VRRP packet...
    Oct 9 03:16:23 mysql-dzg-60-148 Keepalived_vrrp[8526]: ip address associated with VRID not present in received packet : 172.28.60.149
    Oct 9 03:16:23 mysql-dzg-60-148 Keepalived_vrrp[8526]: one or more VIP associated with VRID mismatch actual MASTER advert
    Oct 9 03:16:23 mysql-dzg-60-148 Keepalived_vrrp[8526]: bogus VRRP packet received on bond0 !!!

    查看中发现,该平台的Virtual_router_id与其它平台的Virtual_router_id重复。

    修改keepalived的 Virtual_router_id值 ,使其唯一,之后重启keepalived:

    又出现了两台主库上都有vip的情况,而且通过普通的service keepalived stop,kill pid还不能是VIP消失。

    最后通过同时killall掉所有机器上的keepalived之后就好了
    出现这个问题的原因应该是mysql主备反复重启诱发keepalived低版本bug

    脑裂

    主从间网络存在问题,导致keepalive互认为对方已不在工作,导致脑裂

  • 相关阅读:
    CSS 兼容 总结
    IF IE
    取消chrome浏览器下input和textarea的默认样式
    左右浮动边距为0,中间间隔一定
    标题右边10px位置紧跟发布时间
    两款CSS3样式可视化在线生成工具
    文字截取,多余文字用省略号(...)代替
    O
    N
    M
  • 原文地址:https://www.cnblogs.com/janehoo/p/5956085.html
Copyright © 2011-2022 走看看