admin:keepalived
This is an old revision of the document!
Keepalived
Master IP : 10.179.210.103 Slave IP : 10.179.210.140 Virtual IP :10.179.210.100
Keepalived configuration on master machine
! Configuration File for keepalived
vrrp_instance VI_1 {
state MASTER
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
10.179.210.100
}
}
Keepalived configuration on slave machine
<code> vrrp_instance VI_1 {
state SALVE
interface eth0
virtual_router_id 51
priority 100
advert_int 1
authentication {
auth_type PASS
auth_pass 1111
}
virtual_ipaddress {
10.179.210.100
}
} <code>
https://tecadmin.net/ip-failover-setup-using-keepalived-on-centos-redhat/
admin/keepalived.1689592977.txt.gz · Last modified: 2023/07/17 16:52 by dhinesh