Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Shiby Maria John
Thanks a lot for the whole explanation. Let me plesase summarise to clear my understanding. So it all means that if sticky_session is true, then a session started in one machine will be routed to the same tomcat server always whatever the load factor is set. And for any other new sessions being cr

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Rainer Jung
Mladen Turk wrote: Rainer Jung wrote: If there is no such worker, or the worker is nor usable, the request is handled like it wouldn't have a route in the session id, or no session at all. Also if there is directive sticky_session_force=true and the worker is not usable then the 503 is retu

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Mladen Turk
Rainer Jung wrote: If there is no such worker, or the worker is nor usable, the request is handled like it wouldn't have a route in the session id, or no session at all. Also if there is directive sticky_session_force=true and the worker is not usable then the 503 is returned to the user. J

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-16 Thread Rainer Jung
Shiby Maria John wrote: I was getting confused with setting the load balancer to be sticky_session and setting of lbfactor together. By session, i meant new sessions being created in the server. Are they mutually exclusive ? sticky_session: if a request carries a session id, either via JSESSION

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-15 Thread Shiby Maria John
I was getting confused with setting the load balancer to be sticky_session and setting of lbfactor together. By session, i meant new sessions being created in the server. Are they mutually exclusive ? Can you please explain the effect of setting both those values along with method=R. Please clarif

Re: Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-14 Thread Rainer Jung
Hi Shiby, Shiby Maria John schrieb: Hi, This is my worker.properties for Apache server for clustering 3 instances of Tomcat in my machine. # The advanced router LB worker worker.list=router # Define a worker using ajp13 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.typ

Doubt in how lbfactor works with load balancing of Apache with Tomcat cluster

2008-01-14 Thread Shiby Maria John
Hi, This is my worker.properties for Apache server for clustering 3 instances of Tomcat in my machine. # The advanced router LB worker worker.list=router # Define a worker using ajp13 worker.worker1.port=8009 worker.worker1.host=localhost worker.worker1.type=ajp13 worker.worker1.lbfactor=1 # D