Re: [Gluster-users] Convert replica 2 to replica 2+1 arbiter

2018-02-25 Thread Mitja Mihelič

This is excellent. Thank you!
I will test it ASAP.

Kind regards,
Mitja

On 25/02/2018 15:59, Martin Toth wrote:

Hi,

It should be there, see https://review.gluster.org/#/c/14502/

BR,
Martin

On 25 Feb 2018, at 15:52, Mitja Mihelič > wrote:


I must ask again, just to be sure. Is what you are proposing 
definitely supported in v3.8?


Kind regards,
Mitja

On 25/02/2018 13:55, Jim Kinney wrote:
gluster volume add-brick volname replica 3 arbiter 1 
brickhost:brickpath/to/new/arbitervol


Yes. The replica 3 looks odd. Somewhere in 3.12 (?) or not until v4 
a change in command will happen so it won't count the arbiter as a 
replica.


On February 25, 2018 5:05:04 AM EST, "Mitja Mihelič" 
 wrote:


Hi!

I am using GlusterFS on CentOS7 with glusterfs-3.8.15 RPM version.
I currently have a replica 2 running and I would like to get rid of the
split-brain problem before it occurs. This is one of the possible solutions.

Is it possible to and an arbiter to this volume?
I have read in a thread from 2016 that this feature is planned for
version 3.8.
Is the feature available? If so, could you give me an example of how to
do it?

Kind regards,
Mitja


Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users


--
Sent from my Android device with K-9 Mail. All tyopes are thumb 
related and reflect authenticity.



___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users


___
Gluster-users mailing list
Gluster-users@gluster.org 
http://lists.gluster.org/mailman/listinfo/gluster-users




___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Convert replica 2 to replica 2+1 arbiter

2018-02-25 Thread Jim Kinney
I've found adjusting gluster to be far easier than I originally thought. A 
change like adding or removing  a brick, either replica or arbiter, works well, 
live, and fast.

I've recently added replica bricks live to a 3.8 setup. I've removed arbiter 
bricks live from a 3.10 backing an ovirt environment. Both of these just worked 
with no issues.

Adding an arbiter to a replica pair will work automagically. The only caveat is 
it needs to be a fully synched, clean replica pair with no split-brain or heal 
issues. 

On February 25, 2018 9:52:37 AM EST, "Mitja Mihelič"  
wrote:
>I must ask again, just to be sure. Is what you are proposing definitely
>
>supported in v3.8?
>
>Kind regards,
>Mitja
>
>On 25/02/2018 13:55, Jim Kinney wrote:
>> gluster volume add-brick volname replica 3 arbiter 1 
>> brickhost:brickpath/to/new/arbitervol
>>
>> Yes. The replica 3 looks odd. Somewhere in 3.12 (?) or not until v4 a
>
>> change in command will happen so it won't count the arbiter as a
>replica.
>>
>> On February 25, 2018 5:05:04 AM EST, "Mitja Mihelič" 
>>  wrote:
>>
>> Hi!
>>
>> I am using GlusterFS on CentOS7 with glusterfs-3.8.15 RPM
>version.
>> I currently have a replica 2 running and I would like to get rid
>of the
>> split-brain problem before it occurs. This is one of the possible
>solutions.
>>
>> Is it possible to and an arbiter to this volume?
>> I have read in a thread from 2016 that this feature is planned
>for
>> version 3.8.
>> Is the feature available? If so, could you give me an example of
>how to
>> do it?
>>
>> Kind regards,
>> Mitja
>>
>
>>
>> Gluster-users mailing list
>> Gluster-users@gluster.org
>> http://lists.gluster.org/mailman/listinfo/gluster-users
>>
>>
>> -- 
>> Sent from my Android device with K-9 Mail. All tyopes are thumb 
>> related and reflect authenticity.
>>
>>
>> ___
>> Gluster-users mailing list
>> Gluster-users@gluster.org
>> http://lists.gluster.org/mailman/listinfo/gluster-users

-- 
Sent from my Android device with K-9 Mail. All tyopes are thumb related and 
reflect authenticity.___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Convert replica 2 to replica 2+1 arbiter

2018-02-25 Thread Martin Toth
Hi,

It should be there, see https://review.gluster.org/#/c/14502/ 


BR,
Martin

> On 25 Feb 2018, at 15:52, Mitja Mihelič  wrote:
> 
> I must ask again, just to be sure. Is what you are proposing definitely 
> supported in v3.8?
> 
> Kind regards,
> Mitja
> 
> On 25/02/2018 13:55, Jim Kinney wrote:
>> gluster volume add-brick volname replica 3 arbiter 1 
>> brickhost:brickpath/to/new/arbitervol
>> 
>> Yes. The replica 3 looks odd. Somewhere in 3.12 (?) or not until v4 a change 
>> in command will happen so it won't count the arbiter as a replica.
>> 
>> On February 25, 2018 5:05:04 AM EST, "Mitja Mihelič" 
>>   wrote:
>> Hi!
>> 
>> I am using GlusterFS on CentOS7 with glusterfs-3.8.15 RPM version.
>> I currently have a replica 2 running and I would like to get rid of the 
>> split-brain problem before it occurs. This is one of the possible solutions.
>> 
>> Is it possible to and an arbiter to this volume?
>> I have read in a thread from 2016 that this feature is planned for 
>> version 3.8.
>> Is the feature available? If so, could you give me an example of how to 
>> do it?
>> 
>> Kind regards,
>> Mitja
>> 
>> Gluster-users mailing list
>> Gluster-users@gluster.org 
>> http://lists.gluster.org/mailman/listinfo/gluster-users 
>> 
>> 
>> -- 
>> Sent from my Android device with K-9 Mail. All tyopes are thumb related and 
>> reflect authenticity. 
>> 
>> ___
>> Gluster-users mailing list
>> Gluster-users@gluster.org 
>> http://lists.gluster.org/mailman/listinfo/gluster-users 
>> 
> ___
> Gluster-users mailing list
> Gluster-users@gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users

___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Convert replica 2 to replica 2+1 arbiter

2018-02-25 Thread Mitja Mihelič
I must ask again, just to be sure. Is what you are proposing definitely 
supported in v3.8?


Kind regards,
Mitja

On 25/02/2018 13:55, Jim Kinney wrote:
gluster volume add-brick volname replica 3 arbiter 1 
brickhost:brickpath/to/new/arbitervol


Yes. The replica 3 looks odd. Somewhere in 3.12 (?) or not until v4 a 
change in command will happen so it won't count the arbiter as a replica.


On February 25, 2018 5:05:04 AM EST, "Mitja Mihelič" 
 wrote:


Hi!

I am using GlusterFS on CentOS7 with glusterfs-3.8.15 RPM version.
I currently have a replica 2 running and I would like to get rid of the
split-brain problem before it occurs. This is one of the possible solutions.

Is it possible to and an arbiter to this volume?
I have read in a thread from 2016 that this feature is planned for
version 3.8.
Is the feature available? If so, could you give me an example of how to
do it?

Kind regards,
Mitja


Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users


--
Sent from my Android device with K-9 Mail. All tyopes are thumb 
related and reflect authenticity.



___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users


___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users

Re: [Gluster-users] Convert replica 2 to replica 2+1 arbiter

2018-02-25 Thread Jim Kinney
gluster volume add-brick volname replica 3 arbiter 1 
brickhost:brickpath/to/new/arbitervol

Yes. The replica 3 looks odd. Somewhere in 3.12 (?) or not until v4 a change in 
command will happen so it won't count the arbiter as a replica.

On February 25, 2018 5:05:04 AM EST, "Mitja Mihelič"  
wrote:
>Hi!
>
>I am using GlusterFS on CentOS7 with glusterfs-3.8.15 RPM version.
>I currently have a replica 2 running and I would like to get rid of the
>
>split-brain problem before it occurs. This is one of the possible
>solutions.
>
>Is it possible to and an arbiter to this volume?
>I have read in a thread from 2016 that this feature is planned for 
>version 3.8.
>Is the feature available? If so, could you give me an example of how to
>
>do it?
>
>Kind regards,
>Mitja
>___
>Gluster-users mailing list
>Gluster-users@gluster.org
>http://lists.gluster.org/mailman/listinfo/gluster-users

-- 
Sent from my Android device with K-9 Mail. All tyopes are thumb related and 
reflect authenticity.___
Gluster-users mailing list
Gluster-users@gluster.org
http://lists.gluster.org/mailman/listinfo/gluster-users