Elukey has submitted this change and it was merged. ( 
https://gerrit.wikimedia.org/r/336419 )

Change subject: Replace Memcached/Redis codfw shard12->16
......................................................................


Replace Memcached/Redis codfw shard12->16

This swap is a bit more interesting since we have now 18 hosts
available in codfw while they were only 16 before. The current
eqiad shards are 18, so we have a 1:1 match. Before this commit,
the codfw memcached shards were only 16 (they are not eqiad replicas
since memcached does not natively support it) and two redis shards
were hosting two Redis instances rather than one.

After the merge nutcracker will need to be restarted on the mw
appservers in codfw to pick up the new config.

Bug: T155755
Change-Id: I08efb8cd490ab86c9d04cb8f569440f7e6f825c8
---
M hieradata/codfw.yaml
M hieradata/common/mediawiki/redis_servers.yaml
2 files changed, 16 insertions(+), 14 deletions(-)

Approvals:
  Elukey: Looks good to me, approved
  jenkins-bot: Verified



diff --git a/hieradata/codfw.yaml b/hieradata/codfw.yaml
index d2aead4..85f2572 100644
--- a/hieradata/codfw.yaml
+++ b/hieradata/codfw.yaml
@@ -10,11 +10,13 @@
   - '10.192.32.159:11211:1 "shard09"'
   - '10.192.32.160:11211:1 "shard10"'
   - '10.192.32.161:11211:1 "shard11"'
-  - '10.192.16.42:11211:1 "shard12"'
-  - '10.192.32.20:11211:1 "shard13"'
-  - '10.192.32.21:11211:1 "shard14"'
-  - '10.192.32.22:11211:1 "shard15"'
-  - '10.192.32.23:11211:1 "shard16"'
+  - '10.192.32.162:11211:1 "shard12"'
+  - '10.192.32.163:11211:1 "shard13"'
+  - '10.192.48.76:11211:1 "shard14"'
+  - '10.192.48.77:11211:1 "shard15"'
+  - '10.192.48.78:11211:1 "shard16"'
+  - '10.192.48.79:11211:1 "shard17"'
+  - '10.192.48.80:11211:1 "shard18"'
 
 jobrunner_state: 'stopped'
 ganglia_aggregators: install2001.wikimedia.org:10649
diff --git a/hieradata/common/mediawiki/redis_servers.yaml 
b/hieradata/common/mediawiki/redis_servers.yaml
index 4147429..3d32557 100644
--- a/hieradata/common/mediawiki/redis_servers.yaml
+++ b/hieradata/common/mediawiki/redis_servers.yaml
@@ -90,23 +90,23 @@
     host: 10.192.32.161
     port: 6379
   shard12:
-    host: 10.192.16.42
+    host: 10.192.32.162
     port: 6379
   shard13:
-    host: 10.192.32.20
+    host: 10.192.32.163
     port: 6379
   shard14:
-    host: 10.192.32.21
+    host: 10.192.48.76
     port: 6379
   shard15:
-    host: 10.192.32.22
+    host: 10.192.48.77
     port: 6379
   shard16:
-    host: 10.192.32.23
+    host: 10.192.48.78
     port: 6379
   shard17:
-    host: 10.192.0.34
-    port: 6380
+    host: 10.192.48.79
+    port: 6379
   shard18:
-    host: 10.192.32.23
-    port: 6380
+    host: 10.192.48.80
+    port: 6379

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

Gerrit-MessageType: merged
Gerrit-Change-Id: I08efb8cd490ab86c9d04cb8f569440f7e6f825c8
Gerrit-PatchSet: 5
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Elukey <[email protected]>
Gerrit-Reviewer: Elukey <[email protected]>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to