logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

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.
Post new topic   Forum Index -> Apache View previous topic :: View next topic
Reply to topic   Topic: failover problems on Windows
Author
vijay323



Joined: 10 Apr 2008
Posts: 2

PostPosted: Thu 10 Apr '08 11:14    Post subject: failover problems on Windows Reply with quote

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

PostPosted: Thu 10 Apr '08 15:57    Post subject: Reply with quote

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

PostPosted: Fri 11 Apr '08 6:45    Post subject: Reply with quote

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


Reply to topic   Topic: failover problems on Windows View previous topic :: View next topic
Post new topic   Forum Index -> Apache