Marostegui has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/389709 )
Change subject: mariadb: db1105 to become multiinstance for s1,s2
......................................................................
mariadb: db1105 to become multiinstance for s1,s2
db1105 will serve as multiinstance recentchanges slave for s1 and s2
Bug: T178359
Change-Id: I14c0a1466b1ea53a8fc3514c7bc2853cc870f2cf
---
M hieradata/hosts/db1105.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_eqiad.yaml
3 files changed, 8 insertions(+), 4 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/09/389709/1
diff --git a/hieradata/hosts/db1105.yaml b/hieradata/hosts/db1105.yaml
index 0ea867a..a10bb72 100644
--- a/hieradata/hosts/db1105.yaml
+++ b/hieradata/hosts/db1105.yaml
@@ -1,2 +1,5 @@
-mariadb::shard: 's5'
+# Buffer pool sizes/instance enabled
+profile::mariadb::core_multiinstance::num_instances: 2
+profile::mariadb::core_multiinstance::s1: '185G'
+profile::mariadb::core_multiinstance::s2: '185G'
profile::base::notifications_enabled: '0'
diff --git a/manifests/site.pp b/manifests/site.pp
index 2f1dfa7..48fc866 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -427,7 +427,7 @@
role(mariadb::core)
}
-node /^db1(103)\.eqiad\.wmnet/ {
+node /^db1(103|105)\.eqiad\.wmnet/ {
role(mariadb::core_multiinstance)
}
# row-based replication to sanitarium (T150960)
@@ -451,7 +451,7 @@
role(mariadb::core)
}
-node /^db1(070|071|082|087|092|096|099|100|104|105|106)\.eqiad\.wmnet/ {
+node /^db1(070|071|082|087|092|096|099|100|104|106)\.eqiad\.wmnet/ {
role(mariadb::core)
}
diff --git a/modules/role/files/prometheus/mysql-core_eqiad.yaml
b/modules/role/files/prometheus/mysql-core_eqiad.yaml
index ae2951f..00e7beb 100644
--- a/modules/role/files/prometheus/mysql-core_eqiad.yaml
+++ b/modules/role/files/prometheus/mysql-core_eqiad.yaml
@@ -10,6 +10,7 @@
- db1080:9104
- db1083:9104
- db1089:9104
+ - db1105:13311
- labels:
shard: s1
role: master
@@ -28,6 +29,7 @@
- db1090:9104
- db1101:9104
- db1103:13312
+ - db1105:13312
- labels:
shard: s2
role: master
@@ -79,7 +81,6 @@
- db1099:9104
- db1100:9104
- db1104:9104
- - db1105:9104
- db1106:9104
- labels:
shard: s5
--
To view, visit https://gerrit.wikimedia.org/r/389709
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I14c0a1466b1ea53a8fc3514c7bc2853cc870f2cf
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits