You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Yavor Trapkov <ya...@gmail.com> on 2007/06/26 16:13:13 UTC
[users@httpd] Simultaneous Proxy Balancer workers
Hello,
is it possible to setup 2 or more proxy balancers to simultaneously use the
same worker (server), for example
ProxyPass /URL1 balancer://mycluster1
<Proxy balancer://mycluster1>
BalancerMember http://1.2.3.4:8009/URL1 route=blue
BalancerMember http://1.2.3.5:8009/URL1 smax=10 route=red
# Less powerful server, don't send as many requests there
BalancerMember http://1.2.3.6:8009/URL1 smax=1 loadfactor=20 route=orange
</Proxy>
ProxyPass /URL2 balancer://mycluster2
<Proxy balancer://mycluster2>
BalancerMember http://1.2.3.4:80/URL2 route=blue
BalancerMember http://1.2.3.5:80/URL2 smax=10 route=red
# Less powerful server, don't send as many requests there
BalancerMember http://1.2.3.6:80/URL2 smax=1 loadfactor=20 route=orange
</Proxy>
If mycluster1 goes via route=red then mycluster2 should go via the same
"red" server
I use route=red just for the example, but any other option could probably be
used
is this supported by apache ghttpd 2.2.4
Thank you
Yavor