<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7650.28">
<TITLE>RE: [Spread-users] Trouble Talking Between 2 Servers</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/plain format -->

<P><FONT SIZE=2>Thanks for your help dustin, we actually had a couple of problems,<BR>
<BR>
1) We use FreeBSD, so the port had to be opened in /etc/services<BR>
2) The network addresses we were using were incorrect.<BR>
For our internal network (10.1.1.x)<BR>
the segment address should be 10.255.255.255, instead of 10.1.1.255 which is what we had<BR>
<BR>
On a 192.168.1.x network 192.168.1.255 as a segment address will work<BR>
<BR>
Thanks again<BR>
Cheers,<BR>
Cam<BR>
<BR>
<BR>
-----Original Message-----<BR>
From: dustin@v.igoro.us [<A HREF="mailto:dustin@v.igoro.us">mailto:dustin@v.igoro.us</A>]<BR>
Sent: Wed 1/3/2007 4:00 PM<BR>
To: Cameron Stuart<BR>
Cc: spread-users@lists.spread.org<BR>
Subject: Re: [Spread-users] Trouble Talking Between 2 Servers<BR>
<BR>
On Wed, Jan 03, 2007 at 03:45:24PM +1100, Cameron Stuart wrote:<BR>
&gt;&nbsp;&nbsp;&nbsp; Hi,<BR>
&gt;&nbsp;&nbsp;&nbsp; I was wondering if someone can run their eye over my config's, as I<BR>
&gt;&nbsp;&nbsp;&nbsp; can't seem to get 2 spread servers talking to each other.<BR>
&gt;&nbsp;&nbsp;&nbsp; The machine host names are spread1 (10.1.1.213) and spread2<BR>
&gt;&nbsp;&nbsp;&nbsp; (10.1.1.214)<BR>
&gt;&nbsp;&nbsp;&nbsp; They are freebsd 6.1 running spread 3.17.3 as a freebsd port<BR>
&gt;&nbsp;&nbsp;&nbsp; installation.<BR>
&gt;&nbsp;&nbsp;&nbsp; I have the port 4803 open on both boxes, and have tested that using<BR>
&gt;&nbsp;&nbsp;&nbsp; separate perl scripts that communicate over sockets.<BR>
&gt;&nbsp;&nbsp;&nbsp; I am using 2 perl scripts to test communications, and they seem to<BR>
&gt;&nbsp;&nbsp;&nbsp; work ok when run on a single server, but not across 2 servers.<BR>
<BR>
I keep having problems like this, usually caused by:<BR>
&nbsp;* firewalling 4803 or 4804<BR>
&nbsp;* different names for boxes in different configuration files<BR>
&nbsp;* different IPs for boxes in different configuration files<BR>
<BR>
Diagnostics that I have usd involve:<BR>
&nbsp;* watching spread's logs to see what daemons it thinks are in the<BR>
&nbsp;&nbsp; group:<BR>
[Fri 13 Oct 2006 02:43:50] --------------------<BR>
[Fri 13 Oct 2006 02:43:50] Configuration at box1 is:<BR>
[Fri 13 Oct 2006 02:43:50] Num Segments 1<BR>
[Fri 13 Oct 2006 02:43:50]&nbsp; 4&nbsp;&nbsp; 192.168.1.255&nbsp;&nbsp;&nbsp;&nbsp; 4803<BR>
[Fri 13 Oct 2006 02:43:50]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.1.102<BR>
[Fri 13 Oct 2006 02:43:50]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.1.101<BR>
[Fri 13 Oct 2006 02:43:50]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box3&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.1.103<BR>
[Fri 13 Oct 2006 02:43:50]&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; box4&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 10.1.1.104<BR>
[Fri 13 Oct 2006 02:43:50] ====================<BR>
<BR>
&nbsp;* watching spmonitor to see if the token is circulating between boxes (rounds<BR>
&nbsp;&nbsp; should be counting up in sync)<BR>
<BR>
&nbsp;* using spuser to join the same group on each box<BR>
<BR>
That takes any question about the scripts out of the picture (although from my<BR>
understanding of Perl, they looked fine).<BR>
<BR>
Dustin<BR>
<BR>
</FONT>
</P>

</BODY>
</HTML>