Last active
February 20, 2024 19:29
-
-
Save sirkirby/dfa07824c471275c557552a151677906 to your computer and use it in GitHub Desktop.
keepalived backup 2 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 150 # Lower priority for backups | |
advert_int 1 | |
unicast_src_ip 10.10.10.12 # piserver-b2 | |
unicast_peer { | |
10.10.10.10 # piserver-p1 | |
10.10.10.11 # piserver-b1 | |
10.10.10.13 # piserver-b3 | |
} | |
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