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

RE: achieve server redundancy



Title: RE: achieve server redundancy

You also have the option of using keepalived (which I use) with LVS to handle
your load balancing needs. The large amount of quality OSS software gives you
a lot of options and will cost a great deal less than a hardware load balancer.

Have fun!

Dayton

-----Original Message-----
From: Medievalist [mailto:ldap@hbcs.org]
Sent: Tuesday, December 16, 2003 12:05 PM
To: openldap-software@OpenLDAP.org
Cc: Kent_Wu@trendmicro.com
Subject: 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.