This thread is archived
9 Replies Last post: Nov 20, 2006 9:13 AM by gustavo zaera  
Erasmus   8 posts since
Oct 19, 2006
Currently Being Moderated

Oct 31, 2006 5:30 PM

Server to Server HowTo

I am new to the Wildfire and the XMPP world so please be patient

 

Our company has two small offices that are connected to the Internet and have firewalls setup. I would like to run a wildfire server in each office and allow users at each office to "see" and communicate with the users in the other office.

 

I have installed wildfire in each office and both instances are working fine independently. Each instance is connected to the corresponding office''s Active Directory. What do I need to do to achieve my goal stated above? Is there a how-to guide out there?

 

Thanks,

 

Erasmus

Gaston Dombiak Jiver 3,771 posts since
Sep 26, 2001
Currently Being Moderated
Oct 31, 2006 6:59 PM in response to: Erasmus
Re: Server to Server HowTo

Hey Erasmus,

 

Have you tried searching in this forum? This question has been asked many times and one thing we need to do is include documentation for this common question.

 

Server-2-server communication occurs on port 5269 (by default). So the first thing to check is that there is no firewall closing that port. The second task would be to verify that the server name of each Wildfire server can be resolved by the DNS. XMPP servers will do a DNS SRV look up to figure out the actual IP address and port to use to connect to the remote server. As a consequence of this we can say that remote servers should be accessible from the internet or any remote net that you want to use (e.g. VPN).

 

Regards,

 

  -- Gato

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
Nov 1, 2006 10:13 AM in response to: Gaston Dombiak
Re: Server to Server HowTo

Hi Gato,

 

what about http://wiki.jivesoftware.org/display/WILDFIRE/ServertoServer+HowTo ?

 

LG

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
Nov 1, 2006 2:45 PM in response to: Erasmus
Re: Server to Server HowTo

Hi,

 

server = xmpp.domain, you did specify it during installation. The server part in the JID: "nick@server/resource".

 

LG

 

UPD: So if office one uses "office1" as xmpp.domain then you must make sure that Wildfire in office two can resolve "office1" and get''s the external IP address of office one. To do this you may want to edit the "/etc/hosts" file of the server in office two where Wildfire is running.

Gaston Dombiak Jiver 3,771 posts since
Sep 26, 2001
Currently Being Moderated
Nov 1, 2006 5:50 PM in response to: Erasmus
Re: Server to Server HowTo

Hey Erasmus,

 

Seems like you are making good progress. Are both servers running Wildfire? Try enabling the debug log to trace the connection setup process. Post here what you found in the debug.log file (of each server).

 

Thanks,

 

  -- Gato

LG KeyContributor 4,984 posts since
Dec 13, 2005
Currently Being Moderated
Nov 2, 2006 2:17 PM in response to: Erasmus
Re: Server to Server HowTo

Hi Erasmus,

 

one usually marks a question as solved and starts a new thread if a new question comes up.

UPD: It seems there is already a thread with a very similar question: http://www.jivesoftware.org/community/thread.jspa?threadID=22903

 

While you can add remote users to a shared group I expect that it will not be visible on the remote server in general / for all users. Sometime I think that the xmpp / XEP authors target the home users and not enterprises. Hopefully Gato will correct me and provide a way to share local groups or write a XEP and implement it (;

 

LG

gustavo zaera   1 posts since
Nov 20, 2006
Currently Being Moderated
Nov 20, 2006 9:13 AM in response to: Erasmus
Re: Server to Server HowTo

Hello, Erasmus;

 

You never told the secret to your success... could you please provide a short HOWTO on the steps necessary to get this running?

 

Cheers,

gustavo

More Like This

  • Retrieving data ...