[ejabberd] about fallback

Konstantin Khomoutov flatworm at users.sourceforge.net
Sun Apr 17 14:42:48 MSD 2011


On Sun, Apr 17, 2011 at 06:35:46AM +0400, sergio wrote:

> Does ejabberd clustering allow to make a fallback service, or it's
> only needed for high load servers and load balancing?
I think it's able to serve both purposes.

> I wasn't able to start one node, when other is down.
> 
> OK. Just for test, without synchronize.
> I have this dns structure:
> 
> _xmpp-client._tcp.my-jabber.tld. SRV 10 0 5222 master.tld.
> _xmpp-server._tcp.my-jabber.tld. SRV 10 0 5269 master.tld.
> 
> _xmpp-client._tcp.my-jabber.tld. SRV 20 0 5222 slave.tld.
> _xmpp-server._tcp.my-jabber.tld. SRV 20 0 5269 slave.tld.
> 
> master.tld. A ip.address
> slave.tls.  A another.ip.address
> 
> I've copied mnesia via backup to slave, stop ejabberd on master, and
> run ejabberd
> on slave. All works fine. But I've problems with gmail.com and
> jab.undernet.cz:
> 
> I(<>:ejabberd_s2s_out:353) : Closing s2s connection: my-jabber.tld
> -> jab.undernet.cz (invalid dialback key)
> 
> I(<>:ejabberd_s2s_out:417) : wait for validation: my-jabber.tld ->
> gmail.com (closed)
I suspect the problem is that you can't just restore a backed up DB from
one node on another node--you have to convert the backup file before
restoring it: http://www.ejabberd.im/node/641



More information about the ejabberd mailing list