Bug 1284824
Summary: | [Doc RFE] Add information regarding Support add/remove bricks for Tiering | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Anjana Suparna Sriram <asriram> |
Component: | doc-Administration_Guide | Assignee: | Divya <divya> |
doc-Administration_Guide sub component: | Default | QA Contact: | Nag Pavan Chilakam <nchilaka> |
Status: | CLOSED CURRENTRELEASE | Docs Contact: | |
Severity: | high | ||
Priority: | unspecified | CC: | asriram, asrivast, divya, dlambrig, mhideo, mzywusko, nlevinki, rhs-bugs, rwheeler, storage-doc |
Version: | rhgs-3.1 | Keywords: | Documentation, FutureFeature, ZStream |
Target Milestone: | --- | Flags: | divya:
needinfo-
divya: needinfo- divya: needinfo- |
Target Release: | RHGS 3.1.2 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Enhancement | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 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: | 1270801 | ||
Bug Blocks: |
Description
Anjana Suparna Sriram
2015-11-24 09:55:43 UTC
I have requested Dan to sign-off on "the Expanding a Tiered Volume section" in bug 1270801. Expanding a Tiered Volume - http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20(html-single)/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Red_Hat_Storage_Volumes-Expanding_Tiered_Volume Will move this bug to ON_QA after I receive sign-off on the doc. This section "10.3.1.2. Expanding a Hot Tier Volume" misled me, it suggests you can run the "attach" command against an existing tiered volume. I understand the Prerequisite immediately above states that detach is necessary, but it probably should be reiterated in section 10.3.1.2. In my reading it is easy to miss that prerequisite. If you want to expand the hot tier of a tiered volume, the procedure is 1. detach the tier 2. re-attach the tier with both the old and new (expanded) bricks (In reply to Dan Lambright from comment #3) > This section > > "10.3.1.2. Expanding a Hot Tier Volume" > > misled me, it suggests you can run the "attach" command against an existing > tiered volume. I understand the Prerequisite immediately above states that > detach is necessary, but it probably should be reiterated in section > 10.3.1.2. In my reading it is easy to miss that prerequisite. > > If you want to expand the hot tier of a tiered volume, the procedure is > > 1. detach the tier > 2. re-attach the tier with both the old and new (expanded) bricks Agree with you Dan. There are chances that user might miss the Prerequisite listed above. Updated the doc based on your feedback. Link to the latest doc: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20(html-single)/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Red_Hat_Storage_Volumes-Expanding_Tiered_Volume Could you please review the changes and sign-off? Thanks! I have deleted the prerequisite of detaching a tier in "10.3.1.2. Expanding a Tiered Volume" section and added it as Step 1 in "10.3.1.2. Expanding a Cold Tier Volume" section to ensure that the user do not miss this critical information. Looks good sign-off Based on Comment 6, moving the bug to ON_QA. Link to the latest doc: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20(html-single)/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Red_Hat_Storage_Volumes-Expanding_Tiered_Volume I don't see a need of mentioning the first step in http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20(html-single)/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Data_Tieirng-Detach_Tier Stop the tier by executing the following command # gluster volume rebalance stop tier VOLNAME For example # gluster volume rebalance stop tier test-volume ""You must ensure that there are no I/O happening when detaching a tier."" I believe this warning in the detach tier section should be removed. It is not necessary and would be disruptive to the user. Based on Comment 8 and 9, I have deleted the following from "11.7.1. Detaching a Tier of a Geo-replicated Volume" and "11.7. Detaching a Tier from a Volume" sections: ---- Stop the tier by executing the following command # gluster volume rebalance stop tier VOLNAME For example # gluster volume rebalance stop tier test-volume --- I have also deleted "You must ensure that there are no I/O happening when detaching a tier." warning in the "11.7. Detaching a Tier from a Volume" section. Link to the latest doc: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20%28html-single%29/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Data_Tieirng-Detach_Tier the changes look good. Following are my comments for 11.7. Detaching a Tier from a Volume section: Comment#1: Step#1:gluster volume detach-tier VOLNAME start Comment:I thought we would be using new cli ie, gluster volume detach VOLNAME tier start "eg:gluster v tier countme detach start" Comment#2: Step#2 comment: same as above, we should be using "gluster v tier countme detach status" Comment#3: ==> Same to be implemented for detach tier in Geo-rep session too" Comment#4: 10.3.1.1. Expanding a Cold Tier Volume--> I feel it is incomplete. We are telling admin to detach tier, add new bricks. We should also tell him to reattach the tier, using normal tier attach command Comment#5: We must be putting a note or somekind of highlighting done , for both expanding and shrinking tier volumes, saying " it is a disruptive opeation" Agree with items 1-3 in comment #12, items 4-5 make sense and you can discuss with Alok as well. (In reply to Dan Lambright from comment #13) > Agree with items 1-3 in comment #12, items 4-5 make sense and you can > discuss with Alok as well. I will incorporate items 1 - 3 listed in Comment 12. Alok, Could you please review suggestions/comments 4 and 5 in Comment 12 and share your thoughts. Will be good to include steps 4 and 5. Please explain briefly about "What happens between detach tier and attach tier" e.g. fix-layout taking time etc, instead of just saying that the operation is disruptive. (In reply to Alok from comment #15) > Will be good to include steps 4 and 5. Please explain briefly about "What > happens between detach tier and attach tier" e.g. fix-layout taking time > etc, instead of just saying that the operation is disruptive. Dan, Could you please provide me the text that needs to be added to explain this disruptive operation! "What happens between detach tier and attach tier" e.g. fix-layout taking time
> etc, instead of just saying that the operation is disruptive.
I believe Alok is referring to the internal "fix-layout" operation here.
Check with Alok and the rest of the tiering team to confirm I am not misunderstanding your question.
Assuming we are level-set on what Alok refers to, you could add text to the effect: "When attach tier starts, an internal process called fix-layout commences internally to prepare the hot tier for use. This preparation may take some time. Once it completes normal tiering activities shall begin. This administrator should be aware that this may delay the start of tiering activities."
Divya, Do you want to add the above comment in doc? (In reply to nchilaka from comment #12) > Following are my comments for 11.7. Detaching a Tier from a Volume section: > > Comment#1: > > Step#1:gluster volume detach-tier VOLNAME start > > Comment:I thought we would be using new cli ie, gluster volume detach > VOLNAME tier start "eg:gluster v tier countme detach start" I have updated the command. > > > Comment#2: > Step#2 > comment: same as above, we should be using "gluster v tier countme detach > status" I have updated the command. > > Comment#3: > ==> Same to be implemented for detach tier in Geo-rep session too" I have updated the command. > > > > Comment#4: > 10.3.1.1. Expanding a Cold Tier Volume--> I feel it is incomplete. We are > telling admin to detach tier, add new bricks. > We should also tell him to reattach the tier, using normal tier attach > command > Added a step to reattach the tier. > > > Comment#5: > We must be putting a note or somekind of highlighting done , for both > expanding and shrinking tier volumes, saying " it is a disruptive opeation" Added "When you reattach a tier, an internal process called fix-layout commences internally to prepare the hot tier for use. This process takes time and there will a delay in starting the tiering activities. " in the respective sections as a Important note. Link to the Expanding Volumes section: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20(html-single)/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Red_Hat_Storage_Volumes-Expanding_Tiered_Volume Link to the Shrinking Volumes section: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20(html-single)/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Red_Hat_Storage_Volumes-Shrinking_Tiered_Volume Link to the Detach Tier section: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20%28html-single%29/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Data_Tieirng-Detach_Tier 10.3.1.1 First paragraph, change "increases the" to "increase the" Otherwise looks great. based on comment 20, moving it to verified (In reply to Dan Lambright from comment #20) > 10.3.1.1 > > First paragraph, change "increases the" to "increase the" > > Otherwise looks great. Fixed the typo. Link to the latest doc: http://jenkinscat.gsslab.pnq.redhat.com:8080/job/doc-Red_Hat_Gluster_Storage-3.1-Administration_Guide%20%28html-single%29/lastStableBuild/artifact/tmp/en-US/html-single/index.html#chap-Managing_Red_Hat_Storage_Volumes-Expanding_Tiered_Volume |