Created
October 29, 2012 19:15
-
-
Save jayjanssen/3975836 to your computer and use it in GitHub Desktop.
keepalived
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_script chk_haproxy { | |
script "killall -0 haproxy" | |
interval 2 | |
weight 5 | |
} | |
vrrp_instance VI_PXC_DB { | |
interface eth1 | |
state MASTER | |
virtual_router_id 60 | |
priority 101 | |
virtual_ipaddress { | |
10.2.46.130 | |
10.2.46.131 | |
10.2.46.132 | |
10.2.46.133 | |
} | |
track_script { | |
chk_haproxy | |
} | |
track_interface { | |
eth1 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment