Marostegui has submitted this change and it was merged. ( 
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 in x1 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, 10 insertions(+), 3 deletions(-)

Approvals:
  Marostegui: Looks good to me, approved
  jenkins-bot: Verified
  Jcrespo: Looks good to me, but someone else must approve



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..598f9f1 100644
--- a/modules/role/files/prometheus/mysql-core_codfw.yaml
+++ b/modules/role/files/prometheus/mysql-core_codfw.yaml
@@ -144,7 +144,6 @@
   - db2033:9104
 - labels:
     shard: x1
-    role: master
+    role: slave
   targets:
-  - db2033:9104
-
+  - tempdb2001:9104

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I448e4173e180503e3270c4e12a4b64e88954eaf1
Gerrit-PatchSet: 3
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Marostegui <[email protected]>
Gerrit-Reviewer: Filippo Giunchedi <[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

Reply via email to