Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have many low end atom servers for a startup project, each server have a few public ip addresses (no private network).

I'm currently in the process of making it failsafe. There now is a load balancer in front of my http servers.

This load balancer is at this point a single point of failure, when it goes down everything becomes unreachable.

I was wondering if there is a low cost solution to remove the single point of failure?

I looked into round robin DNS, but it is quite unreliable.

In addition I looked into heartbeat which looks like a nice solution when you have access to the hardware and can connect network cables.

But in my case i can't attach network cables or add hardware. I only have root access and can install software and reconfigure Linux.

Update

Thanks for the answers, i appreciate it.

But when using heartbeat or Keepalived you need 2 network cards in your server, my server only have 1. That one network card is the main one.

I can't use the main one because when it gets high traffic the heartbeat communication may fail (and trigger shutdown). I don't want that :)

Is there a alternative?

share|improve this question
    
Add an extra network card to each load balancer, or QoS off a portion of your network traffic for the heartbeat. Are you really expecting to max out a 1Gbps network connection with web traffic? –  Chris Thorpe Apr 12 '11 at 8:49
    
Heartbeat also does its, well, heartbeating over a serial connection, and IME prefers the direct serial connection to any number of ethernet interfaces. As long as each box has an RS232 port, you should be fine. –  MadHatter Sep 3 '11 at 6:32
add comment

4 Answers

I use Linux Virtual Server http://www.linuxvirtualserver.org/ along with Keepalived http://www.keepalived.org/ to have 2 redundant / fail-over load-balancers.

share|improve this answer
add comment

i would recommend also LVS as user78043 already did. Two other, even a bit easier options are haproxy, perlbal or nginx. In any case you would need hearbeat to build a really HA solution with automatic failover.

share|improve this answer
add comment

I use HAProxy (http://haproxy.1wt.eu/) in conjunction with Heartbeat (no real hardware reconfiguration actually required) to have 2 fairly low powered servers provide a redundanct load balancing to the web servers behing HAProxy.

share|improve this answer
    
-1 for not answering the question. –  Squidly Sep 3 '11 at 4:13
add comment

It depends on what type of Load Balancing you are using, and what you mean by load balancing.

If you have some kind of firewall disto such as pfSense, then there are build in clustering and failover solutions you can use.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.