Mitja Mihelič
2018-Feb-25 14:52 UTC
[Gluster-users] Convert replica 2 to replica 2+1 arbiter
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?" > <mitja.mihelic at arnes.si> 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 at 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 at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180225/e984b212/attachment.html>
Martin Toth
2018-Feb-25 14:59 UTC
[Gluster-users] Convert replica 2 to replica 2+1 arbiter
Hi, It should be there, see https://review.gluster.org/#/c/14502/ <https://review.gluster.org/#/c/14502/> BR, Martin> On 25 Feb 2018, at 15:52, Mitja Miheli? <mitja.mihelic at arnes.si> 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?" <mitja.mihelic at arnes.si> <mailto:mitja.mihelic at arnes.si> 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 at gluster.org <mailto:Gluster-users at gluster.org> >> http://lists.gluster.org/mailman/listinfo/gluster-users <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 at gluster.org <mailto:Gluster-users at gluster.org> >> http://lists.gluster.org/mailman/listinfo/gluster-users <http://lists.gluster.org/mailman/listinfo/gluster-users> > _______________________________________________ > Gluster-users mailing list > Gluster-users at gluster.org > http://lists.gluster.org/mailman/listinfo/gluster-users-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180225/214e822d/attachment.html>
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?" <mitja.mihelic at arnes.si> 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?" >> <mitja.mihelic at arnes.si> 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 at 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 at 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. -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180225/7091e08c/attachment.html>
Mitja Mihelič
2018-Feb-25 20:09 UTC
[Gluster-users] Convert replica 2 to replica 2+1 arbiter
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? <mitja.mihelic at arnes.si >> <mailto:mitja.mihelic at arnes.si>> 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?" >>> <mitja.mihelic at arnes.si> 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 at 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 at gluster.org >>> http://lists.gluster.org/mailman/listinfo/gluster-users >> >> _______________________________________________ >> Gluster-users mailing list >> Gluster-users at gluster.org <mailto:Gluster-users at gluster.org> >> http://lists.gluster.org/mailman/listinfo/gluster-users >-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180225/b07d905f/attachment.html>