<div dir="ltr"><div>Thanks Christian. <br></div>That reply covered everything I was seeking to know on this subject.<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Apr 4, 2014 at 3:11 PM, Christian Schwede <span dir="ltr"><<a href="mailto:christian.schwede@enovance.com" target="_blank">christian.schwede@enovance.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
Am 04.04.14 11:14, schrieb Shyam Prasad N:<br>
<div><div class="h5">> I have a question regarding the ring building process in a swift cluster.<br>
> Many sources online suggest building the rings using ring-builder and<br>
> scp the generated ring files to all the nodes in the cluster.<br>
> What I'm trying to understand is if the scp step is just to simplify<br>
> things, or is it absolutely necessary that the ring files on all the<br>
> nodes is exactly the same?<br>
> Can I instead individually build the rings on each node individually?<br>
<br>
</div></div>no, the ring files must be the same on all nodes.<br>
<br>
Ring files in combination with the full object name define which storage<br>
nodes are responsible for the object.<br>
<br>
A very simplified example with four storage servers A, B, C, D and only<br>
two replicas:<br>
<br>
1. The proxy server wants to store an object and based on its ring file<br>
decides that storage server "A" and "B" should store it.<br>
<br>
2. The storage nodes "A" and "B" use different ringfiles; their<br>
replicators now assume that the object is misplaced and will replicate<br>
the object to nodes "C" and "D".<br>
<br>
3. Now the proxy wants to get the object sometime later, and because of<br>
the different ring expects the object on server "A" and "B". But the<br>
object is no longer stored on these servers and the request will fail.<br>
<br>
Christian<br>
<br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</blockquote></div><br><br clear="all"><br>-- <br>-Shyam
</div></div>