iad2: add db-koji01.iad2
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
03ccad12e1
commit
625687b180
2 changed files with 49 additions and 2 deletions
47
inventory/host_vars/db-koji01.iad2.fedoraproject.org
Normal file
47
inventory/host_vars/db-koji01.iad2.fedoraproject.org
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
---
|
||||||
|
nm: 255.255.255.0
|
||||||
|
gw: 10.3.169.254
|
||||||
|
dns: 10.3.163.33
|
||||||
|
volgroup: /dev/vg_guests
|
||||||
|
eth0_ip: 10.3.169.103
|
||||||
|
vmhost: bvmhost-x86-01.iad2.fedoraproject.org
|
||||||
|
datacenter: iad2
|
||||||
|
|
||||||
|
ks_url: http://10.3.163.35/repo/rhel/ks/kvm-rhel-8-iad
|
||||||
|
ks_repo: http://10.3.163.35/repo/rhel/RHEL8-x86_64/
|
||||||
|
|
||||||
|
# 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
|
||||||
|
|
||||||
|
# These are normally group variables, but in this case db servers are often different
|
||||||
|
lvm_size: 1500000
|
||||||
|
mem_size: 65535
|
||||||
|
num_cpus: 64
|
||||||
|
fas_client_groups: sysadmin-dba,sysadmin-noc,sysadmin-veteran
|
||||||
|
|
||||||
|
# kernel SHMMAX value
|
||||||
|
kernel_shmmax: 68719476736
|
||||||
|
|
||||||
|
#
|
||||||
|
# Only allow postgresql access from the frontend node.
|
||||||
|
#
|
||||||
|
custom_rules: [
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.3.169.104 --dport 5432 -j ACCEPT',
|
||||||
|
'-A INPUT -p tcp -m tcp -s 10.3.169.105 --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
|
||||||
|
|
||||||
|
# we backup the backup on db-koji02 now
|
||||||
|
#db_backup_dir: ['/backups']
|
||||||
|
shared_buffers: "15GB"
|
||||||
|
effective_cache_size: "45GB"
|
|
@ -2,12 +2,12 @@
|
||||||
# NOTE: should be used with --limit most of the time
|
# 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
|
# 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:db_qa03.qa.fedoraproject.org:db-koji02.phx2.fedoraproject.org:db-fas01.iad2.fedoraproject.org:db01.iad2.fedoraproject.org:db-datanommer01.iad2.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:db-koji02.phx2.fedoraproject.org:db-fas01.iad2.fedoraproject.org:db01.iad2.fedoraproject.org:db-datanommer01.iad2.fedoraproject.org:db-koji01.iad2.fedoraproject.org"
|
||||||
|
|
||||||
# Once the instance exists, configure it.
|
# Once the instance exists, configure it.
|
||||||
|
|
||||||
- name: configure postgresql server system
|
- 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:db-qa03.qa.fedoraproject.org:db-koji02.phx2.fedoraproject.org:db-fas01.iad2.fedoraproject.org:db01.iad2.fedoraproject.org:db-datanommer01.iad2.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.org:db-qa03.qa.fedoraproject.org:db-koji02.phx2.fedoraproject.org:db-fas01.iad2.fedoraproject.org:db01.iad2.fedoraproject.org:db-datanommer01.iad2.fedoraproject.org:db-koji01.iad2.fedoraproject.org
|
||||||
user: root
|
user: root
|
||||||
gather_facts: True
|
gather_facts: True
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue