Add db-qa03 running fedora so we get a newer postgresql version for openqa
This commit is contained in:
parent
c731ace534
commit
eb5605b6aa
3 changed files with 38 additions and 2 deletions
34
inventory/host_vars/db-qa03.qa.fedoraproject.org
Normal file
34
inventory/host_vars/db-qa03.qa.fedoraproject.org
Normal file
|
@ -0,0 +1,34 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.131.254
|
||||
dns: 10.5.126.21
|
||||
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-28
|
||||
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/28/Server/x86_64/os/
|
||||
volgroup: /dev/vg_guests
|
||||
eth0_ip: 10.5.131.74
|
||||
eth0_nm: 255.255.255.0
|
||||
vmhost: virthost-comm01.qa.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
# This is a generic list, monitored by collectd
|
||||
#databases:
|
||||
|
||||
# This is a more strict list, to be made publicly available
|
||||
#dbs_to_backup:
|
||||
|
||||
# These are normally group variables, but in this case db servers are often different
|
||||
lvm_size: 300000
|
||||
mem_size: 16384
|
||||
max_mem_size: "{{ mem_size * 2 }}"
|
||||
num_cpus: 6
|
||||
tcp_ports: [ 5432, 443, 3306 ]
|
||||
fas_client_groups: sysadmin-qa,sysadmin-noc,sysadmin-veteran
|
||||
sudoers: "{{ private }}/files/sudo/qavirt-sudoers"
|
||||
|
||||
# kernel SHMMAX value
|
||||
kernel_shmmax: 68719476736
|
||||
|
||||
db_backup_dir: ['/backups']
|
||||
shared_buffers: "2GB"
|
||||
effective_cache_size: "6GB"
|
||||
host_backup_targets: ['/backups']
|
|
@ -292,6 +292,7 @@ db-datanommer02.phx2.fedoraproject.org
|
|||
db-koji01.phx2.fedoraproject.org
|
||||
db-qa01.qa.fedoraproject.org
|
||||
db-qa02.qa.fedoraproject.org
|
||||
db-qa03.qa.fedoraproject.org
|
||||
|
||||
[dbserver-stg]
|
||||
db-fas01.stg.phx2.fedoraproject.org
|
||||
|
@ -836,6 +837,7 @@ kojipkgs02.phx2.fedoraproject.org
|
|||
ns03.phx2.fedoraproject.org
|
||||
ns04.phx2.fedoraproject.org
|
||||
db-qa01.qa.fedoraproject.org
|
||||
db-qa03.qa.fedoraproject.org
|
||||
proxy01.phx2.fedoraproject.org
|
||||
proxy10.phx2.fedoraproject.org
|
||||
proxy101.phx2.fedoraproject.org
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
# 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
|
||||
|
||||
- import_playbook: "/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-qa02.qa.fedoraproject.org:db-koji01.stg.phx2.fedoraproject.org"
|
||||
- import_playbook: "/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-qa02.qa.fedoraproject.org:db-koji01.stg.phx2.fedoraproject.org:db-qa03.qa.fedoraproject.org"
|
||||
|
||||
# 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:db01.stg.phx2.fedoraproject.org:db-qa02.qa.fedoraproject.org:db-koji01.stg.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:db-qa02.qa.fedoraproject.org:db-koji01.stg.phx2.fedoraproject.or:db-qa03.qa.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue