Marostegui has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/346691 )
Change subject: site.pp: Add tempdb2001 new host
......................................................................
site.pp: Add tempdb2001 new host
tempdb2001 is a temporary host that will be used to have redundancy in
codfw until we have the new servers deployed and ready to be used
Also add it to prometheus as a slave.
Bug: T162290
Change-Id: I448e4173e180503e3270c4e12a4b64e88954eaf1
---
M manifests/site.pp
M modules/role/files/prometheus/mysql-core_codfw.yaml
2 files changed, 13 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/91/346691/1
diff --git a/manifests/site.pp b/manifests/site.pp
index a7a729d..9d87eaa 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -662,6 +662,14 @@
}
}
+# temporary node in codfw to have redundancy #T162290
+node 'tempdb2001.codfw.wmnet' {
+ class { '::role::mariadb::core':
+ shard => 'x1',
+ binlog_format => 'ROW',
+ }
+}
+
## m1 shard
node 'db1016.eqiad.wmnet' {
diff --git a/modules/role/files/prometheus/mysql-core_codfw.yaml
b/modules/role/files/prometheus/mysql-core_codfw.yaml
index 783b026..7c1e767 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -147,4 +147,9 @@
role: master
targets:
- db2033:9104
+- labels:
+ shard: x1
+ role: slave
+ targets:
+ - tempdb2001:9104
--
To view, visit https://gerrit.wikimedia.org/r/346691
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I448e4173e180503e3270c4e12a4b64e88954eaf1
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