
This patch contains keepalived container for yum-based distros. Change-Id: I8e3ea7a61ad6c27b25b635e7aeeff5ef04a807b4 Implements: blueprint keepalived-container
20 lines
337 B
Plaintext
Executable File
20 lines
337 B
Plaintext
Executable File
vrrp_script check_alive {
|
|
script "/check_alive.sh"
|
|
interval 2
|
|
weight -10
|
|
}
|
|
|
|
vrrp_instance Floating {
|
|
state MASTER
|
|
interface @PUBLIC_INTERFACE@
|
|
virtual_router_id 51
|
|
priority @KEEPALIVED_PRIORITY@
|
|
advert_int 1
|
|
virtual_ipaddress {
|
|
@PUBLIC_IP@
|
|
}
|
|
track_script {
|
|
check_alive
|
|
}
|
|
}
|