Filippo Giunchedi has uploaded a new change for review.

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

Change subject: codfw-prod: initial ring
......................................................................

codfw-prod: initial ring

prime the ring with three machines, one per zone (i.e. row):
ms-be2001, ms-be2005, ms-be2009

Change-Id: Ie37adeb1eabcc176f12804da48246f7377a902d1
---
M Makefile
A codfw-prod/account.builder
A codfw-prod/account.dump
A codfw-prod/account.ring.gz
A codfw-prod/container.builder
A codfw-prod/container.dump
A codfw-prod/container.ring.gz
A codfw-prod/object.builder
A codfw-prod/object.dump
A codfw-prod/object.ring.gz
10 files changed, 61 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/software/swift-ring 
refs/changes/92/161992/1

diff --git a/Makefile b/Makefile
index b0e38e2..8fab645 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
 DESTHOST=palladium.eqiad.wmnet
-TARGETS=eqiad-prod esams-prod
+TARGETS=eqiad-prod esams-prod codfw-prod
 
 BUILDER_FILES=$(foreach dir,$(TARGETS),$(wildcard $(dir)/*.builder))
 RING_FILES=$(foreach builder,$(BUILDER_FILES),$(subst 
.builder,.ring.gz,$(builder)))
diff --git a/codfw-prod/account.builder b/codfw-prod/account.builder
new file mode 100644
index 0000000..f62af7b
--- /dev/null
+++ b/codfw-prod/account.builder
Binary files differ
diff --git a/codfw-prod/account.dump b/codfw-prod/account.dump
new file mode 100644
index 0000000..a2f7a68
--- /dev/null
+++ b/codfw-prod/account.dump
@@ -0,0 +1,10 @@
+codfw-prod/account.builder, build version 6
+65536 partitions, 3.000000 replicas, 1 regions, 3 zones, 6 devices, 100.00 
balance
+The minimum number of hours before a partition can be reassigned is 3
+Devices:    id  region  zone      ip address  port  replication ip  
replication port      name weight partitions balance meta
+             0       1     1     10.192.0.19  6002     10.192.0.19             
 6002      sdm3  92.00          0 -100.00 
+             1       1     1     10.192.0.19  6002     10.192.0.19             
 6002      sdn3  92.00          0 -100.00 
+             2       1     2    10.192.16.21  6002    10.192.16.21             
 6002      sdm3  92.00          0 -100.00 
+             3       1     2    10.192.16.21  6002    10.192.16.21             
 6002      sdn3  92.00          0 -100.00 
+             4       1     3    10.192.32.14  6002    10.192.32.14             
 6002      sdm3  92.00          0 -100.00 
+             5       1     3    10.192.32.14  6002    10.192.32.14             
 6002      sdn3  92.00          0 -100.00 
diff --git a/codfw-prod/account.ring.gz b/codfw-prod/account.ring.gz
new file mode 100644
index 0000000..d9272d6
--- /dev/null
+++ b/codfw-prod/account.ring.gz
Binary files differ
diff --git a/codfw-prod/container.builder b/codfw-prod/container.builder
new file mode 100644
index 0000000..5ddcfaa
--- /dev/null
+++ b/codfw-prod/container.builder
Binary files differ
diff --git a/codfw-prod/container.dump b/codfw-prod/container.dump
new file mode 100644
index 0000000..60c87c4
--- /dev/null
+++ b/codfw-prod/container.dump
@@ -0,0 +1,10 @@
+codfw-prod/container.builder, build version 6
+65536 partitions, 3.000000 replicas, 1 regions, 3 zones, 6 devices, 100.00 
balance
+The minimum number of hours before a partition can be reassigned is 3
+Devices:    id  region  zone      ip address  port  replication ip  
replication port      name weight partitions balance meta
+             0       1     1     10.192.0.19  6001     10.192.0.19             
 6001      sdm3  92.00          0 -100.00 
+             1       1     1     10.192.0.19  6001     10.192.0.19             
 6001      sdn3  92.00          0 -100.00 
+             2       1     2    10.192.16.21  6001    10.192.16.21             
 6001      sdm3  92.00          0 -100.00 
+             3       1     2    10.192.16.21  6001    10.192.16.21             
 6001      sdn3  92.00          0 -100.00 
+             4       1     3    10.192.32.14  6001    10.192.32.14             
 6001      sdm3  92.00          0 -100.00 
+             5       1     3    10.192.32.14  6001    10.192.32.14             
 6001      sdn3  92.00          0 -100.00 
diff --git a/codfw-prod/container.ring.gz b/codfw-prod/container.ring.gz
new file mode 100644
index 0000000..51a3842
--- /dev/null
+++ b/codfw-prod/container.ring.gz
Binary files differ
diff --git a/codfw-prod/object.builder b/codfw-prod/object.builder
new file mode 100644
index 0000000..a362997
--- /dev/null
+++ b/codfw-prod/object.builder
Binary files differ
diff --git a/codfw-prod/object.dump b/codfw-prod/object.dump
new file mode 100644
index 0000000..259098a
--- /dev/null
+++ b/codfw-prod/object.dump
@@ -0,0 +1,40 @@
+codfw-prod/object.builder, build version 36
+65536 partitions, 3.000000 replicas, 1 regions, 3 zones, 36 devices, 100.00 
balance
+The minimum number of hours before a partition can be reassigned is 3
+Devices:    id  region  zone      ip address  port  replication ip  
replication port      name weight partitions balance meta
+             0       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sda1 2000.00          0 -100.00 
+             1       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdb1 2000.00          0 -100.00 
+             2       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdc1 2000.00          0 -100.00 
+             3       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdd1 2000.00          0 -100.00 
+             4       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sde1 2000.00          0 -100.00 
+             5       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdf1 2000.00          0 -100.00 
+             6       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdg1 2000.00          0 -100.00 
+             7       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdh1 2000.00          0 -100.00 
+             8       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdi1 2000.00          0 -100.00 
+             9       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdj1 2000.00          0 -100.00 
+            10       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdk1 2000.00          0 -100.00 
+            11       1     1     10.192.0.19  6000     10.192.0.19             
 6000      sdl1 2000.00          0 -100.00 
+            12       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sda1 2000.00          0 -100.00 
+            13       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdb1 2000.00          0 -100.00 
+            14       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdc1 2000.00          0 -100.00 
+            15       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdd1 2000.00          0 -100.00 
+            16       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sde1 2000.00          0 -100.00 
+            17       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdf1 2000.00          0 -100.00 
+            18       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdg1 2000.00          0 -100.00 
+            19       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdh1 2000.00          0 -100.00 
+            20       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdi1 2000.00          0 -100.00 
+            21       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdj1 2000.00          0 -100.00 
+            22       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdk1 2000.00          0 -100.00 
+            23       1     2    10.192.16.21  6000    10.192.16.21             
 6000      sdl1 2000.00          0 -100.00 
+            24       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sda1 2000.00          0 -100.00 
+            25       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdb1 2000.00          0 -100.00 
+            26       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdc1 2000.00          0 -100.00 
+            27       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdd1 2000.00          0 -100.00 
+            28       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sde1 2000.00          0 -100.00 
+            29       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdf1 2000.00          0 -100.00 
+            30       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdg1 2000.00          0 -100.00 
+            31       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdh1 2000.00          0 -100.00 
+            32       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdi1 2000.00          0 -100.00 
+            33       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdj1 2000.00          0 -100.00 
+            34       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdk1 2000.00          0 -100.00 
+            35       1     3    10.192.32.14  6000    10.192.32.14             
 6000      sdl1 2000.00          0 -100.00 
diff --git a/codfw-prod/object.ring.gz b/codfw-prod/object.ring.gz
new file mode 100644
index 0000000..f743643
--- /dev/null
+++ b/codfw-prod/object.ring.gz
Binary files differ

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: Ie37adeb1eabcc176f12804da48246f7377a902d1
Gerrit-PatchSet: 1
Gerrit-Project: operations/software/swift-ring
Gerrit-Branch: master
Gerrit-Owner: Filippo Giunchedi <[email protected]>

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

Reply via email to