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