[Gluster-users] Clarification on cluster quorum

Andrew Lau andrew at andrewklau.com
Mon Mar 10 06:43:10 UTC 2014


Thanks again James!

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:
cluster.server-quorum-type: server

Default cluster.server-quorum-ratio >50%
So 2 is greater than 1.5.. which should allow writes.

On Thu, Mar 6, 2014 at 5:00 PM, James <purpleidea at gmail.com> wrote:

> Top posting sorry:
>
> Yes, you can add a third "arbiter" node, that exists to help with the
> quorum issues. AFAICT, all you do is peer is with the cluster (as you
> did with the other hosts) but don't add any storage for example.
>
> Then you set the cluster.quorum* style volume settings that you're
> interested. I don't have a list of exactly which ones off the top of
> my head, but if you make a list, let me know!
>
> Cheers,
> James
>
>
> On Wed, Mar 5, 2014 at 10:51 PM, Andrew Lau <andrew at andrewklau.com> wrote:
> > Hi,
> >
> > I'm looking for an option to add an arbiter node to the gluster
> > cluster, but the leads I've been following seem to lead to
> > inconclusive results.
> >
> > The scenario is, a 2 node replicated cluster. What I want to do is
> > introduce a fake host/arbiter node which would set the cluster to a 3
> > node meaning, we can meet the conditions of allow over 50% to write
> > (ie. 2 can write, 1 can not).
> >
> > elyograg from IRC gave me a few links [1], [2]
> > But these appear to be over a year old, and still under review.
> >
> > Gluster 3.2 volume options (I'm running 3.4, but there doesn't seem to
> > be an updated page) [3]
> > seem to state the that the cluster quorum is identified by active
> > peers. This also backs up the statement in [2] in regards to a patch
> > for active volumes rather than cluster peers.
> >
> > Has anyone gone down this path, or could they confirm any of these
> > leads? (ie. does a host w/o any volumes get considered as a peer
> > within the cluster)
> >
> > Thanks,
> > Andrew
> >
> > [1] https://bugzilla.redhat.com/show_bug.cgi?id=914804
> > [2] http://review.gluster.org/#/c/4363/
> > [3]
> http://gluster.org/community/documentation/index.php/Gluster_3.2:_Setting_Volume_Options#cluster.quorum-type
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://supercolony.gluster.org/mailman/listinfo/gluster-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://supercolony.gluster.org/pipermail/gluster-users/attachments/20140310/0e46d903/attachment.html>


More information about the Gluster-users mailing list