Asher has submitted this change and it was merged. Change subject: upgrading one db per core shard in eqiad to mariadb ......................................................................
upgrading one db per core shard in eqiad to mariadb Change-Id: Ibb608884e50bd9be790730fe639d0a0845451478 --- M manifests/site.pp 1 file changed, 25 insertions(+), 5 deletions(-) Approvals: Asher: Verified; Looks good to me, approved diff --git a/manifests/site.pp b/manifests/site.pp index 436f6c7..10c216c 100644 --- a/manifests/site.pp +++ b/manifests/site.pp @@ -497,11 +497,19 @@ } node /^db10(03|10|19|35)\.eqiad\.wmnet/ { - include role::coredb::s3 + if $hostname == "db1010" { + class { role::coredb::s3 : mariadb => true } + } else { + include role::coredb::s3 + } } node /^db10(04|11|20|38)\.eqiad\.wmnet/ { - include role::coredb::s4 + if $hostname == "db1011" { + class { role::coredb::s4 : mariadb => true } + } else { + include role::coredb::s4 + } } node /^db10(05|21|26|39)\.eqiad\.wmnet/ { @@ -509,15 +517,27 @@ $ganglia_aggregator = "true" } - include role::coredb::s5 + if $hostname == "db1026" { + class { role::coredb::s5 : mariadb => true } + } else { + include role::coredb::s5 + } } node /^db10(06|22|27|40)\.eqiad\.wmnet/ { - include role::coredb::s6 + if $hostname == "db1027" { + class { role::coredb::s6 : mariadb => true } + } else { + include role::coredb::s6 + } } node /^db10(07|24|28|41)\.eqiad\.wmnet/ { - include role::coredb::s7 + if $hostname == "db1028" { + class { role::coredb::s7 : mariadb => true } + } else { + include role::coredb::s7 + } } ## x1 shard -- To view, visit https://gerrit.wikimedia.org/r/54575 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: merged Gerrit-Change-Id: Ibb608884e50bd9be790730fe639d0a0845451478 Gerrit-PatchSet: 1 Gerrit-Project: operations/puppet Gerrit-Branch: production Gerrit-Owner: Asher <afeld...@wikimedia.org> Gerrit-Reviewer: Asher <afeld...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits