Keepalive启动报错,Fail to start LVS and VRRP High Availability Monitor.
解决方法 :
cd /etc/keepalived/
cp keepalived.conf.sample keepalived.conf
vim keepalived.conf
//找到这个模块并修改接口名称
vrrp_instance VI_1 {
state MASTER
interface ens32 --修改成自己网卡名字
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.200.16
192.168.200.17
192.168.200.18
}
}