<p dir="ltr"></p>
<p dir="ltr">-Atin<br>
Sent from one plus one<br>
On 29-Mar-2016 10:43 pm, "Russell Purinton" <<a href="mailto:russell.purinton@gmail.com">russell.purinton@gmail.com</a>> wrote:<br>
><br>
> I have used the add-brick command in the past but I’m not sure how to go about using it to do this…<br>
><br>
> Could anyone provide an example?<br>
><br>
> As shown below, the current setup, xs141 is replica with xs138. xs139 is replica with xs140. I would like to have 139 serve as arbiter for 141 and 138. And I’d like 141 to serve as arbiter for 139 and 140.<br></p>
<p dir="ltr">I don't think that's possible. IIRC, the last brick in the replica pair is considered to be an arbiter brick and I am not aware of any changes in the behaviour post that. So in short, if you execute add-brick then all the new bricks will be considered as arbiter IMO.</p>
<p dir="ltr">Ravi can correct me otherwise.<br>
><br>
>> On Mar 29, 2016, at 1:07 PM, Atin Mukherjee <<a href="mailto:atin.mukherjee83@gmail.com">atin.mukherjee83@gmail.com</a>> wrote:<br>
>><br>
>> -Atin<br>
>> Sent from one plus one<br>
>> On 29-Mar-2016 10:21 pm, "Russell Purinton" <<a href="mailto:russell.purinton@gmail.com">russell.purinton@gmail.com</a>> wrote:<br>
>> ><br>
>> > I have several existing volumes configured in the following way:<br>
>> ><br>
>> > Volume Name: sonic001<br>
>> > Type: Distributed-Replicate<br>
>> > Volume ID: 362eb3a8-c211-4f35-bcd3-87785c51f15c<br>
>> > Status: Started<br>
>> > Number of Bricks: 4 x 2 = 8<br>
>> > Transport-type: tcp<br>
>> > Bricks:<br>
>> > Brick1: xs141:/brick1/sonic001p0r0<br>
>> > Brick2: xs138:/brick1/sonic001p0r1<br>
>> > Brick3: xs139:/brick1/sonic001p1r0<br>
>> > Brick4: xs140:/brick1/sonic001p1r1<br>
>> > Brick5: xs141:/brick0/sonic001p2r0<br>
>> > Brick6: xs138:/brick0/sonic001p2r1<br>
>> > Brick7: xs139:/brick0/sonic001p4r0<br>
>> > Brick8: xs140:/brick0/sonic001p3r1<br>
>> ><br>
>> > I recently learned that replica 2 can’t be considered HA because of the split brain scenario that would occur if a network partition occurred. I also recently learned that using replica 3 arbiter 1 was a way to solve this problem without consuming additional space.<br>
>> ><br>
>> > Is there a way I can change this existing volume to be replica 3 arbiter 1, or do I need to create new volumes and rsync the data?<br>
>><br>
>> I think you should be able to convert the volume topology using add-brick command.<br>
>><br>
>> ><br>
>> > Thanks,<br>
>> ><br>
>> > Russ<br>
>> ><br>
>> > _______________________________________________<br>
>> > Gluster-users mailing list<br>
>> > <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
>> > <a href="http://www.gluster.org/mailman/listinfo/gluster-users">http://www.gluster.org/mailman/listinfo/gluster-users</a><br>
>><br>
>> -Atin<br>
>> Sent from one plus one<br>
><br>
><br>
</p>