yum install -y keepalived
Last active
June 8, 2020 06:18
-
-
Save dogukancagatay/c843935b39883d601cacba0870662a77 to your computer and use it in GitHub Desktop.
Basic Keepalived Configuration
This file contains 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 | |
virtual_router_id 51 | |
priority 100 advert_int 1 | |
authentication { | |
auth_type PASS | |
auth_pass 112233 | |
} | |
virtual_ipaddress { | |
192.168.1.10 | |
} | |
} |
This file contains 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 MASTER | |
interface eth0 | |
virtual_router_id 51 | |
priority 101 advert_int 1 | |
authentication { | |
auth_type PASS | |
auth_pass 112233 | |
} | |
virtual_ipaddress { | |
192.168.1.10 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment