Created
February 20, 2024 19:28
-
-
Save sirkirby/16c2421710c4603521cf978432fde1cb to your computer and use it in GitHub Desktop.
keepalived backup 3 conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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