Re: Server List

Theo Schlossnagle <[email protected]> Sat, 17 Apr 2004 01:21:38 -0400
Newsgroups gmane.comp.apache.mod-backhand.general
Message-ID <[email protected]>
On Apr 16, 2004, at 9:22 PM, Thomas Inglis wrote:

> Thanks for a speedy response Theo, appreciated.
>
> Well... they are dell blades huh so they match almost
> exactly... only slightly differing in memory.

I when I said the configuration should be the same, I wasn't talking 
about the homogeneity of the the hardware.  I was trying to point at 
the Apache configurations.  The Apache configurations should be almost 
identical.  mod_backhand is a peer-based system; any system that 
receives a request from the client can choose (via rules to specify) to 
proxy that request to a peer machine for service.   The fact that you 
have decided to only put one machine in a position to field 
client-originating requests doesn't matter too much to backhand... It 
just means that one machine will receive the requests and (perhaps) 
forward those on to one of the other two peer instances.  If the 
removeSelf candidacy function was used, then the front machine would 
always pass the request along to one of its peers.

> Have done as you suggested and now i get the same
> result but now its the balancer itself and only one
> server that shows in /backhand/.
>
> One clue here i think is it doesnt actually forward
> anything. It serves the default apache page and does
> not forward to the real server.
>
> Which is listed wrongly... why is its IP 127.0.0.1?
>
> 0 enterprise 0 127.0.0.1:80 1006 MB 929 MB 5/5 0 [0]
> 1760167 2 0.000/1 1.000

That's a good question, why is it 127.0.0.1?  The machine thinks it is 
called "enterprise".  Try logging onto that machine and typing:
ping enterprise

Does it ping 127.0.0.1?  If so, that's the machine's IP address. (hint: 
your /etc/hosts is likely not correct).

If for one reason or another you can't get it to resolve the IP address 
you want, then you can use the two parameter variant of the 
MulticastStats directive to explicitly announce the IP address you 
desire from each machine.

// Theo Schlossnagle
// Principal Engineer -- http://www.omniti.com/~jesus/
// Postal Engine -- http://www.postalengine.com/
// Ecelerity: fastest MTA on Earth