Tim Starling has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/73354


Change subject: Use eqiad memcached servers in pmtpa also
......................................................................

Use eqiad memcached servers in pmtpa also

Further to I5d64cec2d6, also update the twemproxy configuration so that
pmtpa servers use eqiad. Add cluster-independent twemproxy.yaml so
that the upstart configuration can be migrated to use that instead, in a
subsequent commit to the puppet repo.

Change-Id: Ib327d7131020807b01070d6b2913e226e367dd2b
---
M wmf-config/twemproxy-pmtpa.yaml
A wmf-config/twemproxy.yaml
2 files changed, 44 insertions(+), 16 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/54/73354/1

diff --git a/wmf-config/twemproxy-pmtpa.yaml b/wmf-config/twemproxy-pmtpa.yaml
index 6a83d8f..29e3ef1 100644
--- a/wmf-config/twemproxy-pmtpa.yaml
+++ b/wmf-config/twemproxy-pmtpa.yaml
@@ -10,19 +10,19 @@
   server_failure_limit: 3
   server_connections: 2
   servers:
-   - 10.0.12.1:11211:1
-   - 10.0.12.2:11211:1
-   - 10.0.12.3:11211:1
-   - 10.0.12.4:11211:1
-   - 10.0.12.5:11211:1
-   - 10.0.12.6:11211:1
-   - 10.0.12.7:11211:1
-   - 10.0.12.8:11211:1
-   - 10.0.12.9:11211:1
-   - 10.0.12.10:11211:1
-   - 10.0.12.11:11211:1
-   - 10.0.12.12:11211:1
-   - 10.0.12.13:11211:1
-   - 10.0.12.14:11211:1
-   #- 10.0.12.15:11211:1
-   - 10.0.12.16:11211:1
+   - 10.64.0.180:11211:1
+   - 10.64.0.181:11211:1
+   - 10.64.0.182:11211:1
+   - 10.64.0.183:11211:1
+   - 10.64.0.184:11211:1
+   - 10.64.0.185:11211:1
+   - 10.64.0.186:11211:1
+   - 10.64.0.187:11211:1
+   - 10.64.0.188:11211:1
+   - 10.64.0.189:11211:1
+   - 10.64.0.190:11211:1
+   - 10.64.0.191:11211:1
+   - 10.64.0.192:11211:1
+   - 10.64.0.193:11211:1
+   - 10.64.0.194:11211:1
+   - 10.64.0.195:11211:1
diff --git a/wmf-config/twemproxy.yaml b/wmf-config/twemproxy.yaml
new file mode 100644
index 0000000..29e3ef1
--- /dev/null
+++ b/wmf-config/twemproxy.yaml
@@ -0,0 +1,28 @@
+memcached:
+  listen: 127.0.0.1:11211
+  hash: md5
+  distribution: ketama
+  timeout: 250
+  preconnect: true
+  redis: false
+  auto_eject_hosts: true
+  server_retry_timeout: 30000
+  server_failure_limit: 3
+  server_connections: 2
+  servers:
+   - 10.64.0.180:11211:1
+   - 10.64.0.181:11211:1
+   - 10.64.0.182:11211:1
+   - 10.64.0.183:11211:1
+   - 10.64.0.184:11211:1
+   - 10.64.0.185:11211:1
+   - 10.64.0.186:11211:1
+   - 10.64.0.187:11211:1
+   - 10.64.0.188:11211:1
+   - 10.64.0.189:11211:1
+   - 10.64.0.190:11211:1
+   - 10.64.0.191:11211:1
+   - 10.64.0.192:11211:1
+   - 10.64.0.193:11211:1
+   - 10.64.0.194:11211:1
+   - 10.64.0.195:11211:1

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ib327d7131020807b01070d6b2913e226e367dd2b
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Tim Starling <[email protected]>

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

Reply via email to