Update keepalived.backup.conf

This commit is contained in:
midoks
2023-10-29 01:29:24 +08:00
parent e09085a64c
commit 27041ee0e0
@@ -32,9 +32,7 @@ vrrp_instance VI_1 {
#这里所有节点都定义为BACKUP
state BACKUP
#指定虚拟ip的网卡接口
interface ens34
#本地IP
mcast_src_ip 192.168.10.16
interface eth0
#路由器标识,MASTER和BACKUP必须是一致的
virtual_router_id 51
#定义优先级,数字越大,优先级越高,在同一个vrrp_instance下,MASTER的优先级必须大于BACKUP的优先级。