Re: Strange Not Found (URL was not found on this server) problem with backhand

Theo Schlossnagle <[email protected]> Fri, 9 Jan 2004 19:37:00 -0500
Newsgroups gmane.comp.apache.mod-backhand.general
Message-ID <[email protected]>
On Jan 9, 2004, at 4:34 PM, Rama K. McIntosh wrote:

> Hello mod_backhand users,
>
> I have two backhanded servers (RH9 & RH7.3).  It is a pretty typical 
> configuration where requests come in via https and are backhanded via 
> http.    Requests come in through a virtual IP maintained by wackamole 
> held by one of the two machines.
>
> I am doing some testing with byRandom because it distributes requests 
> to both boxes and is simple for our QA effort of our application on 
> this farm.

byRandom and byBusyChildren are both pretty good for the two server 
setup.

When you kill Apache one machine, backhand doesn't care.  It knows the 
machine existed and will continue to direct traffic to it, unless one 
of your rules says not to.  That is why the byAge rule exists and 
_should always_ come first in any rule set.  So, make sure you are 
using byAge and then byRandom and not just byRandom by itself.

byAge will make sure that servers you haven't heard from in a "while" 
are no longer eligible to be backhanded to.  The default is 5 seconds, 
but you can specify the max age you want -- see the docs.

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