ejabberd - Comments for "Migrating ejabberd from one ISP to another" https://www.ejabberd.im/node/502 en Thanks! https://www.ejabberd.im/node/502#comment-1049 <p>That sounds reasonable, thanks!</p> Tue, 15 Nov 2005 17:55:59 +0000 chikoo comment 1049 at https://www.ejabberd.im AFAIR, this procedure was https://www.ejabberd.im/node/502#comment-1048 <p>AFAIR, this procedure was used on the jabber.ru server a long time ago (maybe 2 years). Try to talk to ermine or alexey as they will know more of it. You can do this via the <noindex><a href="/mlist" rel="nofollow" >mailing list</a></noindex> or via the <noindex><a href="/chatroom" rel="nofollow" >chatroom</a></noindex>.</p> <p>--<br /> sander</p> Tue, 15 Nov 2005 17:22:00 +0000 sander comment 1048 at https://www.ejabberd.im What about this procedure? https://www.ejabberd.im/node/502#comment-1047 <p>I've not tried the full procedure, but it sounds as if it can work:</p> <ol> <li>On newhost, install ejabberd from scratch (same version of erlang and ejabberd as on oldhost). </li><li>Interconnect the two Erlang nodes. This deals mostly with cookies. <noindex><a href="/interconnect-erl-nodes" rel="nofollow" >Interconnecting Erlang Nodes</a></noindex> </li><li>Setup both ejabberds as required to build a cluster. This deals mostly with setting Mnesia. <noindex><a href="http://www.process-one.net/en/projects/ejabberd/docs/guide_en.html#htoc29" rel="nofollow" >ejabberd Guide</a></noindex>. </li><li>Now you will have two ejabberd servers, both serving the same domain, but each one on a different host (and a different IP address, of course). Only of them has the correct DNS name. Both ejabberd nodes share the database, and changes are replicated instantly. </li><li>If you want to play: how to connect to the Jabber server that does not match DNS-name with Host-name? Most Jabber clients allow you to specify the machine to connect to, additionally to the Jabber server. </li><li>Modify the DNS so jabber.server.com points to the newhost, instead of the oldhost. </li><li>When the clients try to connect, they will connect directly to the newhost, instead of oldhost. The clients that are already connected to oldhost will not be disconnected, or moved magically. </li><li>You can wait one or two days, waiting for clients to connect to the newhost. Once there are only a few clients on oldhost, you can send them a massive message indicating that the server will be restarted. Stop oldhost forever. </li></ol> Tue, 15 Nov 2005 16:53:49 +0000 mfoss comment 1047 at https://www.ejabberd.im