Bug 1497673 - [GSS] Doc doesn't specify which volumes and what replica count is supported with RHV
Summary: [GSS] Doc doesn't specify which volumes and what replica count is supported w...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: doc-Configuring_Red_Hat_Enterprise_Virtualization_with_RHGS
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ---
: RHGS 3.4.z Async Update
Assignee: Laura Bailey
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks: 1649191 1660873
TreeView+ depends on / blocked
 
Reported: 2017-10-02 12:25 UTC by Bipin Kunal
Modified: 2020-12-14 10:20 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2019-02-15 10:07:45 UTC
Embargoed:


Attachments (Terms of Use)

Description Bipin Kunal 2017-10-02 12:25:05 UTC
Description of problem: 

    AFAIK we support only replicate or distribute-replicate volume with replica 3 or arbiter with sharding. These things are not mentioned clearly in the doc.

    We should be precise and clear on what is supported and what is recommended.


This Bug has been opened to clarify and document few things :

    1) replicate or distribute-replicate volume(with and without sharding): Is this a supported volume or recommended volume. Is any other volume type supported for RHV? Only supported volume should be clearly indicated in the doc.
        As of now in the section :
             3.1. Using Red Hat Gluster Storage Volumes in the Red Hat Virtualization Manager 
         sub section: 7. Configure Storage
    """"
     For instructions on creating a Red Hat Gluster Storage Volume, see chapter 
     Red Hat Gluster Storage Volume in the Red Hat Gluster Storage 
     Administration Guide: https://access.redhat.com/documentation/en-
     us/red_hat_gluster_storage/3.3/html/administration_guide/chap-
     red_hat_storage_volumes.
    """"

   We directly point to a section in RHGS admin guide which discusses all types of volumes.

    2) Replica 3 or replica 3 with arbiter: Is this a support requirement or recommendation? 
       Current doc is a bit confusing and we do not have a strict guidance here.

      In Section 2.1. Prerequisites : 

       """
 
         To reduce the risk of split-brain conditions developing in the cluster, 
         Red Hat requires three-way replication when using Red Hat Gluster 
         Storage with Red Hat Virtualization. Three-way replication is provided 
         by three-way replicated volumes (replica 3), three-way distributed 
         replicated volumes (replica count 3), and arbitrated replicated and 
         distributed arbitrated replicated volumes (replica 3 arbiter 1).
       """

      As this is mentioned under Prerequisites, it gives a sense that this is a mandatory requirement. but we have mentioned same in section: Chapter 6. Recommended Best Practices and Troubleshooting and 3.1. Using Red Hat Gluster Storage Volumes in the Red Hat Virtualization Manager (7. Configure Storage) as well.

      A recommended practice cannot be a prerequisite or vice-versa. 

    3) What should be support statement for sharding: As of now sharding I guess is only supported for RHV use case but I don't see any mention of in our RHV[1] doc. Is this mandatory? If yes, what about existing volumes?


[1] https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.3/html-single/configuring_red_hat_virtualization_with_red_hat_gluster_storage

Comment 26 SATHEESARAN 2019-01-31 18:46:18 UTC
Laura,

1. Contents of virt profile
-----------------------------
There are couple of changes.
The default shard-size is 64MB and its not set explicitly

Contents of virt profile in the document needs to be corrected.

[root@ ~]# cat /var/lib/glusterd/groups/virt 
performance.quick-read=off
performance.read-ahead=off
performance.io-cache=off
performance.low-prio-threads=32
network.remote-dio=enable
cluster.eager-lock=enable
cluster.quorum-type=auto
cluster.server-quorum-type=server
cluster.data-self-heal-algorithm=full
cluster.locking-scheme=granular
cluster.shd-max-threads=8
cluster.shd-wait-qlength=10000
features.shard=on
user.cifs=off
cluster.choose-local=off
client.event-threads=4
server.event-threads=4
performance.client-io-threads=on

2. Section 4.1, point-2 , regarding enabling granular-entry-heal.

In this point, there is recommendation to add the option 'cluster.granular-entry-heal=enable' to virt profile.
This shouldn't be added to virt profile but rather it should be recommended to be set on the volume as:

# gluster volume heal <vol> granular-entry-heal enable


@Laura, could you make these changes ?

Comment 29 SATHEESARAN 2019-02-07 07:41:14 UTC
Laura,

Could you add 3 more missing volume options in the virt profile ?

Comment 31 SATHEESARAN 2019-02-13 09:31:30 UTC
The content meets the expectation and moving this bug to verified


Note You need to log in before you can comment on or make changes to this bug.