码迷,mamicode.com
首页 > 其他好文 > 详细

Keepalived问题

时间:2016-04-25 16:33:15      阅读:363      评论:0      收藏:0      [点我收藏+]

标签:keepalived 脑裂

环境介绍:

    vmware版本:12.1.0 build-3272444

    Keepalived(master):centos7

    Keepalived(backup):centos7


    Keepalived软件版本:keepalived-1.2.16.tar.gz


Keepalived安装路径:/usr/local/keepalived/

问题1:/usr/local/keepalived/etc/sysconfig/keepalived文件中不能通过KEEPALIVED_OPTIONS="-D" -f /usr/local/keepalived/etc/keepalived/keepalived.conf来指定配置文件路径;Keepalived的默认配置文件路径为/etc/keepalived/keepalived.conf


问题2:当master和backup没有关闭firewalld防火墙时,通过ip addr能在master和backup上同时查看到vip;也就是说master和backup同时抢占了VIP,引发脑裂。


Keepalived问题

标签:keepalived 脑裂

原文地址:http://1011779.blog.51cto.com/1001779/1767522

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!