httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: [users@httpd] mod_proxy_balancer design confusion?
Date Wed, 16 Aug 2006 15:43:02 GMT
It is up to the origin servers to set the cookies; the balancer
does not do that. It simply honors any stickness that
may be present, but does not "create" the stickness.

John Madden wrote:
> 
> As with most load balancers, I assumed by "stickysession" we were
> talking about balancing based only on the value of a cookie, but as far
> as I've been able to tell, that is not the case.  
> 
> On 2.2.3, with a configuration of:
> 
> ProxyRequests Off
> ProxyPreserveHost On
> ProxyPass / balancer://cluster/ stickysession=JSESSIONID nofailover=On
> timeout=120
> <Proxy balancer://cluster/>
>    BalancerMember https://srv1.ivytech.edu:443 min=10
>    BalancerMember https://srv2.ivytech.edu:443 min=10
> </Proxy>
> 
> I'm finding that there really is no session affinity to the members at
> all.  There are a few various posts in various archives with the same
> findings, but with no definite conclusion as to whether or not the
> balancer's doing this by design...
> 
> If we instead configure the BalancerMember's with routes and configure
> the Tomcat with jvmRoutes accordingly, everything works as expected, but
> without route specified, it's as if there is no session affinity at all.
> So is mod_proxy_balancer intended to be a Tomcat-only feature, or are we
> dealing with a bug here?  (Or, *shudder,* have I incorrectly configured
> something? :))
> 
> I'd be happy to provide debug logs if it seems appropriate.
> 
> Thanks,
>   John
> 
> 
> 
> 
> -- 
> John Madden
> Sr. UNIX Systems Engineer
> Ivy Tech Community College of Indiana
> jmadden@ivytech.edu
> 
> 
> ---------------------------------------------------------------------
> The official User-To-User support forum of the Apache HTTP Server Project.
> See <URL:http://httpd.apache.org/userslist.html> for more info.
> To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
> 


-- 
===========================================================================
   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
	    "If you can dodge a wrench, you can dodge a ball."

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message