<div dir="ltr">Answers in line.<br><div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Feb 6, 2018 at 6:24 PM, Marcus Pedersén <span dir="ltr"><<a href="mailto:marcus.pedersen@slu.se" target="_blank">marcus.pedersen@slu.se</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi again,<br>
I made some more tests and the behavior I get is that if any of<br>
the slaves are down the geo-replication stops working.<br>
It this the way distributed volumes work, if one server goes down<br>
the entire system stops to work?<br>
The servers that are online do not continue to work?<br></blockquote><div><br></div><div> If one of the slave node is down, the corresponding master node does connect to other slave node which is up.</div><div>But if the primary slave node (the one used to create geo-rep session) is down, that connection remains Faulty until</div><div>it is brought back up. <br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
Sorry, for asking stupid questions.<br>
<br>
Best regards<br>
<span class="HOEnZb"><font color="#888888">Marcus<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
On Tue, Feb 06, 2018 at 12:09:40PM +0100, Marcus Pedersén wrote:<br>
> Hi all,<br>
><br>
> I am planning my new gluster system and tested things out in<br>
> a bunch of virtual machines.<br>
> I need a bit of help to understand how geo-replication behaves.<br>
><br>
> I have a master gluster cluster replica 2<br>
> (in production I will use an arbiter and replicatied/distributed)<br>
> and the geo cluster is distributed with 2 machines.<br>
> (in production I will have the geo cluster distributed)<br>
><br>
> Everything is up and running and creating files from client both<br>
> replicates and is distributed in the geo cluster.<br>
><br>
> The thing I am wondering about is:<br>
> When I run: gluster volume geo-replication status<br>
> I see both slave nodes one is active and the other is passive.<br>
><br>
> MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED<br>
> ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---------------------<br>
> gluster1 interbullfs /interbullfs geouser ssh://geouser@gluster-geo1::<wbr>interbullfs-geo gluster-geo2 Active Changelog Crawl 2018-02-06 11:46:08<br>
> gluster2 interbullfs /interbullfs geouser ssh://geouser@gluster-geo1::<wbr>interbullfs-geo gluster-geo1 Passive N/A N/A<br>
><br>
><br>
> If I shutdown the active slave the status changes to faulty<br>
> and the other one continues to be passive.<br>
><br>
> MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED<br>
> ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------<br>
> gluster1 interbullfs /interbullfs geouser ssh://geouser@gluster-geo1::<wbr>interbullfs-geo N/A Faulty N/A N/A<br>
> gluster2 interbullfs /interbullfs geouser ssh://geouser@gluster-geo1::<wbr>interbullfs-geo gluster-geo1 Passive N/A N/A<br>
><br>
><br>
> In my understanding I thought that if the active slave stopped<br>
> working the passive slave should become active and should<br>
> continue to replicate from master.<br>
><br>
> Am I wrong? Is there just one active slave if it is setup as<br>
> a distributed system?<br>
><br>
> What I use:<br>
> Centos 7, gluster 3.12<br>
> I have followed the geo instructions:<br>
> <a href="http://docs.gluster.org/en/latest/Administrator%20Guide/Geo%20Replication/" rel="noreferrer" target="_blank">http://docs.gluster.org/en/<wbr>latest/Administrator%20Guide/<wbr>Geo%20Replication/</a><br>
><br>
> Many thanks in advance!<br>
><br>
> Bets regards<br>
> Marcus<br>
><br>
> --<br>
> ******************************<wbr>********************<br>
> * Marcus Pedersén *<br>
> * System administrator *<br>
> ******************************<wbr>********************<br>
> * Interbull Centre *<br>
> * ================ *<br>
> * Department of Animal Breeding & Genetics — SLU *<br>
> * Box 7023, SE-750 07 *<br>
> * Uppsala, Sweden *<br>
> ******************************<wbr>********************<br>
> * Visiting address: *<br>
> * Room 55614, Ulls väg 26, Ultuna *<br>
> * Uppsala *<br>
> * Sweden *<br>
> * *<br>
> * Tel: +46-(0)18-67 1962 *<br>
> * *<br>
> ******************************<wbr>********************<br>
> * ISO 9001 Bureau Veritas No SE004561-1 *<br>
> ******************************<wbr>********************<br>
> ______________________________<wbr>_________________<br>
> Gluster-users mailing list<br>
> <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
> <a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a><br>
<br>
--<br>
******************************<wbr>********************<br>
* Marcus Pedersén *<br>
* System administrator *<br>
******************************<wbr>********************<br>
* Interbull Centre *<br>
* ================ *<br>
* Department of Animal Breeding & Genetics — SLU *<br>
* Box 7023, SE-750 07 *<br>
* Uppsala, Sweden *<br>
******************************<wbr>********************<br>
* Visiting address: *<br>
* Room 55614, Ulls väg 26, Ultuna *<br>
* Uppsala *<br>
* Sweden *<br>
* *<br>
* Tel: +46-(0)18-67 1962 *<br>
* *<br>
******************************<wbr>********************<br>
* ISO 9001 Bureau Veritas No SE004561-1 *<br>
******************************<wbr>********************<br>
______________________________<wbr>_________________<br>
Gluster-users mailing list<br>
<a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
<a href="http://lists.gluster.org/mailman/listinfo/gluster-users" rel="noreferrer" target="_blank">http://lists.gluster.org/<wbr>mailman/listinfo/gluster-users</a></div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div>Thanks and Regards,<br></div>Kotresh H R<br></div></div>
</div></div></div>