Exemplos de Uso
$
yum install keepalived -y
$
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 101
authentication {
auth_type PASS
auth_pass senha123
}
virtual_ipaddress {
192.168.1.200
}
}
$
systemctl enable keepalived
systemctl start keepalived
$
ip addr show | grep 192.168.1.200