ejabberd - Comments for "Sharing clients across multiple instances of the server" https://www.ejabberd.im/node/4661 en badlop wrote: Let's imagine https://www.ejabberd.im/node/4661#comment-57454 <div class="quote-msg"> <div class="quote-author"><em>badlop</em> wrote:</div> <p>Let's imagine your company has two main headquarters, one for USA workers, and other for UK workers.</p> <p>You can install one ejabberd in each place, and configure one to serve the domain usa.example.com, the other uk.example.com<br /> Those ejabberd servers are completely independent.</p></div> <p>Am I right this configuration is not suitable the following requirement:</p> <div class="quote-msg"> <div class="quote-author"><em>simoneb</em> wrote:</div> <p>clients need to be able to connect to their nearest instance only</p></div> <p>I have the same configuration problem. In my case the client-server connections is not allowed beetween "main headquarters" and client after coming to "guest headquarter" cannot connect to his "home server".</p> <p>Is S2S interaction solve this problem and "guest server" acts like proxy or in other way?</p> Fri, 10 Jun 2011 06:26:48 +0000 birdy.spb comment 57454 at https://www.ejabberd.im s2s is standard https://www.ejabberd.im/node/4661#comment-57274 <div class="quote-msg"> <div class="quote-author"><em>simoneb</em> wrote:</div> <p>Is there any guidance on how to setup this kind of communication </p></div> <p>ejabberd s2s is already enabled in the default configuration. Allow port 5269 in the firewall, and ensure the XMPP vhost served by each ejabberd is known by the other server (the typical DNS stuff).</p> <div class="quote-msg"> <div class="quote-author"><em>simoneb</em> wrote:</div> <p>and details about how it works, </p></div> <p>ejabberd s2s follows the XMPP standard protocol, so it works similarly to any other XMPP server s2s (jabberd1, openfire, prosody...).</p> <div class="quote-msg"> <div class="quote-author"><em>simoneb</em> wrote:</div> <p>for example when one node goes down? </p></div> <p>When a XMPP server goes down (like jabber.org, or gtalk.com), what happens with it? That its users can't login, and the users of other servers see those contacts as offline.</p> Tue, 03 May 2011 14:43:00 +0000 mfoss comment 57274 at https://www.ejabberd.im Thanks for the clarification. https://www.ejabberd.im/node/4661#comment-57270 <p>Thanks for the clarification. Is there any guidance on how to setup this kind of communication and details about how it works, for example when one node goes down?</p> Mon, 02 May 2011 12:59:45 +0000 simoneb comment 57270 at https://www.ejabberd.im simoneb wrote: I need to have https://www.ejabberd.im/node/4661#comment-57263 <div class="quote-msg"> <div class="quote-author"><em>simoneb</em> wrote:</div> <p>I need to have two instances of a ejabberd server located in two different and distant places, </p> <p>... Is this accomplished using clustering </p></div> <p>Clustering is only recommended when the machines are close together: in the same room or LAN, with reliable connection between them.</p> <div class="quote-msg"> <div class="quote-author"><em>simoneb</em> wrote:</div> <p>I need to have two instances of a ejabberd server located in two different and distant places,<br /> where clients need to be able to connect to their nearest instance only and be able to communicate with clients connected to the other server instance.<br /> In any case, how would I set-up the infrastructure described above? </p></div> <p>Let's imagine your company has two main headquarters, one for USA workers, and other for UK workers.</p> <p>You can install one ejabberd in each place, and configure one to serve the domain usa.example.com, the other uk.example.com<br /> Those ejabberd servers are completely independent. The default ejabberd configuration allows Server2Server communications; that way when <noindex><a href="mailto:anna.randal@usa.example.com" rel="nofollow" >anna.randal@usa.example.com</a></noindex> adds as contact, or sends a message to <noindex><a href="mailto:tom.abcd@uk.example.com" rel="nofollow" >tom.abcd@uk.example.com</a></noindex>, both ejabberd connect using S2S.</p> Fri, 29 Apr 2011 15:34:43 +0000 mfoss comment 57263 at https://www.ejabberd.im