Bug 763805 (GLUSTER-2073)

Summary: Migrating and decomissioning a node
Product: [Community] GlusterFS Reporter: Allen Lu <allen>
Component: cliAssignee: Divya <divya>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: aavati, gluster-bugs, rabhat, renee, vs
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Allen Lu 2010-11-10 01:07:52 UTC
When one wants to migrate data from one node to another in order to decomission a node, theres several steps involved. However it involves temporarily offlining data.

1. replace-brick to migrate data from one node to another.
2. remove-brick to remove original brick location.
3. add-brick to add the new brick location.

In step 2, theres downtime. According to what we advertise, customer would be led to believe this is online migration. 

If we pointed the bricks in the volume automatically after the replace-brick command, it would make everything easier and hopefully without the need to issue two more command and allow data to remain online.

Question is are these the right steps or was replace-brick meant to point to the new location?

Comment 1 Anand Avati 2010-11-10 02:13:31 UTC
If one wants to migrate data from one node to another in order to decommission a node, the steps involved are -

1. replace-brick old:/path new:/path
2. replace-brick status (to monitor progress)
3. replace-brick commit (after completion, or replace-brick abort)

There is no temporary offline of data.

Comment 2 Allen Lu 2010-11-10 14:50:06 UTC
This is more of a lack of documentation than invalid. How does this get to our web site or documentation?

Comment 3 Allen Lu 2010-11-10 14:53:04 UTC
No commit option

volume replace-brick <VOLNAME> (<BRICK> <NEW-BRICK>) start|pause|abort|status - replace-brick operations

Comment 4 Anand Avati 2010-11-11 03:35:37 UTC
Documentation needs to be fixed to show the 'commit' option

Comment 5 Divya 2010-11-11 08:04:44 UTC
I have added information on commit option at: http://www.gluster.com/community/documentation/index.php/Gluster_3.1:_Migrating_Volumes

Regards,
Divya

Comment 6 Raghavendra Bhat 2011-02-21 02:55:00 UTC
Its fixed now. The link provided by Divya included information about migation start, pause, status, abort and commit.