Marostegui has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/373525 )
Change subject: mariadb: Add db1096 as s5 slave
......................................................................
mariadb: Add db1096 as s5 slave
db1096 needs reimage first and then will be added as slave of s5, to
replace db1026 and to be a future host for s8
Bug: T172679
Change-Id: I440ffd3740507ddf762df931840a8dab184c0788
---
A hieradata/hosts/db1096.yaml
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_eqiad.yaml
3 files changed, 3 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/25/373525/1
diff --git a/hieradata/hosts/db1096.yaml b/hieradata/hosts/db1096.yaml
new file mode 100644
index 0000000..0d8bce2
--- /dev/null
+++ b/hieradata/hosts/db1096.yaml
@@ -0,0 +1 @@
+mariadb::shard: 's5'
diff --git a/manifests/site.pp b/manifests/site.pp
index a807776..d4194ca 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -477,7 +477,7 @@
role(mariadb::core)
}
-node /^db10(26|45|49|70|71|82|87|92)\.eqiad\.wmnet/ {
+node /^db10(26|45|49|70|71|82|87|92|96)\.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 6252cf1..89824ca 100644
--- a/modules/role/files/prometheus/mysql-core_eqiad.yaml
+++ b/modules/role/files/prometheus/mysql-core_eqiad.yaml
@@ -80,6 +80,7 @@
- db1082:9104
- db1087:9104
- db1092:9104
+ - db1096:9104
- labels:
shard: s5
role: master
--
To view, visit https://gerrit.wikimedia.org/r/373525
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I440ffd3740507ddf762df931840a8dab184c0788
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