Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: failover problems on Windows |
|
Author |
|
vijay323
Joined: 10 Apr 2008 Posts: 2
|
Posted: Thu 10 Apr '08 11:14 Post subject: failover problems on Windows |
|
|
Hi,
On the load balancer set up that we have, everything seems to work fine except for the failover.
Can anyone tell me the mistakes/missing configurations. Given below is a snippet of the configurations..
---------
ProxyPass / http://proxy1/
ProxyPass / http://proxy2/
ProxyPassReverse / http://proxy1/
ProxyPassReverse / http://proxy2/
ProxyPass / balancer://proxybalancer nofailover=On
<Proxy balancer://proxycluster >
BalancerMember http://proxy1 smax=1 loadfactor=1 route=1
BalancerMember http://proxy2 smax=1 loadfactor=1 route=2
ProxySet lbmethod=byrequests
</Proxy>
----------
In case 'proxy1' is taken off, then the request should be automatically routed to 'proxy2'. This as of now is not happenning.
I tried by changing the parameters(like manaually disabling the server, setting a higher value to lbset parameter & providing a redirect value to the inactive server) on the balance-manager interface, but to no avail.
Note: Underlying OS is windows!!
Thanks in advance,
Vijay |
|
Back to top |
|
tdonovan Moderator
Joined: 17 Dec 2005 Posts: 612 Location: Milford, MA, USA
|
Posted: Thu 10 Apr '08 15:57 Post subject: |
|
|
Have you tried it without the nofailover=On parameter?
This parameter prevents failing over from the route=1 proxy to any proxy with a different route.
If you expect clients to failover, I don't think you want to have nofailover=On .
-tom- |
|
Back to top |
|
vijay323
Joined: 10 Apr 2008 Posts: 2
|
Posted: Fri 11 Apr '08 6:45 Post subject: |
|
|
Hi Tom,
As per your suggestion, I tried without the 'nofailover' parameter, but still the failover fails.!
Is it that implementing this on Windows server requires any env. variables to be set?
~vijay~ |
|
Back to top |
|
|
|
|
|
|