- 在LVS服务器上安装Keepalived,参考(https://www.cnblogs.com/xiaodunan/p/17374699.html)
- 修改核心配置文件
cd /etc/keepalived/
vim keepalived.conf
global_defs {
router_id LVS_1
}
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 41
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
192.168.206.100
}
}
标签:LVS,keepalived,auth,nginx,virtual,id
From: https://www.cnblogs.com/xiaodunan/p/17378131.html