Marostegui has uploaded a new change for review. ( 
https://gerrit.wikimedia.org/r/386360 )

Change subject: mariadb: Add db2091 to s2 and s4
......................................................................

mariadb: Add db2091 to s2 and s4

db2091 will be a new slave serving recentchanges on s2 and s4

Bug: T178359
Change-Id: If7f759b79825c029473b1a1298e60411f3244ef7
---
A hieradata/hosts/db2091.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
3 files changed, 11 insertions(+), 0 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/puppet 
refs/changes/60/386360/1

diff --git a/hieradata/hosts/db2091.yaml b/hieradata/hosts/db2091.yaml
new file mode 100644
index 0000000..6181609
--- /dev/null
+++ b/hieradata/hosts/db2091.yaml
@@ -0,0 +1,5 @@
+# Buffer pool sizes/instance enabled
+profile::mariadb::core_multiinstance::num_instances: 2
+profile::mariadb::core_multiinstance::s2: '185G'
+profile::mariadb::core_multiinstance::s4: '185G'
+profile::base::notifications_enabled: '0'
diff --git a/manifests/site.pp b/manifests/site.pp
index 79d5454..0b41330 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -371,6 +371,10 @@
     role(mariadb::core)
 }
 
+node 'db2091.codfw.wmnet' {
+    role(mariadb::core_multiinstance)
+}
+
 # s3 (default) core production dbs on eqiad
 # Lots of tables!
 # eqiad master
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml 
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index 04b924b..c3e57b4 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -30,6 +30,7 @@
   - db2063:9104
   - db2064:9104
   - db2088:13312
+  - db2091:13312
 - labels:
     shard: s2
     role: master
@@ -63,6 +64,7 @@
   - db2065:9104
   - db2073:9104
   - db2084:13314
+  - db2091:13314
 - labels:
     shard: s4
     role: master

-- 
To view, visit https://gerrit.wikimedia.org/r/386360
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: If7f759b79825c029473b1a1298e60411f3244ef7
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <maroste...@wikimedia.org>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to