<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On 10 June 2015 at 12:24, Gabriel Kuri <span dir="ltr">&lt;<a href="mailto:gkuri@ieee.org" target="_blank">gkuri@ieee.org</a>&gt;</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><div><div><div>I need some clarification on how geo-replication (gluster =&gt; 3.5) operates, as I&#39;m not fully understanding how the new and improved version works from the docs.<br><br></div>Let&#39;s assume the following scenario, three servers setup in a geo-rep cluster all separated by a WAN:<br><br></div>&lt;server a&gt; -- WAN -- &lt;server b&gt; -- WAN -- &lt;server c&gt;<br><br></div>Does this scenario allow for a client with the a volume mounted to write to any of the servers directly and the write then gets replicated from that server to the other servers? For example, a client has the volume mounted (via FUSE) on server C and writes a file, does that file get written to server C directly and then the file replicates (asynchronously) to server A and server B ? Or is it that the writes only occur on the &quot;master&quot; of that geo-rep volume? I&#39;m trying to understand if the replication for geo-rep occurs in a master-master setup or if it&#39;s still master-slave ? What was the big change for geo-rep in 3.5 ?<br></div></div></blockquote><div><br></div><div>glusterfs doesn&#39;t support master-master yet. In your case, one of the servers (A or B or C) should be a master and your client should write to only that volume. Other two volumes should be read-only till volume in server-A fails for some reason.<br><br></div><div>The big change in glusterfs-3.5 was the design of the geo-replication. Earlier one single node in master volume was responsible for syncing data to slave (which has lots of performance problems). So from &gt; glusterfs-3.5, the responsibility of syncing is shared across servers of volume in master.<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><br></div><div>If it&#39;s not master-master, how does one get master-master replication working over a WAN?<br></div></div></blockquote><div><br></div><div>AFAIK, there is no work around as of now, at least I am not aware of it<br><br></div><div>Best Regards,<br></div><div>Vishwanath<br><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div></div><div><br></div><div>Thanks ...<br></div><br></div>
<br>_______________________________________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://www.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://www.gluster.org/mailman/listinfo/gluster-users</a><br></blockquote></div><br></div></div>