Re: Server List
Theo Schlossnagle <[email protected]> Fri, 16 Apr 2004 21:13:20 -0400
| Newsgroups | gmane.comp.apache.mod-backhand.general |
|---|---|
| Message-ID | <[email protected]> |
mod_backhand is a peer-based system... peers don't like each other when
they aren't peers. Make sure _all_ your systems are configured the
same. It is _possible_ to have different configurations, but that is
advanced and you're on your own.
Do an ifconfig on your boxes and make sure that 192.168.0.255 is indeed
your broadcast address. Review your ipfw/iptables/ipf rules to make
sure you aren't blocking udp broadcasts to those addresses. And make
sure that in the /backhand/ page you are seeing the "right" IP
addresses -- if you aren't you need to fix your machine "identity
problem" or use the two parameter version of MulticastStats
On Apr 16, 2004, at 8:34 PM, Thomas Inglis wrote:
> What's happening is the /backhand/ page shows first
> one server, then the other. So its finds both but not
> both at once.
>
> 'Director'
> <IfModule mod_backhand.c>
> UnixSocketDir /usr/local/apache/backhand
> MulticastStats 128.220.221.255:4445
Don't use addresses that aren't on your network. Delete the above and
keep the one below.
> MulticastStats 192.168.0.255:4445
> AcceptStats 192.168.0.0/24
>
> <Location "/backhand/">
> SetHandler backhand-handler
> </Location>
> <Directory "/home/backhand">
> AllowOverride None
> Options None
> Order allow,deny
> Allow from all
> Backhand byAge
> Backhand byLoad
> </Directory>
> </IfModule>
>
> 'Each Server'
> <VirtualHost *:80>
> DocumentRoot /home/backhand
> ServerName {server name}
> ErrorLog logs/error_log
> CustomLog logs/access_log common
> DirectoryIndex index.html
> <IfModule mod_backhand.c>
> UnixSocketDir /usr/local/apache/backhand
> MulticastStats 192.168.0.255:4445
You need AcceptStats here.
> </IfModule>
// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth