mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-20 08:25:50 +08:00
Update keepalived.backup.conf
This commit is contained in:
@@ -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的优先级。
|
||||
|
||||
Reference in New Issue
Block a user