We have two hosts, each has an Apache and a Tomcat for resilience,
access to the hosts is not direct but via a load-balancer box. This
external load-balancer is able to stick users to particular hosts.
I want to configure mod_jk on the two hosts so they know about the
tomcat on the other box but don't use it unless the local tomcat is
down. How do I do this ? I've tried setting lbfactor of the local
worker to 1000000 and the other to 1 to try and hugely favour the
local one but it only seems to slightly favour the localhost when I do
that - why ? Is there a maximum lbfactor that I've exceeded.
Is there a nicer way to do this ?
Steve Quail.