Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Setting Up A High-Availability Load Balancer for Apache/Windows

Posted on 2012-03-17
3
Medium Priority
?
901 Views
Last Modified: 2012-03-24
Dear All,

I'm currently trying to setup an environment where I have high availability even on the load-balancer. I have googled using multiple keywords, however all results that I got seemed to be tilted towards the LINUX/Debian world.

I'm on a windows environment, using Apache Server 2.2 with Tomcat 7. What I'm trying to get at is such that if a user visits my site and one of my load-balancer is down, I will still be able to serve my user.

Network Diagram
Appreciate any advice and sharings.
http://i.stack.imgur.com/n2k2E.jpg

Open in new window

0
Comment
Question by:chongchian
3 Comments
 
LVL 57

Expert Comment

by:giltjr
ID: 37733265
Are you looking at buying a load balancer, like from Kemp or F5?

Or are you trying to build one?
0
 
LVL 28

Accepted Solution

by:
dpearson earned 2000 total points
ID: 37733614
It sounds like you're trying to use your apache servers as the load balancers is that correct?

If so one approach is to establish a virtual IP that both apache servers can then respond to.  If one server fails, the other server continues to respond to that IP since they share the same (virtual) IP.

If you'd like to explore that approach the details of how to set this up on Windows depends on exactly what version of Windows you're using.  Here's a first reference: http://www.webnms.com/simulator/help/sim_network/netsim_conf_virtual_ip.html

You can also search for specific details for a specific version of Windows.

You can also read more about the concept behind using virtual IPs for this sort of fail over support here: http://www.ibm.com/developerworks/wikis/download/attachments/16253354/VirtualIP.pdf?version=1

This isn't a Windows discussion - but don't be concerned about that.  The concepts are exactly the same no matter which OS you are using.

Doug
0
 

Author Comment

by:chongchian
ID: 37736661
Thanks Doug. Can two machines in the same network have the same virtual IP?
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is the first of three articles that explain why and how the Experts Exchange QA Team does test automation for our web site. This article explains our test automation goals. Then rationale is given for the tools we use to a…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Viewers learn how to read error messages and identify possible mistakes that could cause hours of frustration. Coding is as much about debugging your code as it is about writing it. Define Error Message: Line Numbers: Type of Error: Break Down…
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
Suggested Courses

824 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question