Add db-koji01 and db-koji02 in staging to use for testing bdr out.
This commit is contained in:
parent
9dc37ae690
commit
da4394deb9
4 changed files with 80 additions and 2 deletions
37
inventory/host_vars/db-koji01.stg.phx2.fedoraproject.org
Normal file
37
inventory/host_vars/db-koji01.stg.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 10.5.126.254
|
||||||
|
dns: 10.5.126.21
|
||||||
|
volgroup: /dev/vg_guests
|
||||||
|
eth0_ip: 10.5.126.188
|
||||||
|
vmhost: virthost04.phx2.fedoraproject.org
|
||||||
|
datacenter: phx2
|
||||||
|
|
||||||
|
ks_url: http://infrastructure.phx2.fedoraproject.org/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://infrastructure.phx2.fedoraproject.org/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
# This is a generic list, monitored by collectd
|
||||||
|
databases:
|
||||||
|
- koji
|
||||||
|
|
||||||
|
# These are normally group variables, but in this case db servers are often different
|
||||||
|
lvm_size: 300000
|
||||||
|
mem_size: 16384
|
||||||
|
num_cpus: 8
|
||||||
|
fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-veteran
|
||||||
|
|
||||||
|
# kernel SHMMAX value
|
||||||
|
kernel_shmmax: 68719476736
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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' ]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
|
||||||
|
#
|
||||||
|
nrpe_procs_warn: 600
|
||||||
|
nrpe_procs_crit: 700
|
||||||
|
shared_buffers: "8GB"
|
||||||
|
effective_cache_size: "24GB"
|
37
inventory/host_vars/db-koji02.stg.phx2.fedoraproject.org
Normal file
37
inventory/host_vars/db-koji02.stg.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 10.5.126.254
|
||||||
|
dns: 10.5.126.21
|
||||||
|
volgroup: /dev/vg_guests
|
||||||
|
eth0_ip: 10.5.126.188
|
||||||
|
vmhost: virthost11.phx2.fedoraproject.org
|
||||||
|
datacenter: phx2
|
||||||
|
|
||||||
|
ks_url: http://infrastructure.phx2.fedoraproject.org/repo/rhel/ks/kvm-rhel-7
|
||||||
|
ks_repo: http://infrastructure.phx2.fedoraproject.org/repo/rhel/RHEL7-x86_64/
|
||||||
|
|
||||||
|
# This is a generic list, monitored by collectd
|
||||||
|
databases:
|
||||||
|
- koji
|
||||||
|
|
||||||
|
# These are normally group variables, but in this case db servers are often different
|
||||||
|
lvm_size: 300000
|
||||||
|
mem_size: 16384
|
||||||
|
num_cpus: 8
|
||||||
|
fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-veteran
|
||||||
|
|
||||||
|
# kernel SHMMAX value
|
||||||
|
kernel_shmmax: 68719476736
|
||||||
|
|
||||||
|
#
|
||||||
|
# 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' ]
|
||||||
|
|
||||||
|
#
|
||||||
|
# Large updates pushes cause lots of db threads doing the tag moves, so up this from default.
|
||||||
|
#
|
||||||
|
nrpe_procs_warn: 600
|
||||||
|
nrpe_procs_crit: 700
|
||||||
|
shared_buffers: "8GB"
|
||||||
|
effective_cache_size: "24GB"
|
|
@ -270,6 +270,8 @@ db-qastg01.qa.fedoraproject.org
|
||||||
db-fas01.stg.phx2.fedoraproject.org
|
db-fas01.stg.phx2.fedoraproject.org
|
||||||
db01.stg.phx2.fedoraproject.org
|
db01.stg.phx2.fedoraproject.org
|
||||||
db03.stg.phx2.fedoraproject.org
|
db03.stg.phx2.fedoraproject.org
|
||||||
|
db-koji01.stg.phx2.fedoraproject.org
|
||||||
|
db-koji02.stg.phx2.fedoraproject.org
|
||||||
|
|
||||||
[download-phx2]
|
[download-phx2]
|
||||||
download01.phx2.fedoraproject.org
|
download01.phx2.fedoraproject.org
|
||||||
|
@ -611,6 +613,8 @@ datagrepper01.stg.phx2.fedoraproject.org
|
||||||
db01.stg.phx2.fedoraproject.org
|
db01.stg.phx2.fedoraproject.org
|
||||||
db03.stg.phx2.fedoraproject.org
|
db03.stg.phx2.fedoraproject.org
|
||||||
db-fas01.stg.phx2.fedoraproject.org
|
db-fas01.stg.phx2.fedoraproject.org
|
||||||
|
db-koji01.stg.phx2.fedoraproject.org
|
||||||
|
db-koji02.stg.phx2.fedoraproject.org
|
||||||
elections01.stg.phx2.fedoraproject.org
|
elections01.stg.phx2.fedoraproject.org
|
||||||
faf01.stg.phx2.fedoraproject.org
|
faf01.stg.phx2.fedoraproject.org
|
||||||
fas01.stg.phx2.fedoraproject.org
|
fas01.stg.phx2.fedoraproject.org
|
||||||
|
|
|
@ -2,12 +2,12 @@
|
||||||
# NOTE: should be used with --limit most of the time
|
# NOTE: should be used with --limit most of the time
|
||||||
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
|
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
|
||||||
|
|
||||||
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=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:db-s390-koji01.qa.fedoraproject.org:db-arm-koji01.qa.fedoraproject.org:db-ppc-koji01.ppc.fedoraproject.org:db-qa-stg01.qa.fedoraproject.org"
|
- include: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=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:db-s390-koji01.qa.fedoraproject.org:db-arm-koji01.qa.fedoraproject.org:db-ppc-koji01.ppc.fedoraproject.org:db-qa-stg01.qa.fedoraproject.org:db-koji01.stg.phx2.fedoraproject.org:db-koji02.stg.phx2.fedoraproject.org"
|
||||||
|
|
||||||
# Once the instance exists, configure it.
|
# Once the instance exists, configure it.
|
||||||
|
|
||||||
- name: configure postgresql server system
|
- 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:db01.stg.phx2.fedoraproject.org:db-s390-koji01.qa.fedoraproject.org:db-arm-koji01.qa.fedoraproject.org:db-ppc-koji01.ppc.fedoraproject.org:db-qa-stg01.qa.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:db-s390-koji01.qa.fedoraproject.org:db-arm-koji01.qa.fedoraproject.org:db-ppc-koji01.ppc.fedoraproject.org:db-qa-stg01.qa.fedoraproject.org:db-koji01.stg.phx2.fedoraproject.org:db-koji02.stg.phx2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue