adding new db-qa-stg01.qa host

This commit is contained in:
Tim Flink 2016-08-10 11:36:08 +00:00
parent cf6da69fb9
commit de099852ad
3 changed files with 78 additions and 1 deletions

View file

@ -0,0 +1,75 @@
---
############################################################
# general
############################################################
datacenter: phx2
fas_client_groups: sysadmin-qa,sysadmin-noc,sysadmin-veteran
############################################################
# networking
############################################################
nm: 255.255.255.0
gw: 10.5.124.254
dns: 10.5.126.21
eth0_ip: 10.5.124.145
eth0_nm: 255.255.255.128
############################################################
# install
############################################################
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-fedora-24
ks_repo: http://10.5.126.23/pub/fedora/linux/releases/24/Server/x86_64/os/
volgroup: /dev/vg_guests
sudoers: "{{ private }}/files/sudo/qavirt-sudoers"
vmhost: virthost-comm04.qa.fedoraproject.org
############################################################
# virtual machine
############################################################
# These are normally group variables, but in this case db servers are often different
lvm_size: 300000
mem_size: 8192
num_cpus: 2
tcp_ports: [ 5432, 443 ]
############################################################
# database details
############################################################
# This is a generic list, monitored by collectd
databases:
- postgres
- resultsdb
# This is a more strict list, to be made publicly available
dbs_to_backup:
- postgres
#- buildmaster
#- buildmaster_dev
#- buildmaster_stg
#- execdb
#- execdb_stg
#- execdb_dev
## these names are also stored as host vars 'openqa_dbname',
## make sure to keep in sync
#- openqa
#- openqa-stg
#- resultsdb
#- resultsdb_stg
#- resultsdb_dev
# kernel SHMMAX value
kernel_shmmax: 68719476736
host_backup_targets: ['/backups']
shared_buffers: "2GB"
effective_cache_size: "6GB"

View file

@ -273,6 +273,7 @@ db-s390-koji01.qa.fedoraproject.org
db-arm-koji01.qa.fedoraproject.org
db-ppc-koji01.ppc.fedoraproject.org
db-qa01.qa.fedoraproject.org
db-qastg01.qa.fedoraproject.org
[dbserver-stg]
db-fas01.stg.phx2.fedoraproject.org
@ -681,6 +682,7 @@ kojipkgs01.phx2.fedoraproject.org
ns03.phx2.fedoraproject.org
ns04.phx2.fedoraproject.org
db-qa01.qa.fedoraproject.org
db-qa-stg01.qa.fedoraproject.org
proxy01.phx2.fedoraproject.org
proxy10.phx2.fedoraproject.org
openqa-stg01.qa.fedoraproject.org

View file

@ -2,7 +2,7 @@
# 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
- 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"
- 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"
# Once the instance exists, configure it.