[Spread-users] Trouble Talking Between 2 Servers

Jacob Green jgreen at spreadconcepts.com
Wed Jan 3 07:36:50 EST 2007


In your config you set up Spread to use port 4803, and you said you opened
your firewall for traffic on that port, in addition you need to make sure
that 4803 is open for both UDP traffic as well as TCP/IP traffic.  Also you
need to open port 4804 for UDP traffic, and if you want to use spmonitor,
you will also need to open UDP port 4805.

Jacob

-----Original Message-----
From: spread-users-bounces at lists.spread.org
[mailto:spread-users-bounces at lists.spread.org] On Behalf Of
dustin at v.igoro.us
Sent: Wednesday, January 03, 2007 12:00 AM
To: Cameron Stuart
Cc: spread-users at lists.spread.org
Subject: Re: [Spread-users] Trouble Talking Between 2 Servers

On Wed, Jan 03, 2007 at 03:45:24PM +1100, Cameron Stuart wrote:
>    Hi,
>    I was wondering if someone can run their eye over my config's, as I
>    can't seem to get 2 spread servers talking to each other.
>    The machine host names are spread1 (10.1.1.213) and spread2
>    (10.1.1.214)
>    They are freebsd 6.1 running spread 3.17.3 as a freebsd port
>    installation.
>    I have the port 4803 open on both boxes, and have tested that using
>    separate perl scripts that communicate over sockets.
>    I am using 2 perl scripts to test communications, and they seem to
>    work ok when run on a single server, but not across 2 servers.

I keep having problems like this, usually caused by:
 * firewalling 4803 or 4804
 * different names for boxes in different configuration files
 * different IPs for boxes in different configuration files

Diagnostics that I have usd involve:
 * watching spread's logs to see what daemons it thinks are in the
   group:
[Fri 13 Oct 2006 02:43:50] --------------------
[Fri 13 Oct 2006 02:43:50] Configuration at box1 is:
[Fri 13 Oct 2006 02:43:50] Num Segments 1
[Fri 13 Oct 2006 02:43:50]  4   192.168.1.255     4803
[Fri 13 Oct 2006 02:43:50]      box2                    10.1.1.102
[Fri 13 Oct 2006 02:43:50]      box1                    10.1.1.101
[Fri 13 Oct 2006 02:43:50]      box3                    10.1.1.103
[Fri 13 Oct 2006 02:43:50]      box4                    10.1.1.104
[Fri 13 Oct 2006 02:43:50] ====================

 * watching spmonitor to see if the token is circulating between boxes
(rounds
   should be counting up in sync)

 * using spuser to join the same group on each box

That takes any question about the scripts out of the picture (although from
my
understanding of Perl, they looked fine).

Dustin

_______________________________________________
Spread-users mailing list
Spread-users at lists.spread.org
http://lists.spread.org/mailman/listinfo/spread-users





More information about the Spread-users mailing list