Re: geo-replication maintenance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Apr 23, 2014, at 4:18 PM, John Ewing <johnewing1@xxxxxxxxx> wrote:

> Hi,
> 
> I have a geo-replicated volume using 3.4.3 and I was wondering about what happens when I need to perform maintenance on the master and the slave.
> 
> If I want to reboot the slave , should I stop geo-replication on the master first?

You can reboot the slave without stopping geo-replication. If you do this, geo-rep session status would turn faulty and geo-rep would try to connect to the slave periodically. After the slave node is back online, things would be fine thereafter.

> 
> When the slave is rebooted is a full re-crawl / re-sync needed or will it just pick up where it left off?

Geo-rep would pick up where it left off.

> 
> Similarly if I need to do work on the master what's the correct procedure and will it need a full recrawl ?

In this case it’s good to stop the geo-rep session. After it’s back up, it will continue from where it left off. No full crawl is required. OTOH, do you plan to use slave (for writes, etc.) when master is offline? In that case geo-rep supports failover-failback, where a reverse sync (from slave to master) can be done efficiently.

> 
> Thanks
> 
> J.
> _______________________________________________
> Gluster-users mailing list
> Gluster-users@xxxxxxxxxxx
> http://supercolony.gluster.org/mailman/listinfo/gluster-users

_______________________________________________
Gluster-users mailing list
Gluster-users@xxxxxxxxxxx
http://supercolony.gluster.org/mailman/listinfo/gluster-users





[Index of Archives]     [Gluster Development]     [Linux Filesytems Development]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux