Solved

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

Posted on 2012-03-17
3
821 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 27

Accepted Solution

by:
dpearson earned 500 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

In Solr 4.0 it is possible to atomically (or partially) update individual fields in a document. This article will show the operations possible for atomic updating as well as setting up your Solr instance to be able to perform the actions. One major …
Go is an acronym of golang, is a programming language developed Google in 2007. Go is a new language that is mostly in the C family, with significant input from Pascal/Modula/Oberon family. Hence Go arisen as low-level language with fast compilation…
Viewers learn about the “while” loop and how to utilize it correctly in Java. Additionally, viewers begin exploring how to include conditional statements within a while loop and avoid an endless loop. Define While Loop: Basic Example: Explanatio…
This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.

756 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