From fff16d01d7b1d93dd8e3c2f43c6b2b152ee7d7da Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Wed, 3 Jun 2015 21:30:06 +0000 Subject: [PATCH] Switch things over from db05 to db03. Backups and wiki and what dbs to backup on db03 to /backups. --- inventory/backups | 2 +- inventory/host_vars/db03.phx2.fedoraproject.org | 12 +++++++++--- roles/mediawiki/templates/LocalSettings.php.fp.j2 | 2 +- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/inventory/backups b/inventory/backups index 7371364fbd..189970f980 100644 --- a/inventory/backups +++ b/inventory/backups @@ -4,7 +4,7 @@ [backup_clients] collab04.fedoraproject.org db01.phx2.fedoraproject.org -db05.phx2.fedoraproject.org +db03.phx2.fedoraproject.org db-datanommer02.phx2.fedoraproject.org db-fas01.phx2.fedoraproject.org hosted04.fedoraproject.org diff --git a/inventory/host_vars/db03.phx2.fedoraproject.org b/inventory/host_vars/db03.phx2.fedoraproject.org index be48c7c7ea..40f9c9c9b6 100644 --- a/inventory/host_vars/db03.phx2.fedoraproject.org +++ b/inventory/host_vars/db03.phx2.fedoraproject.org @@ -11,10 +11,16 @@ datacenter: phx2 # This is a generic list, monitored by collectd databases: -- postgres +- mysql +- darkserver +- fpo-mediawiki +- pastebin -# This is a more strict list, to be made publicly available -#dbs_to_backup: +# This is a more strict list of db to backup to /backups +dbs_to_backup: +- darkserver +- fpo-mediawiki +- pastebin mariadb_root_password: "{{ db03_mysql_root_password }}" diff --git a/roles/mediawiki/templates/LocalSettings.php.fp.j2 b/roles/mediawiki/templates/LocalSettings.php.fp.j2 index cbdbbfb07c..d549f0d16f 100644 --- a/roles/mediawiki/templates/LocalSettings.php.fp.j2 +++ b/roles/mediawiki/templates/LocalSettings.php.fp.j2 @@ -127,7 +127,7 @@ $wgEnotifWatchlist = true; # UPO $wgEmailAuthentication = false; $wgDBtype = "mysql"; -$wgDBserver = "db05"; +$wgDBserver = "db03"; $wgDBname = "fpo-mediawiki"; $wgDBuser = "fpo-mw-user"; $wgDBpassword = "{{ fpoPassword }}";