<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">&lt;<a href="mailto:marcus.pedersen@slu.se" target="_blank">marcus.pedersen@slu.se</a>&gt;</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>
&gt; Hi all,<br>
&gt;<br>
&gt; I am planning my new gluster system and tested things out in<br>
&gt; a bunch of virtual machines.<br>
&gt; I need a bit of help to understand how geo-replication behaves.<br>
&gt;<br>
&gt; I have a master gluster cluster replica 2<br>
&gt; (in production I will use an arbiter and replicatied/distributed)<br>
&gt; and the geo cluster is distributed with 2 machines.<br>
&gt; (in production I will have the geo cluster distributed)<br>
&gt;<br>
&gt; Everything is up and running and creating files from client both<br>
&gt; replicates and is distributed in the geo cluster.<br>
&gt;<br>
&gt; The thing I am wondering about is:<br>
&gt; When I run: gluster volume geo-replication status<br>
&gt; I see both slave nodes one is active and the other is passive.<br>
&gt;<br>
&gt; MASTER NODE    MASTER VOL     MASTER BRICK    SLAVE USER    SLAVE                                          SLAVE NODE      STATUS     CRAWL STATUS       LAST_SYNCED<br>
&gt; ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>---------------------<br>
&gt; gluster1       interbullfs    /interbullfs    geouser       ssh://geouser@gluster-geo1::<wbr>interbullfs-geo    gluster-geo2    Active     Changelog Crawl    2018-02-06 11:46:08<br>
&gt; gluster2       interbullfs    /interbullfs    geouser       ssh://geouser@gluster-geo1::<wbr>interbullfs-geo    gluster-geo1    Passive    N/A                N/A<br>
&gt;<br>
&gt;<br>
&gt; If I shutdown the active slave the status changes to faulty<br>
&gt; and the other one continues to be passive.<br>
&gt;<br>
&gt; MASTER NODE    MASTER VOL     MASTER BRICK    SLAVE USER    SLAVE                                          SLAVE NODE      STATUS     CRAWL STATUS    LAST_SYNCED<br>
&gt; ------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>------------------------------<wbr>----------<br>
&gt; gluster1       interbullfs    /interbullfs    geouser       ssh://geouser@gluster-geo1::<wbr>interbullfs-geo    N/A             Faulty     N/A             N/A<br>
&gt; gluster2       interbullfs    /interbullfs    geouser       ssh://geouser@gluster-geo1::<wbr>interbullfs-geo    gluster-geo1    Passive    N/A             N/A<br>
&gt;<br>
&gt;<br>
&gt; In my understanding I thought that if the active slave stopped<br>
&gt; working the passive slave should become active and should<br>
&gt; continue to replicate from master.<br>
&gt;<br>
&gt; Am I wrong? Is there just one active slave if it is setup as<br>
&gt; a distributed system?<br>
&gt;<br>
&gt; What I use:<br>
&gt; Centos 7, gluster 3.12<br>
&gt; I have followed the geo instructions:<br>
&gt; <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>
&gt;<br>
&gt; Many thanks in advance!<br>
&gt;<br>
&gt; Bets regards<br>
&gt; Marcus<br>
&gt;<br>
&gt; --<br>
&gt; ******************************<wbr>********************<br>
&gt; * Marcus Pedersén                                *<br>
&gt; * System administrator                           *<br>
&gt; ******************************<wbr>********************<br>
&gt; * Interbull Centre                               *<br>
&gt; * ================                               *<br>
&gt; * Department of Animal Breeding &amp; Genetics — SLU *<br>
&gt; * Box 7023, SE-750 07                            *<br>
&gt; * Uppsala, Sweden                                *<br>
&gt; ******************************<wbr>********************<br>
&gt; * Visiting address:                              *<br>
&gt; * Room 55614, Ulls väg 26, Ultuna                *<br>
&gt; * Uppsala                                        *<br>
&gt; * Sweden                                         *<br>
&gt; *                                                *<br>
&gt; * Tel: +46-(0)18-67 1962                         *<br>
&gt; *                                                *<br>
&gt; ******************************<wbr>********************<br>
&gt; *     ISO 9001 Bureau Veritas No SE004561-1      *<br>
&gt; ******************************<wbr>********************<br>
&gt; ______________________________<wbr>_________________<br>
&gt; Gluster-users mailing list<br>
&gt; <a href="mailto:Gluster-users@gluster.org">Gluster-users@gluster.org</a><br>
&gt; <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 &amp; 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>