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

Change subject: mariadb: Add db1103 to s3
......................................................................

mariadb: Add db1103 to s3

db1103 is going to be cloned from db1035.
db1035 is filling up and in order to be able to checksum its data, let's
copy it to db1103, pool is as a temporary special slave, so we can
checksum it with no rush and we can decommission db1036

Bug: T172679
Change-Id: Ia46301b1f3757eefd7f163273d1b8bb703809fc7
---
A hieradata/hosts/db1103.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/37/380937/1

diff --git a/hieradata/hosts/db1103.yaml b/hieradata/hosts/db1103.yaml
new file mode 100644
index 0000000..654805a
--- /dev/null
+++ b/hieradata/hosts/db1103.yaml
@@ -0,0 +1 @@
+mariadb::shard: 's3'
diff --git a/manifests/site.pp b/manifests/site.pp
index b44e5b6..d5aa218 100644
--- a/manifests/site.pp
+++ b/manifests/site.pp
@@ -387,7 +387,7 @@
     role(mariadb::core)
 }
 
-node /^db10(35|38|44|77|78)\.eqiad\.wmnet/ {
+node /^db1(035|038|044|077|078|103)\.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 d0583ec..0fbd66e 100644
--- a/modules/role/files/prometheus/mysql-core_eqiad.yaml
+++ b/modules/role/files/prometheus/mysql-core_eqiad.yaml
@@ -44,6 +44,7 @@
   - db1044:9104
   - db1077:9104
   - db1078:9104
+  - db1103:9104
 - labels:
     shard: s3
     role: master

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ia46301b1f3757eefd7f163273d1b8bb703809fc7
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