<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks again James!</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">
So far so good, I plan to test this a little more in a few days but so far it seems the only volume setting I need is:</div><div class="gmail_default"><font face="tahoma, sans-serif">cluster.server-quorum-type: server</font><br>
</div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_default"><font face="tahoma, sans-serif">Default cluster.server-quorum-ratio</font><span style="font-family:tahoma,sans-serif"> >50% </span></div>
<div class="gmail_default"><span style="font-family:tahoma,sans-serif">So 2 is greater than 1.5.. which should allow writes.</span></div><div class="gmail_default"><font face="tahoma, sans-serif"><br></font></div><div class="gmail_extra">
<div class="gmail_quote">On Thu, Mar 6, 2014 at 5:00 PM, James <span dir="ltr"><<a href="mailto:purpleidea@gmail.com" target="_blank">purpleidea@gmail.com</a>></span> wrote:<br><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">
Top posting sorry:<br>
<br>
Yes, you can add a third "arbiter" node, that exists to help with the<br>
quorum issues. AFAICT, all you do is peer is with the cluster (as you<br>
did with the other hosts) but don't add any storage for example.<br>
<br>
Then you set the cluster.quorum* style volume settings that you're<br>
interested. I don't have a list of exactly which ones off the top of<br>
my head, but if you make a list, let me know!<br>
<br>
Cheers,<br>
James<br>
<div><div class="h5"><br>
<br>
On Wed, Mar 5, 2014 at 10:51 PM, Andrew Lau <<a href="mailto:andrew@andrewklau.com">andrew@andrewklau.com</a>> wrote:<br>
> Hi,<br>
><br>
> I'm looking for an option to add an arbiter node to the gluster<br>
> cluster, but the leads I've been following seem to lead to<br>
> inconclusive results.<br>
><br>
> The scenario is, a 2 node replicated cluster. What I want to do is<br>
> introduce a fake host/arbiter node which would set the cluster to a 3<br>
> node meaning, we can meet the conditions of allow over 50% to write<br>
> (ie. 2 can write, 1 can not).<br>
><br>
> elyograg from IRC gave me a few links [1], [2]<br>
> But these appear to be over a year old, and still under review.<br>
><br>
> Gluster 3.2 volume options (I'm running 3.4, but there doesn't seem to<br>
> be an updated page) [3]<br>
> seem to state the that the cluster quorum is identified by active<br>
> peers. This also backs up the statement in [2] in regards to a patch<br>
> for active volumes rather than cluster peers.<br>
><br>
> Has anyone gone down this path, or could they confirm any of these<br>
> leads? (ie. does a host w/o any volumes get considered as a peer<br>
> within the cluster)<br>
><br>
> Thanks,<br>
> Andrew<br>
><br>
> [1] <a href="https://bugzilla.redhat.com/show_bug.cgi?id=914804" target="_blank">https://bugzilla.redhat.com/show_bug.cgi?id=914804</a><br>
> [2] <a href="http://review.gluster.org/#/c/4363/" target="_blank">http://review.gluster.org/#/c/4363/</a><br>
> [3] <a href="http://gluster.org/community/documentation/index.php/Gluster_3.2:_Setting_Volume_Options#cluster.quorum-type" target="_blank">http://gluster.org/community/documentation/index.php/Gluster_3.2:_Setting_Volume_Options#cluster.quorum-type</a><br>
</div></div>> _______________________________________________<br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> <a href="http://supercolony.gluster.org/mailman/listinfo/gluster-users" target="_blank">http://supercolony.gluster.org/mailman/listinfo/gluster-users</a><br>
</blockquote></div><br></div></div>