[Gluster-users] Quorum setup for 2+1

Mitja Mihelič mitja.mihelic at arnes.si
Tue Mar 10 13:30:53 UTC 2015


Hi!

I wold like to setup server side quorum by using the following setup:
- 2x storage nodes (s-node-1, s-node-2)
- 1x arbiter node (s-node-3)
So the trusted storage pool has three peers.

This is my volume info:
Volume Name: wp-vol-0
Type: Replicate
Volume ID: 8808ee87-b201-474f-83ae-6f08eb259b43
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: s-node-1:/gluster/gvol0/brick0/brick
Brick2: s-node-2:/gluster/gvol0/brick0/brick

I would like to setup the server side quorum so that any two nodes would 
have quorum.
s-node-1, s-node-2 = quorum
s-node-1, s-node-3 = quorum
s-node-2, s-node-3 = quorum
According to the Gluster guys at FOSDEM this should be possible.

I have been fiddling with the quorum options, but have not been able to 
achieve the desired setup.
Theoretically I would do:
# gluster volume set wp-vol-0 cluster.server-quorum-type server
# gluster volume set wp-vol-0 cluster.server-quorum-ratio 60

But the cluster.server-quorum-ratio option produces an error:
volume set: failed: Not a valid option for single volume

How would I achieve the desired setup?

Kind regards,
Mitja

-- 
--
Mitja Mihelič
ARNES, Tehnološki park 18, p.p. 7, SI-1001 Ljubljana, Slovenia
tel: +386 1 479 8877, fax: +386 1 479 88 78



More information about the Gluster-users mailing list