Bug 1032081

Summary: Enable quorum in profile virt
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vijay Bellur <vbellur>
Component: glusterdAssignee: Vijaikumar Mallikarjuna <vmallika>
Status: CLOSED ERRATA QA Contact: SATHEESARAN <sasundar>
Severity: high Docs Contact:
Priority: high    
Version: 2.1CC: gluster-bugs, grajaiya, kparthas, psriniva, smohan, vagarwal, vbellur
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 2.1.2   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.4.0.49rhs-1.el6rhs Doc Type: Bug Fix
Doc Text:
To prevent occurrences of split-brain, when a volume is used for storing virtual machine images, it would be necessary to enable both client and server side quorum in the virt profile.
Story Points: ---
Clone Of: 1032080 Environment:
Last Closed: 2014-02-25 08:04:49 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1032080    
Bug Blocks:    

Description Vijay Bellur 2013-11-19 14:09:23 UTC
+++ This bug was initially created as a clone of Bug #1032080 +++

Description of problem:

To prevent occurrences of split-brain when a volume is used for storing virtual machine images, it would be necessary to enable both client and server side quorum. The tunables that are necessary for enabling quorum need to be part of the virt profile which gets packaged with glusterfs.


Version-Release number of selected component (if applicable): mainline


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Vijaikumar Mallikarjuna 2013-12-12 10:19:39 UTC
Patch can be found here: https://code.engineering.redhat.com/gerrit/#/c/17207/

Comment 3 SATHEESARAN 2013-12-19 13:54:05 UTC
Verified with glusterfs-3.4.0.51rhs.el6rhs

[root@rhss1 ~]# cat /var/lib/glusterd/groups/virt 
quick-read=off
read-ahead=off
io-cache=off
stat-prefetch=off
eager-lock=enable
remote-dio=enable
quorum-type=auto
server-quorum-type=server

[root@rhss1 ~]# gluster volume set repvol group virt
volume set: success

[root@rhss1 ~]# gluster volume info repvol
 
Volume Name: repvol
Type: Replicate
Volume ID: 5d6f89d5-cedb-454f-82d0-54be33f2cb55
Status: Started
Number of Bricks: 1 x 2 = 2
Transport-type: tcp
Bricks:
Brick1: 10.70.37.86:/rhs/brick4/repdir1
Brick2: 10.70.37.187:/rhs/brick4/repdir1
Options Reconfigured:
cluster.server-quorum-type: server
cluster.quorum-type: auto
network.remote-dio: enable
cluster.eager-lock: enable
performance.stat-prefetch: off
performance.io-cache: off
performance.read-ahead: off
performance.quick-read: off

Comment 5 errata-xmlrpc 2014-02-25 08:04:49 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHEA-2014-0208.html