iad2: make a db03 mariadb instance in iad2.
Signed-off-by: Kevin Fenzi <kevin@scrye.com>
This commit is contained in:
parent
58959e7414
commit
8a49869f47
3 changed files with 39 additions and 2 deletions
35
inventory/host_vars/db03.iad2.fedoraproject.org
Normal file
35
inventory/host_vars/db03.iad2.fedoraproject.org
Normal file
|
@ -0,0 +1,35 @@
|
|||
---
|
||||
nm: 255.255.255.0
|
||||
gw: 10.3.163.254
|
||||
dns: 10.3.163.33
|
||||
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.3.163.44
|
||||
vmhost: vmhost-x86-07.iad2.fedoraproject.org
|
||||
datacenter: iad2
|
||||
|
||||
# This is a generic list, monitored by collectd
|
||||
databases:
|
||||
- mysql
|
||||
- fpo-mediawiki
|
||||
|
||||
# This is a more strict list of db to backup to /backups
|
||||
dbs_to_backup:
|
||||
- fpo-mediawiki
|
||||
|
||||
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-dba,sysadmin-noc,sysadmin-veteran
|
||||
|
||||
# kernel SHMMAX value
|
||||
kernel_shmmax: 68719476736
|
||||
|
||||
db_backup_dir: ['/backups']
|
||||
shared_buffers: "4GB"
|
||||
extra_enablerepos: ''
|
|
@ -214,6 +214,7 @@ autosign01.stg.phx2.fedoraproject.org
|
|||
db01.phx2.fedoraproject.org
|
||||
db01.iad2.fedoraproject.org
|
||||
db03.phx2.fedoraproject.org
|
||||
db03.iad2.fedoraproject.org
|
||||
db-fas01.phx2.fedoraproject.org
|
||||
db-fas01.iad2.fedoraproject.org
|
||||
db-datanommer02.phx2.fedoraproject.org
|
||||
|
@ -1280,6 +1281,7 @@ bvmhost-x86-05.iad2.fedoraproject.org
|
|||
bvmhost-x86-06.iad2.fedoraproject.org
|
||||
certgetter01.iad2.fedoraproject.org
|
||||
db01.iad2.fedoraproject.org
|
||||
db03.iad2.fedoraproject.org
|
||||
dl01.iad2.fedoraproject.org
|
||||
dl02.iad2.fedoraproject.org
|
||||
dl03.iad2.fedoraproject.org
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
# 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
|
||||
|
||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org"
|
||||
- import_playbook: "/srv/web/infra/ansible/playbooks/include/virt-create.yml myhosts=db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org:db03.iad2.fedoraproject.org"
|
||||
|
||||
# Once the instance exists, configure it.
|
||||
|
||||
- name: configure mariadb server system
|
||||
hosts: db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org
|
||||
hosts: db03.phx2.fedoraproject.org:db03.stg.phx2.fedoraproject.org:db03.iad2.fedoraproject.org
|
||||
user: root
|
||||
gather_facts: True
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue