环境介绍:
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,引发脑裂。
原文地址:http://1011779.blog.51cto.com/1001779/1767522