koji: initial ppc.koji new hub/DB

This commit is contained in:
Peter Robinson 2016-04-19 14:13:08 +00:00
parent b6b0e7c425
commit 5af03cac86
3 changed files with 77 additions and 0 deletions

View file

@ -0,0 +1,45 @@
---
nm: 255.255.255.0
gw: 10.5.129.254
dns: 10.5.126.21
volgroup: /dev/vg_guests
eth0_ip: 10.5.129.241
vmhost: ppc8-01.ppc.fedoraproject.org
datacenter: phx2
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7-ppc64le
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-ppc64le/
# 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
fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-releng
sudoers: "{{ private }}/files/sudo/00releng-sudoers"
# These are normally group variables, but in this case db servers are often different
lvm_size: 500000
mem_size: 8192
num_cpus: 12
# 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.129.240 --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
host_backup_targets: ['/backups']
shared_buffers: "2GB"
effective_cache_size: "6GB"

View file

@ -0,0 +1,30 @@
---
nm: 255.255.255.0
gw: 10.5.129.254
dns: 10.5.126.21
volgroup: /dev/vg_guests
eth0_ip: 10.5.129.240
vmhost: ppc8-01.ppc.fedoraproject.org
datacenter: phx2
ks_url: http://10.5.126.23/repo/rhel/ks/kvm-rhel-7-ppc64le
ks_repo: http://10.5.126.23/repo/rhel/RHEL7-ppc64le/
nrpe_procs_warn: 900
nrpe_procs_crit: 1000
fedmsg_fqdn: ppc-koji01.qa.fedoraproject.org
#
# define this here because ppc koji only needs eth0, not eth1 also
#
virt_install_command: "{{ virt_install_command_one_nic }}"
koji_topurl: "http://ppc.fedoraproject.org/"
koji_server_url: "http://ppc.koji.fedoraproject.org/kojihub"
koji_weburl: "http://ppc.koji.fedoraproject.org/koji"
fedmsg_koji_instance: ppc
# Set this to use the qa domain resolv.conf to make sure it can talk to it's db
resolvconf: resolv.conf/ppc

View file

@ -281,6 +281,7 @@ db-datanommer02.phx2.fedoraproject.org
db-koji01.phx2.fedoraproject.org
db-s390-koji01.qa.fedoraproject.org
db-arm-koji01.qa.fedoraproject.org
db-ppc-koji01.ppc.fedoraproject.org
db-qa01.qa.fedoraproject.org
[dbserver-stg]
@ -357,6 +358,7 @@ koji01.phx2.fedoraproject.org
koji02.phx2.fedoraproject.org
s390-koji01.qa.fedoraproject.org
arm-koji01.qa.fedoraproject.org
ppc-koji01.ppc.fedoraproject.org
# We need an inventory definition of these hosts for fedmsg certs even though
# they are not yet ansibilized. When they're finally assimilated, move them to