<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<br>
<br>
<div class="moz-cite-prefix">On 10/18/2015 07:27 PM, Nicolas LIENARD
wrote:<br>
</div>
<blockquote
cite="mid:999EFF8B-4E1E-4776-823B-54A4BF6DFE25@distran.org"
type="cite">Hey Nil <br>
<br>
What about <a moz-do-not-send="true"
href="https://gluster.readthedocs.org/en/release-3.7.0/Features/afr-arbiter-volumes">https://gluster.readthedocs.org/en/release-3.7.0/Features/afr-arbiter-volumes</a>/
?<br>
<br>
Regards<br>
Nico <br>
<br>
<br>
<div class="gmail_quote">Le 18 octobre 2015 15:12:23 GMT+02:00,
Nir Soffer <a class="moz-txt-link-rfc2396E" href="mailto:nsoffer@redhat.com"><nsoffer@redhat.com></a> a écrit :
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre class="k9mail">On Sat, Oct 17, 2015 at 12:45 PM, Nicolas LIENARD <a class="moz-txt-link-rfc2396E" href="mailto:gluster@distran.org"><gluster@distran.org></a> wrote:
<blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> Hi
Currently, i ve 3 nodes, 2 in same DC and a third in another DC.
They are all bridged together through a vpn.
I know a cluster is at least 3 nodes to satisfy the quorum.
</blockquote></pre>
</blockquote>
</div>
</blockquote>
<br>
<br>
Just adding a 3rd node (without actually using it for 3 way
replication) might not help in preventing split-brains. gluster has
client-quorum and server-quorum. Have a look at
<a class="moz-txt-link-freetext" href="http://comments.gmane.org/gmane.comp.file-systems.gluster.user/22609">http://comments.gmane.org/gmane.comp.file-systems.gluster.user/22609</a>
for some information.<br>
<br>
If you are indeed using it as a replica-3, then it is better to have
all 3 nodes in the same DC. gluster clients sends every write() to
all bricks of the replica (and waits for their responses too), so if
one of them is in another DC, it might slow writes due to network
latency.<br>
<blockquote
cite="mid:999EFF8B-4E1E-4776-823B-54A4BF6DFE25@distran.org"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre class="k9mail"><blockquote class="gmail_quote" style="margin: 0pt 0pt 1ex 0.8ex; border-left: 1px solid #729fcf; padding-left: 1ex;"> My question is to know if i can have my VM balancing on the 2 fast nodes
with HA and glusterfs replica 2.
</blockquote></pre>
</blockquote>
</div>
</blockquote>
<br>
<br>
replica 2 definitely provides HA but if you have more chances of
files ending in split-brain if you have frequent network disconnects
, which is why replica 3 with client-quorum set to 'auto' is better
for preventing split-brains.<br>
arbiter-volumes are a kind of a sweet-spot between replica-2 and
replica-3 that can prevent split-brains. The link that Nir shared
describes it and how to create one etc.<br>
<br>
Regards,<br>
Ravi<br>
<blockquote
cite="mid:999EFF8B-4E1E-4776-823B-54A4BF6DFE25@distran.org"
type="cite">
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt
0.8ex; border-left: 1px solid rgb(204, 204, 204);
padding-left: 1ex;">
<pre class="k9mail">
gluster replica 2 is not supported.
Nir
</pre>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Users@ovirt.org">Users@ovirt.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ovirt.org/mailman/listinfo/users">http://lists.ovirt.org/mailman/listinfo/users</a>
</pre>
</blockquote>
<br>
</body>
</html>