ejabberd - Comments for "Clustered Nodes lose communication if network connection is interrupted" https://www.ejabberd.im/node/3164 en Yes, seems possible as ejabberd module. https://www.ejabberd.im/node/3164#comment-54223 <p>Yes, I think you can develop as an ejabberd module, no need to include the code in a core ejabberd file.</p> Fri, 08 May 2009 09:18:01 +0000 mfoss comment 54223 at https://www.ejabberd.im Hi! But it is possible to https://www.ejabberd.im/node/3164#comment-54216 <p>Hi!</p> <p>But it is possible to develop some module to monitoring this issue, right? It would just be a normal mod? or I have to change the "kernel" of ejabberd to do this?</p> <p>Thks, regards</p> Thu, 07 May 2009 12:32:36 +0000 LeadFoot comment 54216 at https://www.ejabberd.im Clustered Nodes lose communication if network connection is inte https://www.ejabberd.im/node/3164#comment-54205 <p>You monitoring script that logs into each machine and sends a message across. If the message isn't received then i know the servers are out of sync and i restart a server<noindex><a href="http://www.yetiskinlere.net" target="_blank" title="bedava porno izle indir" rel="nofollow" >.</a></noindex></p> Sat, 02 May 2009 19:08:35 +0000 sikis comment 54205 at https://www.ejabberd.im Hello. I wish to access to https://www.ejabberd.im/node/3164#comment-54173 <p>Hello. I wish to access to knowing people: - if disconnect link between hosts in a cluster that further nods not see each other (in the web interface local is started, and others as stopped) - if users are connected to different computers in a cluster, at rupture of link and after restarting of one ejabberd servers disappear all offline messages... Whether what or these solutions this problemm? In advance thanks...</p> <p>I try<br /> (<noindex><a href="mailto:ejabberd@server3.test.ru" rel="nofollow" >ejabberd@server3.test.ru</a></noindex>)4&gt; net_adm:ping(<noindex><a href="mailto:ejabberd@server2.test.ru" rel="nofollow" >ejabberd@server2.test.ru</a></noindex>).<br /> pong</p> <p>but this not help, nodes dont see each other...</p> <p>Started Nodes<br /> <noindex><a href="mailto:ejabberd@server3.test.ru" rel="nofollow" >ejabberd@server3.test.ru</a></noindex><br /> Stoped Nodes<br /> <noindex><a href="mailto:ejabberd@server2.test.ru" rel="nofollow" >ejabberd@server2.test.ru</a></noindex></p> <p>Is any solutions this problemm?</p> Thu, 16 Apr 2009 10:04:13 +0000 freewind comment 54173 at https://www.ejabberd.im Your monitoring script.. https://www.ejabberd.im/node/3164#comment-53630 <div class="quote-msg"> <div class="quote-author"><em>FindAndy</em> wrote:</div> <p>In order to get around this i have a monitoring script that logs into each machine and sends a message across. If the message isn't received then i know the servers are out of sync and i restart a server.</p></div> <p>I finally got clustering working and am seeing the same thing.</p> <p>Would you mind sharing your monitoring script?</p> <p>thanks.</p> Mon, 06 Oct 2008 17:17:53 +0000 surge comment 53630 at https://www.ejabberd.im I had the same issue. If you https://www.ejabberd.im/node/3164#comment-53623 <p>I had the same issue. If you try to pang it in debug mode it still wont force the databases to synchronize since it doesn't know which table to use as the master table. </p> <p>In order to get around this i have a monitoring script that logs into each machine and sends a message across. If the message isn't received then i know the servers are out of sync and i restart a server. Our servers aren't on a WAN so this isn't a big issue and we have only had that happen once but over a wan it may happen frequently.</p> Thu, 02 Oct 2008 18:04:46 +0000 FindAndy comment 53623 at https://www.ejabberd.im Just an idea with erlang shell https://www.ejabberd.im/node/3164#comment-53472 <p>The connection between the ejabberd nodes should be stable. So, the situation you described is not expected.</p> <p>I have an idea, maybe it works. If you try it, please tell me if it works or not.</p> <p>For this to work you need to enter an interactive erlang shell in one of the nodes, so you can execute erlang calls:</p> <pre>$ ejabberdctl debug</pre><p> When two nodes cannot connect, for this call you should get a 'pang' response:</p> <pre> &gt; net_adm:ping(ejabberd@atenea). pang </pre><p> When two nodes are connect or can connect, this call tries to connect. If connection succeeds, is will show 'pong':</p> <pre> &gt; net_adm:ping(ejabberd@atenea). pong </pre><p> Maybe if you execute this call in one of the nodes after network comes back, the nodes will reconnect.</p> Fri, 01 Aug 2008 23:19:03 +0000 mfoss comment 53472 at https://www.ejabberd.im