Solved

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

Posted on 2012-03-17
3
774 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
Comment Utility
Are you looking at buying a load balancer, like from Kemp or F5?

Or are you trying to build one?
0
 
LVL 26

Accepted Solution

by:
dpearson earned 500 total points
Comment Utility
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
Comment Utility
Thanks Doug. Can two machines in the same network have the same virtual IP?
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction Java can be integrated with native programs using an interface called JNI(Java Native Interface). Native programs are programs which can directly run on the processor. JNI is simply a naming and calling convention so that the JVM (Java…
It is possible to boost certain documents at query time in Solr. Query time boosting can be a powerful resource for finding the most relevant and "best" content. Of course the more information you index, the more fields you will be able to use for y…
The viewer will learn how to implement Singleton Design Pattern in Java.
Viewers will learn how to properly install Eclipse with the necessary JDK, and will take a look at an introductory Java program. Download Eclipse installation zip file: Extract files from zip file: Download and install JDK 8: Open Eclipse and …

763 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now