Add a db-koji01 rhel7 postgres instance

This commit is contained in:
Kevin Fenzi 2014-09-29 18:58:40 +00:00
parent 2fa4310dfb
commit 34d55d2c8f
3 changed files with 33 additions and 2 deletions

View file

@ -0,0 +1,30 @@
---
nm: 255.255.255.0
gw: 10.5.125.254
dns: 10.5.126.21
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/xenGuests
eth0_ip: 10.5.125.47
vmhost: bvirthost09.phx2.fedoraproject.org
datacenter: phx2
# This is a generic list, monitored by collectd
databases:
- koji
# This is a more strict list, to be made publicly available
dbs_to_backup:
- koji
host_backup_targets: ['/backups']
# These are normally group variables, but in this case db servers are often different
lvm_size: 3000000
mem_size: 25165824
num_cpus: 8
tcp_ports: [ 5432, 443 ]
fas_client_groups: sysadmin-dba,sysadmin-noc
# kernel SHMMAX value
kernel_shmmax: 68719476736

View file

@ -230,6 +230,7 @@ db04.phx2.fedoraproject.org
db05.phx2.fedoraproject.org
db-fas01.phx2.fedoraproject.org
db-datanommer02.phx2.fedoraproject.org
db-koji01.phx2.fedoraproject.org
[dbserver-stg]
db-fas01.stg.phx2.fedoraproject.org

View file

@ -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
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org
user: root
gather_facts: False
accelerate: "{{ accelerated }}"
@ -22,7 +22,7 @@
# Once the instance exists, configure it.
- name: configure postgresql server system
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org
hosts: db-datanommer02.phx2.fedoraproject.org:db-qa01.qa.fedoraproject.org:db-koji01.phx2.fedoraproject.org
user: root
gather_facts: True
accelerate: "{{ accelerated }}"