<html><head></head><body><div>On Fri, 2018-01-26 at 07:12 +0530, Sankarshan Mukhopadhyay wrote:</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>On Fri, Jan 26, 2018 at 7:05 AM, Ravishankar N <<a href="mailto:ravishankar@redhat.com">ravishankar@redhat.com</a>> wrote:
<blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex">
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>
</blockquote>
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.
</pre></blockquote><div><br></div><div>+1!!!</div><blockquote type="cite" style="margin:0 0 0 .8ex; border-left:2px #729fcf solid;padding-left:1ex"><pre>_______________________________________________
Gluster-users mailing list
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users">http://lists.gluster.org/mailman/listinfo/gluster-users</a>
</pre></blockquote><div><span><pre><pre>-- <br></pre>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/
</pre></span></div></body></html>