Skip to content

Instantly share code, notes, and snippets.

@sirkirby
Created February 20, 2024 19:28
Show Gist options
  • Save sirkirby/16c2421710c4603521cf978432fde1cb to your computer and use it in GitHub Desktop.
Save sirkirby/16c2421710c4603521cf978432fde1cb to your computer and use it in GitHub Desktop.
keepalived backup 3 conf
vrrp_instance VI_1 {
state BACKUP
interface eth0 # Change to your network interface name
virtual_router_id 51
priority 100 # Lower priority for backups
advert_int 1
unicast_src_ip 10.10.10.13 # piserver-b3
unicast_peer {
10.10.10.10 # piserver-p1
10.10.10.11 # piserver-b1
10.10.10.12 # piserver-b2
}
virtual_ipaddress {
10.10.10.100 # The Virtual IP address
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment