See below:

> -----Original Message-----
> From: Peter Anning [mailto:[EMAIL PROTECTED]
> Sent: Thursday, August 28, 2003 10:44 PM
> To: Tomcat Users List
> Subject: RE: mod_jk load balancing with multiple apache servers
> 
> If Apache yet it's asociated tomcat is down is up then the 
> loadbalancer will still send requests to it.

I'm not shure if mod_jk will use the second worker if the first 
worker doesn't work any longer if you have a lbfactor of 0 
for the second worker.

If this isn't the case apache should answer with an error code.

If you have a http load balancer it should recognise this.
(As you said that the balancer even supports sticky sessions
I would expect this)

Otherwise mod_jk should rout all request to the second worker.

(If mod_jk doesn't use the second worker with lbfactor=0 you may 
try to use 1 instead and something like 100 for the first worker)

> If I have 2 Apaches and 3 Tomcats then with out loadbalancing 
> in mod_jk a1 goes to t1 a2 to t2 and t3 gets its requests 
> from where? I would need mod_jk to balance across all 3 
> instances

Now I think that I understand what you mean with uneven.
I was thinking in terms of 3 apaches and 3 tomcat, not in 
having a higher number of tomcats than apaches.

In this scenario you would need load balancing in mod_jk (which, 
according to Bill Barker, isn't perfect in the current state, as 
it doesn't distribute the load even across the workers, due to 
some missing communication between the workers)

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to