[Date Prev][Date Next] [Chronological] [Thread] [Top]

RE: achieve server redundancy



Don't use round-robin DNS for anything if you can avoid it.  I have posted on 
this subject before - but in general, if you aren't intimately familiar with 
the problems it can cause, and have taken steps to make sure you will not be 
affected by these problems, you shouldn't do it.

In your case, you can use heartbeat from http:www.linux-ha.org.  It will do 
*exactly* what you've asked for, with only a very small amount of custom 
scripting (or none if you don't want to bother switching master/replica roles 
on failure).  Join the linux-ha mailing list at http://lists.linux-
ha.org/mailman/listinfo/linux-ha for more details.

Setting up heartbeat is much easier than OpenLDAP, incidentally, because it has 
a simpler function.  And it's free OSS, so it's dramatically cheaper than a 
load balancer, all you will need is a couple extra ethernet cards and a 
crossover cable.

Good Luck!
--Charlie

On 10 Dec 2003 at 19:14, Kent_Wu@trendmicro.com wrote:

> What I want to achieve is failure-recovery, through Round Robin I can achieve
> a bit load balance however when one server is down, the client who happens to be RR'ed to query that server 
> is going to get an error response still. It seems the load balancing switch might be a good choice since it would probably try to detect the status of those servers.