ansible/inventory/host_vars/db-fas01.stg.phx2.fedoraproject.org
Patrick Uiterwijk 06307a788a Allow -db-fas01.stg from openshift for ipsilon
Signed-off-by: Patrick Uiterwijk <patrick@puiterwijk.org>
2019-05-09 13:20:47 +02:00

48 lines
1.4 KiB
Org Mode

---
nm: 255.255.255.0
gw: 10.5.128.254
dns: 10.5.126.21
volgroup: /dev/vg_virthost16
eth0_ip: 10.5.128.96
vmhost: virthost05.stg.phx2.fedoraproject.org
datacenter: phx2
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-x86_64/
# This is a generic list, monitored by collectd
databases:
- fas2
# This is a more strict list, to be made publicly available
dbs_to_backup:
- fas2
# These are normally group variables, but in this case db servers are often different
lvm_size: 30000
mem_size: 4096
num_cpus: 2
fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-veteran
#
# Only allow postgresql access from the frontend node and ipsilon01.stg and
# fas3-01.stg and openshift
#
custom_rules:
- '-A INPUT -p tcp -m tcp -s 10.5.128.129 --dport 5432 -j ACCEPT'
- '-A INPUT -p tcp -m tcp -s 10.5.128.137 --dport 5432 -j ACCEPT'
- '-A INPUT -p tcp -m tcp -s 10.5.128.82 --dport 5432 -j ACCEPT'
- '-A INPUT -p tcp -m tcp -s 10.5.128.104 --dport 5432 -j ACCEPT'
- '-A INPUT -p tcp -m tcp -s 10.5.128.105 --dport 5432 -j ACCEPT'
- '-A INPUT -p tcp -m tcp -s 10.5.128.106 --dport 5432 -j ACCEPT'
- '-A INPUT -p tcp -m tcp -s 10.5.128.107 --dport 5432 -j ACCEPT'
#
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
#
nrpe_procs_warn: 400
nrpe_procs_crit: 500
db_backup_dir: ['/backups']
shared_buffers: "1GB"
effective_cache_size: "3GB"