Sankarshan Mukhopadhyay
2018-Jan-26 01:42 UTC
[Gluster-users] Replacing a third data node with an arbiter one
On Fri, Jan 26, 2018 at 7:05 AM, Ravishankar N <ravishankar at redhat.com> wrote:> > > On 01/24/2018 07:20 PM, Hoggins! wrote: > > Hello, > > The subject says it all. I have a replica 3 cluster : > > gluster> volume info thedude > > Volume Name: thedude > Type: Replicate > Volume ID: bc68dfd3-94e2-4126-b04d-77b51ec6f27e > Status: Started > Snapshot Count: 0 > Number of Bricks: 1 x 3 = 3 > Transport-type: tcp > Bricks: > Brick1: ngluster-1.network.hoggins.fr:/export/brick/thedude > Brick2: ngluster-2.network.hoggins.fr:/export/brick/thedude > Brick3: ngluster-3.network.hoggins.fr:/export/brick/thedude > Options Reconfigured: > cluster.server-quorum-type: server > transport.address-family: inet > nfs.disable: on > performance.readdir-ahead: on > client.event-threads: 8 > server.event-threads: 15 > > > ... and I would like to replace, say ngluster-2 with an arbiter-only > node, without any data. Is that possible ? How ? > > Yes, you would need to reduce it to replica 2 and then convert it to > arbiter. > 1. Ensure there are no pending heals, i.e. heal info shows zero entries. > 2. gluster volume remove-brick thedude replica 2 > ngluster-3.network.hoggins.fr:/export/brick/thedude force > 3. gluster volume add-brick thedude replica 3 arbiter 1 <IP:brick path of > the new arbiter brick> >Would it be good to have this small sequence of steps noted down somewhere other than a mailing list archive? I imagine this is going to be sought out by a few more users choosing this course.
Jim Kinney
2018-Jan-26 02:02 UTC
[Gluster-users] Replacing a third data node with an arbiter one
On Fri, 2018-01-26 at 07:12 +0530, Sankarshan Mukhopadhyay wrote:> On Fri, Jan 26, 2018 at 7:05 AM, Ravishankar N <ravishankar at redhat.co > m> wrote: > > > > On 01/24/2018 07:20 PM, Hoggins! wrote: > > > > Hello, > > > > The subject says it all. I have a replica 3 cluster : > > > > gluster> volume info thedude > > > > Volume Name: thedude > > Type: Replicate > > Volume ID: bc68dfd3-94e2-4126-b04d-77b51ec6f27e > > Status: Started > > Snapshot Count: 0 > > Number of Bricks: 1 x 3 = 3 > > Transport-type: tcp > > Bricks: > > Brick1: ngluster-1.network.hoggins.fr:/export/brick/thedude > > Brick2: ngluster-2.network.hoggins.fr:/export/brick/thedude > > Brick3: ngluster-3.network.hoggins.fr:/export/brick/thedude > > Options Reconfigured: > > cluster.server-quorum-type: server > > transport.address-family: inet > > nfs.disable: on > > performance.readdir-ahead: on > > client.event-threads: 8 > > server.event-threads: 15 > > > > > > ... and I would like to replace, say ngluster-2 with an arbiter- > > only > > node, without any data. Is that possible ? How ? > > > > Yes, you would need to reduce it to replica 2 and then convert it > > to > > arbiter. > > 1. Ensure there are no pending heals, i.e. heal info shows zero > > entries. > > 2. gluster volume remove-brick thedude replica 2 > > ngluster-3.network.hoggins.fr:/export/brick/thedude force > > 3. gluster volume add-brick thedude replica 3 arbiter 1 <IP:brick > > path of > > the new arbiter brick> > > > > Would it be good to have this small sequence of steps noted down > somewhere other than a mailing list archive? I imagine this is going > to be sought out by a few more users choosing this course.+1!!!> _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-- James P. Kinney III Every time you stop a school, you will have to build a jail. What you gain at one end you lose at the other. It's like feeding a dog on his own tail. It won't fatten the dog. - Speech 11/23/1900 Mark Twain http://heretothereideas.blogspot.com/ -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180125/e9a475a0/attachment.html>
Ravishankar N
2018-Jan-26 02:09 UTC
[Gluster-users] Replacing a third data node with an arbiter one
On 01/26/2018 07:32 AM, Jim Kinney wrote:>> Would it be good to have this small sequence of steps noted down >> somewhere other than a mailing list archive? I imagine this is going >> to be sought out by a few more users choosing this course. > > +1!!!Considering we are planning to modify the syntax for gluster 4.0, I will update the doc as a part of that. I have made a note at https://github.com/gluster/glusterd2/issues/515. -Ravi -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180126/6a8a0da0/attachment.html>