<div dir="ltr">When deploying Swift globally, this thread helped:<div><br></div><div>Unique as possible replicates in this order:</div><div>Regions > Zones > Servers > Devices > Device with fewest replicas<br><div>
<br></div><div><a href="http://lists.openstack.org/pipermail/openstack-dev/2013-March/006802.html">http://lists.openstack.org/pipermail/openstack-dev/2013-March/006802.html</a><br></div></div><div><br></div><div>The above config helped. Here's what I'm thinking:</div>
<div><br></div><div><div><b>Logical setup:</b></div><div><b><br></b></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
<font size="1"><font face="courier new, monospace">Region 1<br></font><font face="courier new, monospace"><span class="" style="white-space:pre"> </span>Zone 10<br></font><font face="courier new, monospace"><span class="" style="white-space:pre">                </span>10.1.10.100<br>
</font><font face="courier new, monospace"><span class="" style="white-space:pre">                      </span>sdb1<br></font><font face="courier new, monospace"><span class="" style="white-space:pre">                   </span>sdc1</font></font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sdd1</font><font face="courier new, monospace" style="font-size:x-small"><br></font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sde1</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sdf1</font><font size="1"><font face="courier new, monospace"><br></font><font face="courier new, monospace"><span class="" style="white-space:pre">   </span>Zone 11<br>
</font><font face="courier new, monospace"><span class="" style="white-space:pre">              </span></font><span style="font-family:'courier new',monospace">10.1.11.100<br></span><font face="courier new, monospace"><span class="" style="white-space:pre">                     </span>sdb1<br>
</font><font face="courier new, monospace"><span class="" style="white-space:pre">                      </span>sdc1</font></font><font face="courier new, monospace" style="font-size:x-small"><br></font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                     </span>sdd1</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sde1</font><font face="courier new, monospace" style="font-size:x-small"><br></font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sdf1</font><font size="1"><font face="courier new, monospace"><br>
</font><font face="courier new, monospace">Region 2<br></font><font face="courier new, monospace"><span class="" style="white-space:pre">   </span>Zone 20<br></font><font face="courier new, monospace"><span class="" style="white-space:pre">                </span></font><span style="font-family:'courier new',monospace">10.2.20.100<br>
</span><font face="courier new, monospace"><span class="" style="white-space:pre">                      </span>sdb1<br></font><font face="courier new, monospace"><span class="" style="white-space:pre">                   </span>sdc1</font></font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sdd1</font><font face="courier new, monospace" style="font-size:x-small"><br></font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sde1</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sdf1</font><font size="1"><font face="courier new, monospace"><br></font><font face="courier new, monospace"><span class="" style="white-space:pre">   </span>Zone 21<br>
</font><font face="courier new, monospace"><span class="" style="white-space:pre">              </span></font><span style="font-family:'courier new',monospace">10.2.21.100<br></span><font face="courier new, monospace"><span class="" style="white-space:pre">                     </span>sdb1<br>
</font><font face="courier new, monospace"><span class="" style="white-space:pre">                      </span>sdc1</font></font><font face="courier new, monospace" style="font-size:x-small"><br></font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                     </span>sdd1</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sde1</font><font face="courier new, monospace" style="font-size:x-small"><br></font><font face="courier new, monospace" style="font-size:x-small"><span class="" style="white-space:pre">                  </span>sdf1</font><font size="1"><font face="courier new, monospace"><br>
</font><font face="courier new, monospace"># Create ring<br></font><font face="courier new, monospace">swift-ring-builder account.builder create 10 3 1<br></font><font face="courier new, monospace">swift-ring-builder account.builder add r1z10-</font><span style="font-family:'courier new',monospace">10.1.10.100</span><font face="courier new, monospace">:6002/sdb1 100<br>
</font><font face="courier new, monospace">swift-ring-builder account.builder add r1z10-</font><span style="font-family:'courier new',monospace">10.1.10.100</span><font face="courier new, monospace">:6002/sdc1 100</font></font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r1z10-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.1.10.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sdd1 100</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r1z10-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.1.10.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sde1 100</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r1z10-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.1.10.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sdf1 100</font><font size="1"><font face="courier new, monospace"><br>
</font><font face="courier new, monospace">swift-ring-builder account.builder add r1z11-</font><span style="font-family:'courier new',monospace">10.1.20.100</span><font face="courier new, monospace">:6002/sdb1 100<br>
</font><font face="courier new, monospace">swift-ring-builder account.builder add r1z11-</font><span style="font-family:'courier new',monospace">10.1.20.100</span><span style="font-family:'courier new',monospace">:6002/sdc1 100</span></font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r1z11-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.1.20.100</span><span style="font-size:x-small;font-family:'courier new',monospace">:6002/sdd1 100</span><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r1z11-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.1.20.100</span><span style="font-size:x-small;font-family:'courier new',monospace">:6002/sde1 100</span><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r1z11-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.1.20.100</span><span style="font-size:x-small;font-family:'courier new',monospace">:6002/sdf1 100</span><font size="1"><span style="font-family:'courier new',monospace"><br>
</span><font face="courier new, monospace">swift-ring-builder account.builder add r2z20-</font><span style="font-family:'courier new',monospace">10.2.20.100</span><font face="courier new, monospace">:6002/sdb1 100<br>
</font><font face="courier new, monospace">swift-ring-builder account.builder add r2z20-</font><span style="font-family:'courier new',monospace">10.2.20.100</span><font face="courier new, monospace">:6002/sdc1 100</font></font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r2z20-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.2.20.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sdd1 100</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r2z20-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.2.20.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sde1 100</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r2z20-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.2.20.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sdf1 100</font><font size="1"><font face="courier new, monospace"><br>
</font><font face="courier new, monospace">swift-ring-builder account.builder add r2z21-</font><span style="font-family:'courier new',monospace">10.2.21.100</span><font face="courier new, monospace">:6002/sdb1 100<br>
</font><font face="courier new, monospace">swift-ring-builder account.builder add r2z21-</font><span style="font-family:'courier new',monospace">10.2.21.100</span><font face="courier new, monospace">:6002/sdc1 100</font></font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r2z21-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.2.21.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sdd1 100</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r2z21-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.2.21.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sde1 100</font><font face="courier new, monospace" style="font-size:x-small"><br>
</font><font face="courier new, monospace" style="font-size:x-small">swift-ring-builder account.builder add r2z21-</font><span style="font-size:x-small;font-family:'courier new',monospace">10.2.21.100</span><font face="courier new, monospace" style="font-size:x-small">:6002/sdf1 100</font><font size="1"><font face="courier new, monospace"><br>
</font><font face="courier new, monospace"> <br></font><font face="courier new, monospace"># Rebalance<br></font><font face="courier new, monospace">swift-ring-builder account.builder rebalance</font></font></blockquote></div>
<div><br></div><div>Haven't run this yet but pretty sure the ring builder will work fine. </div><div><br></div><div><br></div></div><div class="gmail_extra"><br clear="all"><div><div dir="ltr"><div><font><div style="font-family:arial;font-size:small">
<b><i><br>Adam Lawson</i></b></div><div><font><font color="#666666" size="1"><div style="font-family:arial;font-size:small">AQORN, Inc.</div><div style="font-family:arial;font-size:small">427 North Tatnall Street</div><div style="font-family:arial;font-size:small">
Ste. 58461</div><div style="font-family:arial;font-size:small">Wilmington, Delaware 19801-2230</div><div style="font-family:arial;font-size:small">Toll-free: (888) 406-7620</div></font></font></div></font></div><div style="font-family:arial;font-size:small">
<img src="http://www.aqorn.com/images/logo.png" width="96" height="39"><br></div></div></div>
<br><br><div class="gmail_quote">On Fri, Feb 21, 2014 at 2:20 PM, Luis de Bethencourt <span dir="ltr"><<a href="mailto:luis@debethencourt.com" target="_blank">luis@debethencourt.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra"><div class="gmail_quote"><div class="">On 21 February 2014 16:50, Adam Lawson <span dir="ltr"><<a href="mailto:alawson@aqorn.com" target="_blank">alawson@aqorn.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">This is a first for me as well so I'm learning as I go here. But I'm planning to build the rings with r1z100, r2z200 etc with each device. I found help over at Swiftstack with their articles if that helps. More than willing to share any/all successes we see along the way.</div>


<div class="gmail_extra"><div><br clear="all"></div></div></blockquote><div><br></div></div><div>Hi Adam,</div><div><br></div><div>Could you specify which articles in particular helped?</div><div><br></div><div>Thanks,</div>

<div>Luis</div><div><div class="h5"><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="gmail_extra"><div><div><div dir="ltr"><div><font><div style="font-family:arial;font-size:small">

<b><i><br>Adam Lawson</i></b></div><div><font><font color="#666666" size="1"><div style="font-family:arial;font-size:small">
AQORN, Inc.</div><div style="font-family:arial;font-size:small">427 North Tatnall Street</div><div style="font-family:arial;font-size:small">Ste. 58461</div><div style="font-family:arial;font-size:small">Wilmington, Delaware 19801-2230</div>


<div style="font-family:arial;font-size:small">Toll-free: <a href="tel:%28888%29%20406-7620" value="+18884067620" target="_blank">(888) 406-7620</a></div></font></font></div></font></div><div style="font-family:arial;font-size:small">

<img src="http://www.aqorn.com/images/logo.png" width="96" height="39"><br>
</div></div></div>
<br><br></div><div><div><div class="gmail_quote">On Fri, Feb 14, 2014 at 4:18 PM, Remo Mattei <span dir="ltr"><<a href="mailto:remo@italy1.com" target="_blank">remo@italy1.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">


<div style="word-wrap:break-word">Just adding a question, <div>what config options have you used to make the multi-region? I have done a few swift but none with multi. </div><div><br></div><div>Thanks<br><div><div><div>
<div>On Feb 14, 2014, at 15:59, Richard Raseley <<a href="mailto:richard@raseley.com" target="_blank">richard@raseley.com</a>> wrote:</div><br></div></div><blockquote type="cite"><div><div><div dir="ltr">
<div class="gmail_extra"><div class="gmail_quote">On Tue, Feb 11, 2014 at 3:38 PM, Adam Lawson <span dir="ltr"><<a href="mailto:alawson@aqorn.com" target="_blank">alawson@aqorn.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hola peoples.<div><br></div><div>I'm working on a general purpose Swift deployment that needs to scale globally. For example, nodes in West Coast, East Coast, EU and APAC. We have a Swift PoC cluster that spans West Coast and EU and it works fine, replicating using zones for now.<div>




<br></div><div>For those who are scaling to that degree, are you building multiple unique clusters and replicating between them somehow or using regions and replicating within essentially one giant cluster and using affinity rules like read_affinity and write_affinity*?</div>



</div></div></blockquote><div><br></div><div>Utilizing the region capability of Swift is a good option depending on your use case (I've used a region-based configuration in one production deployment). Can you talk more about your data structure / access patterns in order to help myself (and others) give better advice?</div>



<div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span><font color="#888888"><div><div dir="ltr"><div><font><div style="font-family:arial;font-size:small">



<b><i><br>Adam Lawson</i></b></div><div><font><font color="#666666" size="1"><div style="font-family:arial;font-size:small">
AQORN, Inc.</div><div style="font-family:arial;font-size:small">427 North Tatnall Street</div><div style="font-family:arial;font-size:small">Ste. 58461</div><div style="font-family:arial;font-size:small">Wilmington, Delaware 19801-2230</div>




<div style="font-family:arial;font-size:small">Toll-free: <a href="tel:%28888%29%20406-7620" value="+18884067620" target="_blank">(888) 406-7620</a></div></font></font></div></font></div><div style="font-family:arial;font-size:small">



<img src="http://www.aqorn.com/images/logo.png" width="96" height="39"><br>
</div></div></div>
</font></span></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div></div></div>


!DSPAM:1,52feb08f274501761617984!
_______________________________________________<div><br>Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>


Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>


<br><br></div>!DSPAM:1,52feb08f274501761617984!<br></blockquote></div><br></div></div><br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div></div></div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to     : <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div></div></div><br></div></div>
</blockquote></div><br></div>