Keepalived High-Availaible

Sourabh Dey
Jun 5, 2022

--

Package

vrrp_instance VI_1 {
state MASTER
interface ens33
virtual_router_id 55
priority 150
advert_int 1
unicast_src_ip 192.168.43.200
unicast_peer {
192.168.43.159
}

authentication {
auth_type PASS
auth_pass C3P9K9gc
}

virtual_ipaddress {
192.168.43.160/24
}
}

Same goes to Second Node also

vrrp_instance VI_1 {
state BACKUP
interface ens33
virtual_router_id 55
priority 100
advert_int 1
unicast_src_ip 192.168.43.159
unicast_peer {
192.168.43.200
}

authentication {
auth_type PASS
auth_pass C3P9K9gc
}

virtual_ipaddress {
192.168.43.160/24
}
}

Node 1 :

Node 2:

Now you have two node with high available services

--

--

Sourabh Dey

Trying To learn as much as possible about different Techonology. About me I am just a normal Boy who lives in terminal