Jcrespo has submitted this change and it was merged. (
https://gerrit.wikimedia.org/r/394588 )
Change subject: Set db2085 with s1 and s8; make db2092 pending to be deployed
......................................................................
Set db2085 with s1 and s8; make db2092 pending to be deployed
Disable temporarilly notifications on db2085 during the provisioning.
Bug: T170662
Bug: T178359
Change-Id: Ic9a756819e3cc130081816639a64ceb59eafdb3b
---
M hieradata/hosts/db2085.yaml
D hieradata/hosts/db2092.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
4 files changed, 4 insertions(+), 9 deletions(-)
Approvals:
jenkins-bot: Verified
Jcrespo: Looks good to me, approved
diff --git a/hieradata/hosts/db2085.yaml b/hieradata/hosts/db2085.yaml
index e400806..c386892 100644
--- a/hieradata/hosts/db2085.yaml
+++ b/hieradata/hosts/db2085.yaml
@@ -1,4 +1,5 @@
# Buffer pool sizes/instance enabled
profile::mariadb::core_multiinstance::num_instances: 2
-profile::mariadb::core_multiinstance::s3: '185G'
+profile::mariadb::core_multiinstance::s1: '185G'
profile::mariadb::core_multiinstance::s8: '185G'
+profile::base::notifications_enabled: '0'
diff --git a/hieradata/hosts/db2092.yaml b/hieradata/hosts/db2092.yaml
deleted file mode 100644
index 3c3b6b4..0000000
--- a/hieradata/hosts/db2092.yaml
+++ /dev/null
@@ -1,4 +0,0 @@
-# Buffer pool sizes/instance enabled
-profile::mariadb::core_multiinstance::num_instances: 2
-profile::mariadb::core_multiinstance::s1: '185G'
-profile::mariadb::core_multiinstance::s3: '185G'
diff --git a/manifests/site.pp b/manifests/site.pp
index c29a3ed..1d569b9 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -479,7 +479,7 @@
node /^db1(096|097|099|101|103|105)\.eqiad\.wmnet/ {
role(mariadb::core_multiinstance)
}
-node /^db20(84|85|86|87|88|89|91|92)\.codfw\.wmnet/ {
+node /^db20(84|85|86|87|88|89|91)\.codfw\.wmnet/ {
role(mariadb::core_multiinstance)
}
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index 7fe6f6a..bc0eda4 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -12,7 +12,7 @@
- db2071:9104
- db2072:9104
- db2088:13311
- - db2092:13311
+ - db2085:13311
- labels:
shard: s1
role: master
@@ -46,8 +46,6 @@
- db2050:9104
- db2057:9104
- db2074:9104
- - db2085:13313
- - db2092:13313
- labels:
shard: s3
role: master
--
To view, visit https://gerrit.wikimedia.org/r/394588
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic9a756819e3cc130081816639a64ceb59eafdb3b
Gerrit-PatchSet: 2
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Jcrespo <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Jcrespo <[email protected]>
Gerrit-Reviewer: Marostegui <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits