httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Plüm, Rüdiger, VIS <>
Subject AW: AW: AW: proxy failover/load balance
Date Wed, 01 Feb 2006 10:24:10 GMT

-----Ursprüngliche Nachricht-----
Von: Robby Pedrica 

> Thanks Rudiger,
> I've set redirect and route values - not sure if these are correct:
> <Proxy balancer://mycluster>
> BalancerMember redirect=1
> BalancerMember route=1 status=D
> </Proxy>
> I'm assuming that if member a. fails then requests will be redirected to member b. -
this is not happening currently.

This only works with session stickyness. So

ProxyPass / balancer://mycluster stickysession=SESSION_COOKIE
<Proxy balancer://mycluster>
BalancerMember route=a redirect=b
BalancerMember route=b status=Disabled

Furthermore your backend should deliver a session cookie

SESSION_COOKIE which has .a / .b added to the session id.
If you don't have an application on the backend that does this (from previous statements
I assume that you are using a httpd as backend) you can use
mod_headers on the backend servers to set these cookies.

Header add Set-Cookie "SESSION_COOKIE=anything.a;Path=/"



View raw message