mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-03-20 12:07:34 +08:00
now that we have multiple keepaliveds use different router ids
This commit is contained in:
@@ -47,3 +47,4 @@ effective_cache_size: "24GB"
|
||||
keepalived_interface: eth0
|
||||
keepalived_priority: 100
|
||||
keepalived_ipaddress: 10.5.126.190/24
|
||||
keepalived_routerid: 18
|
||||
|
||||
@@ -47,3 +47,5 @@ effective_cache_size: "24GB"
|
||||
keepalived_interface: eth0
|
||||
keepalived_priority: 50
|
||||
keepalived_ipaddress: 10.5.126.190/24
|
||||
keepalived_routerid: 18
|
||||
|
||||
|
||||
@@ -14,6 +14,7 @@ datacenter: phx2
|
||||
keepalived_interface: eth0
|
||||
keepalived_priority: 100
|
||||
keepalived_ipaddress: 10.5.125.63/24
|
||||
keepalived_routerid: 17
|
||||
|
||||
nrpe_procs_warn: 900
|
||||
nrpe_procs_crit: 1000
|
||||
|
||||
@@ -14,6 +14,7 @@ datacenter: phx2
|
||||
keepalived_interface: eth0
|
||||
keepalived_priority: 50
|
||||
keepalived_ipaddress: 10.5.125.63/24
|
||||
keepalived_routerid: 17
|
||||
|
||||
nrpe_procs_warn: 900
|
||||
nrpe_procs_crit: 1000
|
||||
|
||||
@@ -48,3 +48,4 @@ effective_cache_size: "24GB"
|
||||
keepalived_interface: eth0
|
||||
keepalived_priority: 100
|
||||
keepalived_ipaddress: 10.5.126.193/24
|
||||
keepalived_routerid: 19
|
||||
|
||||
@@ -48,3 +48,5 @@ effective_cache_size: "24GB"
|
||||
keepalived_interface: eth0
|
||||
keepalived_priority: 50
|
||||
keepalived_ipaddress: 10.5.126.193/24
|
||||
keepalived_routerid: 19
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ vrrp_instance VI_1 {
|
||||
interface {{ keepalived_interface }}
|
||||
# arbitary unique number 0..255
|
||||
# used to differentiate multiple instances of vrrpd
|
||||
virtual_router_id 17
|
||||
virtual_router_id {{ keepalived_routerid }}
|
||||
# for electing MASTER, highest priority wins.
|
||||
# to be MASTER, make 50 more than other machines.
|
||||
priority {{ keepalived_priority }}
|
||||
|
||||
Reference in New Issue
Block a user