Bug 1728550

Summary: geo-rep commands are misaligned in admin doc
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Kshithij Iyer <kiyer>
Component: DocumentationAssignee: Amrita <asakthiv>
Status: CLOSED CURRENTRELEASE QA Contact: Sayalee <saraut>
Severity: low Docs Contact:
Priority: unspecified    
Version: rhgs-3.5CC: asakthiv, asriram, pasik, puebele, rhs-bugs, saraut, storage-doc, storage-qa-internal, vdas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2020-03-17 12:07:12 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:    
Bug Blocks: 1782130    

Description Kshithij Iyer 2019-07-10 07:04:02 UTC
Document URL: 
https://access.redhat.com/documentation/en-us/red_hat_gluster_storage/3.4/html-single/administration_guide/index#Promoting_a_Slave_to_Master

Section Number and Name: 
IV. Manage
- Chapter 10. Managing Geo-replication
-- 10.7. Disaster Recovery
--- 10.7.1. Failover: Promoting a Slave to Master

Describe the issue: 
In the second point the command seem to be misaligned:

2. Run the following commands on the slave machine to promote it to be the master:

# gluster volume set VOLNAME geo-replication.indexing on
 # gluster volume set VOLNAME changelog on

For example

# gluster volume set slave-vol geo-replication.indexing on
 volume set: success
 # gluster volume set slave-vol changelog on
 volume set: success

Suggestions for improvement: 
Remove the extra space and align the commands as shown below.

2. Run the following commands on the slave machine to promote it to be the master:

# gluster volume set VOLNAME geo-replication.indexing on
# gluster volume set VOLNAME changelog on

For example

# gluster volume set slave-vol geo-replication.indexing on
 volume set: success
# gluster volume set slave-vol changelog on
 volume set: success


Additional information: