Re: Re: multiple backhand clusters on one subnet?

Liam Hoekenga <[email protected]> Sat, 15 Mar 2003 13:00:59 -0500
Newsgroups gmane.comp.apache.mod-backhand.general
Message-ID <[email protected]>
On Saturday, March 15, 2003, at 01:37 AM, Theo Schlossnagle wrote:

> No.  You need to specify the two argument version of MulticastStats 
> line and specify a port.  Or you can do what I do and just fiddle with 
> your Listen lines and make sure everything shows up as port 80 on the 
> /backhand/ page.

Hm... I am specifying port 80 and curiously the backhand status page 
reports one listening to 443 and the other on 80, and neither seem to 
be referring connections to the other (even if add "Backhand 
removeSelf" to one of the conf files and restart the server).

We've got an entire class C subnet.    On one machine, the multicast 
line looks like:

     MulticastStats  141.xxx.yyy.83:80 141.xxx.yyy.255:4445,1

Otherwise, it's identical to the IfModule block below.
Here's what I've added to our conf files.  It occurs outside of any 
virtual host block:

<IfModule mod_backhand.c>
     UnixSocketDir /var/apache/run
     MulticastStats  141.xxx.yyy.74:80 141.xxx.yyy.255:4445,1
    AcceptStats 141.xxx.yyy.0/24

     <Location "/backhand/">
         SetHandler backhand-handler
     </Location>

     <Directory "/usr/local/umweb/cgi-bin">
         AllowOverride None
         Options None
         Order allow,deny
         Allow from all
         Backhand byAge
         Backhand byRandom
         Backhand byLogWindow
         Backhand byLoad
     </Directory>
</IfModule>

The two machines in question have identical apache installations (down 
to the conf files).

The IP addresses we're specifying are not the primary addresses for 
these machines.  Most of our servers have at least one virtual 
interface (the primary is reserved for administrative purposes, any web 
hosts on a machine will be on a virtual interface - either by itself or 
in a named virtual host group) .  What we're trying to do is to get 
backhand to listen on one specific interface, at one specific port.  
Right now, that's port 80, eventually it'll only be port 443.  We're 
using Apache 1.3.27, Solaris 8 (SPARC), and mod_backhand from CVS (I 
couldn't get 1.22 to build).

Any ideas on what I'm doing wrong?

Liam