Add db03 and db03.stg rhel7 mariadb hosts to take over for db02.stg and db05.
Note that all thats left that uses them is paste and wiki so once we are done migrating those, we can retire these.
This commit is contained in:
parent
96050012d4
commit
d5784d6eb8
4 changed files with 69 additions and 2 deletions
32
inventory/host_vars/db03.phx2.fedoraproject.org
Normal file
32
inventory/host_vars/db03.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.126.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/vg_guests
|
||||
eth0_ip: 10.5.126.112
|
||||
vmhost: virthost02.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
# This is a generic list, monitored by collectd
|
||||
databases:
|
||||
- postgres
|
||||
|
||||
# This is a more strict list, to be made publicly available
|
||||
#dbs_to_backup:
|
||||
|
||||
mariadb_root_password: "{{ db03_mysql_root_password }}"
|
||||
|
||||
# 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, 3306 ]
|
||||
fas_client_groups: sysadmin-db,sysadmin-noc
|
||||
|
||||
# kernel SHMMAX value
|
||||
kernel_shmmax: 68719476736
|
||||
|
||||
host_backup_targets: ['/backups']
|
||||
shared_buffers: "4GB"
|
32
inventory/host_vars/db03.stg.phx2.fedoraproject.org
Normal file
32
inventory/host_vars/db03.stg.phx2.fedoraproject.org
Normal file
|
@ -0,0 +1,32 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.5.126.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/vg_guests
|
||||
eth0_ip: 10.5.126.113
|
||||
vmhost: virthost11.phx2.fedoraproject.org
|
||||
datacenter: phx2
|
||||
|
||||
# This is a generic list, monitored by collectd
|
||||
databases:
|
||||
- postgres
|
||||
|
||||
# This is a more strict list, to be made publicly available
|
||||
#dbs_to_backup:
|
||||
|
||||
mariadb_root_password: "{{ db03_mysql_root_password }}"
|
||||
|
||||
# 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, 3306 ]
|
||||
fas_client_groups: sysadmin-db,sysadmin-noc
|
||||
|
||||
# kernel SHMMAX value
|
||||
kernel_shmmax: 68719476736
|
||||
|
||||
host_backup_targets: ['/backups']
|
||||
shared_buffers: "4GB"
|
|
@ -218,6 +218,7 @@ darkserver01.phx2.fedoraproject.org
|
|||
|
||||
[dbserver]
|
||||
db01.phx2.fedoraproject.org
|
||||
db03.phx2.fedoraproject.org
|
||||
db05.phx2.fedoraproject.org
|
||||
db-fas01.phx2.fedoraproject.org
|
||||
db-datanommer02.phx2.fedoraproject.org
|
||||
|
@ -228,6 +229,7 @@ db-qa01.qa.fedoraproject.org
|
|||
db-fas01.stg.phx2.fedoraproject.org
|
||||
db01.stg.phx2.fedoraproject.org
|
||||
db02.stg.phx2.fedoraproject.org
|
||||
db03.stg.phx2.fedoraproject.org
|
||||
|
||||
[download-phx2]
|
||||
download01.phx2.fedoraproject.org
|
||||
|
@ -508,6 +510,7 @@ composer.stg.phx2.fedoraproject.org
|
|||
datagrepper01.stg.phx2.fedoraproject.org
|
||||
db01.stg.phx2.fedoraproject.org
|
||||
db02.stg.phx2.fedoraproject.org
|
||||
db03.stg.phx2.fedoraproject.org
|
||||
db-fas01.stg.phx2.fedoraproject.org
|
||||
elections01.stg.phx2.fedoraproject.org
|
||||
fas01.stg.phx2.fedoraproject.org
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
# NOTE: most of these vars_path come from group_vars/backup_server or from hostvars
|
||||
|
||||
- name: make mariadb-server instance
|
||||
hosts: db-qa01.qa.fedoraproject.org
|
||||
hosts: db-qa01.qa.fedoraproject.org:db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: False
|
||||
|
||||
|
@ -21,7 +21,7 @@
|
|||
# Once the instance exists, configure it.
|
||||
|
||||
- name: configure mariadb server system
|
||||
hosts: db-qa01.qa.fedoraproject.org
|
||||
hosts: db-qa01.qa.fedoraproject.org:db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue