Federated ejabberd servers

I am looking at a deployment where XMPP servers communicate in a federated manner.

Certain specifics about my requirement:
1) All the XMPP Server are configured against a global AD.
2) All XMPP Server have the same XMPP domain name (for e.g. philips.com)

The primary focus is on user presence.
Let’s assume the following:
There are 3 users in the AD. (user1, user2 & user3). There are 3 locations where XMPP Server is installed (loc1, loc2 & loc3)
All the 3 servers have the same XMPP domain name (XYZ.com).
Hence the JID of the users will be same in each location. I.e., user1@XYZ.com, user2@XYZ.com, user3@XYZ.com.

User1 has added user2 & user3 as its rosters. I.e., user1 has subscribed to the presence of user2 & user3.
User1 logs in to location 1. When user2/user3 logs in at location2, will user1 be notified about their presence ??
How to the servers communicate ?

How can I setup 2 or more XMPP server (with the same XMPP domain name) to communicate with each other ?

With GTALK, I can login to the Google XMPP server from UK or USA and my presence is notified to my rosters.
I most likely am not authenticating against a single Google XMPP server. There could be 1 for UK & another for USA.
My JID remains the same no matter which server I logon to. This is something i wish to achieve.

I've read in the ejabberd feature section about distributed ejabberd server. How do i achieve that ?

Please advice.

Should be achievable using

Should be achievable using ejabberd clustering, but you need to have high reliable network to get different location nodes to synchronize the data across with negligible time. I have not tried it, but should work theoretically speaking

Syndicate content