From 5af03cac86b4719946a4b82d95eb7c5fe883221d Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Tue, 19 Apr 2016 14:13:08 +0000 Subject: [PATCH] koji: initial ppc.koji new hub/DB --- .../db-ppc-koji01.ppc.fedoraproject.org | 45 +++++++++++++++++++ .../ppc-koji01.ppc.fedoraproject.org | 30 +++++++++++++ inventory/inventory | 2 + 3 files changed, 77 insertions(+) create mode 100644 inventory/host_vars/db-ppc-koji01.ppc.fedoraproject.org create mode 100644 inventory/host_vars/ppc-koji01.ppc.fedoraproject.org diff --git a/inventory/host_vars/db-ppc-koji01.ppc.fedoraproject.org b/inventory/host_vars/db-ppc-koji01.ppc.fedoraproject.org new file mode 100644 index 0000000000..936015ee70 --- /dev/null +++ b/inventory/host_vars/db-ppc-koji01.ppc.fedoraproject.org @@ -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" diff --git a/inventory/host_vars/ppc-koji01.ppc.fedoraproject.org b/inventory/host_vars/ppc-koji01.ppc.fedoraproject.org new file mode 100644 index 0000000000..37369cfdf9 --- /dev/null +++ b/inventory/host_vars/ppc-koji01.ppc.fedoraproject.org @@ -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 diff --git a/inventory/inventory b/inventory/inventory index b8707ff5c6..35a6c2ca23 100644 --- a/inventory/inventory +++ b/inventory/inventory @@ -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