[Gluster-users] geo-replication

Kotresh Hiremath Ravishankar khiremat at redhat.com
Wed Feb 7 13:24:01 UTC 2018


Answers in line.

On Tue, Feb 6, 2018 at 6:24 PM, Marcus Pedersén <marcus.pedersen at slu.se>
wrote:

> Hi again,
> I made some more tests and the behavior I get is that if any of
> the slaves are down the geo-replication stops working.
> It this the way distributed volumes work, if one server goes down
> the entire system stops to work?
> The servers that are online do not continue to work?
>

       If one of the slave node is down, the corresponding master node does
connect to other slave node which is up.
But if the primary slave node (the one used to create geo-rep session) is
down, that connection remains Faulty until
it is brought back up.

>
> Sorry, for asking stupid questions.
>
> Best regards
> Marcus
>
>
> On Tue, Feb 06, 2018 at 12:09:40PM +0100, Marcus Pedersén wrote:
> > Hi all,
> >
> > I am planning my new gluster system and tested things out in
> > a bunch of virtual machines.
> > I need a bit of help to understand how geo-replication behaves.
> >
> > I have a master gluster cluster replica 2
> > (in production I will use an arbiter and replicatied/distributed)
> > and the geo cluster is distributed with 2 machines.
> > (in production I will have the geo cluster distributed)
> >
> > Everything is up and running and creating files from client both
> > replicates and is distributed in the geo cluster.
> >
> > The thing I am wondering about is:
> > When I run: gluster volume geo-replication status
> > I see both slave nodes one is active and the other is passive.
> >
> > MASTER NODE    MASTER VOL     MASTER BRICK    SLAVE USER    SLAVE
>                                   SLAVE NODE      STATUS     CRAWL STATUS
>      LAST_SYNCED
> > ------------------------------------------------------------
> ------------------------------------------------------------
> ---------------------------------------------------
> > gluster1       interbullfs    /interbullfs    geouser
>  ssh://geouser@gluster-geo1::interbullfs-geo    gluster-geo2    Active
>  Changelog Crawl    2018-02-06 11:46:08
> > gluster2       interbullfs    /interbullfs    geouser
>  ssh://geouser@gluster-geo1::interbullfs-geo    gluster-geo1    Passive
>   N/A                N/A
> >
> >
> > If I shutdown the active slave the status changes to faulty
> > and the other one continues to be passive.
> >
> > MASTER NODE    MASTER VOL     MASTER BRICK    SLAVE USER    SLAVE
>                                   SLAVE NODE      STATUS     CRAWL STATUS
>   LAST_SYNCED
> > ------------------------------------------------------------
> ------------------------------------------------------------
> ----------------------------------------
> > gluster1       interbullfs    /interbullfs    geouser
>  ssh://geouser@gluster-geo1::interbullfs-geo    N/A             Faulty
>  N/A             N/A
> > gluster2       interbullfs    /interbullfs    geouser
>  ssh://geouser@gluster-geo1::interbullfs-geo    gluster-geo1    Passive
>   N/A             N/A
> >
> >
> > In my understanding I thought that if the active slave stopped
> > working the passive slave should become active and should
> > continue to replicate from master.
> >
> > Am I wrong? Is there just one active slave if it is setup as
> > a distributed system?
> >
> > What I use:
> > Centos 7, gluster 3.12
> > I have followed the geo instructions:
> > http://docs.gluster.org/en/latest/Administrator%20Guide/
> Geo%20Replication/
> >
> > Many thanks in advance!
> >
> > Bets regards
> > Marcus
> >
> > --
> > **************************************************
> > * Marcus Pedersén                                *
> > * System administrator                           *
> > **************************************************
> > * Interbull Centre                               *
> > * ================                               *
> > * Department of Animal Breeding & Genetics — SLU *
> > * Box 7023, SE-750 07                            *
> > * Uppsala, Sweden                                *
> > **************************************************
> > * Visiting address:                              *
> > * Room 55614, Ulls väg 26, Ultuna                *
> > * Uppsala                                        *
> > * Sweden                                         *
> > *                                                *
> > * Tel: +46-(0)18-67 1962                         *
> > *                                                *
> > **************************************************
> > *     ISO 9001 Bureau Veritas No SE004561-1      *
> > **************************************************
> > _______________________________________________
> > Gluster-users mailing list
> > Gluster-users at gluster.org
> > http://lists.gluster.org/mailman/listinfo/gluster-users
>
> --
> **************************************************
> * Marcus Pedersén                                *
> * System administrator                           *
> **************************************************
> * Interbull Centre                               *
> * ================                               *
> * Department of Animal Breeding & Genetics — SLU *
> * Box 7023, SE-750 07                            *
> * Uppsala, Sweden                                *
> **************************************************
> * Visiting address:                              *
> * Room 55614, Ulls väg 26, Ultuna                *
> * Uppsala                                        *
> * Sweden                                         *
> *                                                *
> * Tel: +46-(0)18-67 1962                         *
> *                                                *
> **************************************************
> *     ISO 9001 Bureau Veritas No SE004561-1      *
> **************************************************
> _______________________________________________
> Gluster-users mailing list
> Gluster-users at gluster.org
> http://lists.gluster.org/mailman/listinfo/gluster-users
>



-- 
Thanks and Regards,
Kotresh H R
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gluster.org/pipermail/gluster-users/attachments/20180207/4fd32b99/attachment.html>


More information about the Gluster-users mailing list