add some keepalived to db-koji.stg
This commit is contained in:
parent
c4b77adc87
commit
5837634ee3
3 changed files with 25 additions and 2 deletions
|
@ -27,7 +27,13 @@ kernel_shmmax: 68719476736
|
||||||
#
|
#
|
||||||
# Only allow postgresql access from the frontend node and other db nodes
|
# Only allow postgresql access from the frontend node and other db nodes
|
||||||
#
|
#
|
||||||
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.188 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.189 --dport 5432 -j ACCEPT' ]
|
custom_rules: [
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.5.126.188 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.5.126.189 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -d 224.0.0.0/8 -j ACCEPT',
|
||||||
|
'-A INPUT -p vrrp -j ACCEPT',
|
||||||
|
]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
|
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
|
||||||
|
@ -36,3 +42,8 @@ nrpe_procs_warn: 600
|
||||||
nrpe_procs_crit: 700
|
nrpe_procs_crit: 700
|
||||||
shared_buffers: "8GB"
|
shared_buffers: "8GB"
|
||||||
effective_cache_size: "24GB"
|
effective_cache_size: "24GB"
|
||||||
|
|
||||||
|
# Keepalived variables
|
||||||
|
keepalived_interface: eth0
|
||||||
|
keepalived_priority: 100
|
||||||
|
keepalived_ipaddress: 10.5.125.190/24
|
||||||
|
|
|
@ -27,7 +27,13 @@ kernel_shmmax: 68719476736
|
||||||
#
|
#
|
||||||
# Only allow postgresql access from the frontend node.
|
# Only allow postgresql access from the frontend node.
|
||||||
#
|
#
|
||||||
custom_rules: [ '-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.188 --dport 5432 -j ACCEPT', '-A INPUT -p tcp -m tcp -s 10.5.126.189 --dport 5432 -j ACCEPT' ]
|
custom_rules: [
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.5.126.86 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.5.126.188 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.5.126.189 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -d 224.0.0.0/8 -j ACCEPT',
|
||||||
|
'-A INPUT -p vrrp -j ACCEPT',
|
||||||
|
]
|
||||||
|
|
||||||
#
|
#
|
||||||
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
|
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
|
||||||
|
@ -36,3 +42,8 @@ nrpe_procs_warn: 600
|
||||||
nrpe_procs_crit: 700
|
nrpe_procs_crit: 700
|
||||||
shared_buffers: "8GB"
|
shared_buffers: "8GB"
|
||||||
effective_cache_size: "24GB"
|
effective_cache_size: "24GB"
|
||||||
|
|
||||||
|
# Keepalived variables
|
||||||
|
keepalived_interface: eth0
|
||||||
|
keepalived_priority: 50
|
||||||
|
keepalived_ipaddress: 10.5.125.190/24
|
||||||
|
|
|
@ -25,6 +25,7 @@
|
||||||
- collectd/base
|
- collectd/base
|
||||||
- collectd/postgres # This requires a 'databases' var to be set in host_vars
|
- collectd/postgres # This requires a 'databases' var to be set in host_vars
|
||||||
- sudo
|
- sudo
|
||||||
|
- keepalived
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
- include: "{{ tasks }}/yumrepos.yml"
|
- include: "{{ tasks }}/yumrepos.yml"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue