Mailing List Archive

[mod_backhand-users] Configuration help needed
I am brand new to mod_backhand and I am struggling with getting it up and
running. Any help with getting it up would be very helpful.

I am just trying to get 2 servers working for now, with more to come in the
future.

The IP's are 63.236.52.138 and 63.236.52.140
The netmask is 255.255.255.224

Here are the .conf files

.138

<Directory "/usr/local/backhand/htdocs">
AllowOverride None
Options None
Order allow,deny
Allow from all
Backhand byAge
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>

<IfModule mod_backhand.c>

UnixSocketDir /usr/local/backhand/backhand
# MulticastStats 128.220.221.255:4445
MulticastStats 63.236.52.255:4445,1
AcceptStats 63.236.52.128/27

# This is a status of sorts. Visit it and see how valuable it is to you.
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>

AND .140

<Directory "/var/backhand/htdocs/">
AllowOverride None
Options None
Order allow,deny
Allow from all
Backhand byAge
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>

<IfModule mod_backhand.c>
# UnixSocketDir is were the mod_backhand-Arriba file is stored
# (how fast your machine is) This directory must be readable and writable
# by euid of apache (nobody) Becuase the children have dropped privledges
# before they connect to UNIX domain socket in this directory.
# This directive is singular.

AllowOverride None
Options None
Order allow,deny
Allow from all
Backhand byAge
Backhand byRandom
Backhand byLogWindow
Backhand byLoad
</Directory>

<IfModule mod_backhand.c>

UnixSocketDir /var/backhand/backhand
# MulticastStats 128.220.221.255:4445
MulticastStats 63.236.52.255:4445,1
AcceptStats 63.236.52.128/27

# This is a status of sorts. Visit it and see how valuable it is to you.
<Location "/backhand/">
SetHandler backhand-handler
</Location>
</IfModule>


What am I doing wrong?????


Alexander Storman
sysadmin bigprizes.com
[mod_backhand-users] Configuration help needed [ In reply to ]
Alexander,

OK, I assume Apache functions, but they do not balance? And when you visit
/backhand/ you get a blank table or just one of the server?

If you describe your network as 63.236.52.128/27, then 63.236.52.255 is not
your broadcast address. and it not a valid multicast address. If you want to
use IP multicast try changing it to:

MulticastStats 224.236.52.128:4445,1

Otherwise use the correct broadcast address and leave the ",1" (ttl) off.

MulticastStats 63.236.52.159:4445

See if that helps any.

Alexander Storman wrote:
> I am just trying to get 2 servers working for now, with more to come in the
> future.
> The IP's are 63.236.52.138 and 63.236.52.140
> The netmask is 255.255.255.224
> [ ... snip ... ]
> UnixSocketDir /var/backhand/backhand
> # MulticastStats 128.220.221.255:4445
> MulticastStats 63.236.52.255:4445,1
> AcceptStats 63.236.52.128/27


--
Theo Schlossnagle
1024D/A8EBCF8F/13BD 8C08 6BE2 629A 527E 2DC2 72C2 AD05 A8EB CF8F
2047R/33131B65/71 F7 95 64 49 76 5D BA 3D 90 B9 9F BE 27 24 E7