Add a db01.stg instance.
This commit is contained in:
parent
89d8ca9e19
commit
8031513963
3 changed files with 50 additions and 2 deletions
46
inventory/host_vars/db01.stg.phx2.fedoraproject.org
Normal file
46
inventory/host_vars/db01.stg.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,46 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.126.254
|
||||
dns: 10.5.126.21
|
||||
eth0_ip: 10.5.126.204
|
||||
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/
|
||||
volgroup: /dev/vg_virthost16
|
||||
vmhost: virthost16.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
# This is a generic list, monitored by collectd
|
||||
databases:
|
||||
- askfedora
|
||||
- blockerbugs
|
||||
- bodhi
|
||||
- elections
|
||||
- fedocal
|
||||
- fedoratagger
|
||||
- kerneltest
|
||||
- kittystore
|
||||
- mailman
|
||||
- mirrormanager
|
||||
- notifications
|
||||
- nuancier_lite
|
||||
- pkgdb2
|
||||
- summershum
|
||||
- tahrir
|
||||
|
||||
# These are normally group variables, but in this case db servers are often different
|
||||
lvm_size: 300000
|
||||
mem_size: 16384
|
||||
num_cpus: 4
|
||||
fas_client_groups: sysadmin-dba,sysadmin-noc
|
||||
|
||||
#
|
||||
# We should narrow this down at some point
|
||||
#
|
||||
custom_rules: [ '-A INPUT -p tcp -m tcp --dport 5432 -j ACCEPT' ]
|
||||
|
||||
#
|
||||
# db01 handles lots of apps, could have many procs if they are busy.
|
||||
#
|
||||
nrpe_procs_warn: 800
|
||||
nrpe_procs_crit: 900
|
||||
shared_buffers: "1GB"
|
|
@ -210,6 +210,7 @@ db-koji01.phx2.fedoraproject.org
|
|||
|
||||
[dbserver-stg]
|
||||
db-fas01.stg.phx2.fedoraproject.org
|
||||
db01.stg.phx2.fedoraproject.org
|
||||
db02.stg.phx2.fedoraproject.org
|
||||
db-qa01.qa.fedoraproject.org
|
||||
|
||||
|
@ -450,6 +451,7 @@ bugzilla2fedmsg01.stg.phx2.fedoraproject.org
|
|||
busgateway01.stg.phx2.fedoraproject.org
|
||||
composer.stg.phx2.fedoraproject.org
|
||||
datagrepper01.stg.phx2.fedoraproject.org
|
||||
db01.stg.phx2.fedoraproject.org
|
||||
db02.stg.phx2.fedoraproject.org
|
||||
db-fas01.stg.phx2.fedoraproject.org
|
||||
elections01.stg.phx2.fedoraproject.org
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
|
||||
|
||||
- name: make postgresql-server instance
|
||||
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org:db-fas01.stg.phx2.fedoraproject.org:db-fas01.phx2.fedoraproject.org:db01.phx2.fedoraproject.org
|
||||
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org:db-fas01.stg.phx2.fedoraproject.org:db-fas01.phx2.fedoraproject.org:db01.phx2.fedoraproject.org:db01.stg.phx2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
# Once the instance exists, configure it.
|
||||
|
||||
- name: configure postgresql server system
|
||||
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org:db-fas01.stg.phx2.fedoraproject.org:db-fas01.phx2.fedoraproject.org:db01.phx2.fedoraproject.org
|
||||
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org:db-fas01.stg.phx2.fedoraproject.org:db-fas01.phx2.fedoraproject.org:db01.phx2.fedoraproject.org:db01.stg.phx2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue