Merge "Use nopreempt for keepalived"
This commit is contained in:
commit
ae27f19aff
@ -6,7 +6,8 @@ vrrp_script check_alive {
|
|||||||
}
|
}
|
||||||
|
|
||||||
vrrp_instance kolla_internal_vip {
|
vrrp_instance kolla_internal_vip {
|
||||||
state MASTER
|
state BACKUP
|
||||||
|
nopreempt
|
||||||
interface {{ api_interface }}
|
interface {{ api_interface }}
|
||||||
virtual_router_id 51
|
virtual_router_id 51
|
||||||
priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
|
priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
|
||||||
@ -25,7 +26,8 @@ vrrp_instance kolla_internal_vip {
|
|||||||
|
|
||||||
{% if haproxy_enable_external_vip | bool %}
|
{% if haproxy_enable_external_vip | bool %}
|
||||||
vrrp_instance kolla_external_vip {
|
vrrp_instance kolla_external_vip {
|
||||||
state MASTER
|
state BACKUP
|
||||||
|
nopreempt
|
||||||
interface {{ kolla_external_vip_interface }}
|
interface {{ kolla_external_vip_interface }}
|
||||||
virtual_router_id 52
|
virtual_router_id 52
|
||||||
priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
|
priority {{ groups['haproxy'].index(inventory_hostname) + 1 }}
|
||||||
|
Loading…
Reference in New Issue
Block a user