Keepalived
安装
apt update
apt install keepalived -y配置
global_defs {
vrrp_version 3
vrrp_iptables KEEPALIVED-VIP
}
vrrp_instance vips {
state BACKUP
interface eth0
virtual_router_id 50
priority 100
nopreempt
advert_int 1
track_interface {
eth0
}
virtual_ipaddress {
10.9.181.169
}
}服务生效
排错
Last updated