keepalived简单配置

cat keepalived.conf

! Configuration File for keepalived

global_defs {
router_id LVS_DEVEL
}

vrrp_instance VI_1 {
state MASTER
interface enp3s0
virtual_router_id 52
priority 160
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
172.16.3.76
}
}
}

posted @ 2022-08-09 11:42  ZANAN  阅读(19)  评论(0编辑  收藏  举报