Re: Replacing a third data node with an arbiter one

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2018-01-26 at 07:12 +0530, Sankarshan Mukhopadhyay wrote:
On Fri, Jan 26, 2018 at 7:05 AM, Ravishankar N <ravishankar@xxxxxxxxxx> 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@xxxxxxxxxxx
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/
_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://lists.gluster.org/mailman/listinfo/gluster-users

[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux