[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [cobalt-users] 2 Raq3i's



on 4/28/00 5:36 AM, Keith at keith@xxxxxxxxx wrote:

> I have gotten information on how to setup rsync so that two machines
> sitting in two different colocations will be mirrored.  Is there a way to
> load balance between the two machines?  I would I set that up?  How can I
> set it up so if machine1 fails there will be no loss of service because
> machine2 will take over.

Well, if you have them in to locations, on two seperate networks, the best
easy way is to set up a round-robin DNS.  First user goes to this server,
second to the next, and so on.  Then when one of the connections goes down
you remove the one that is down from the DNS.  Obviously your TTL must be
set low, and your DNS hosted off-site and upstream.

That's not a perfect solution.  Really the best way to go would be to
co-locate the machines in a datacenter that can provide you with BGP
routing, etc., so that if one network or carrier goes down, it doesn't
effect you.  To load balance then, you'd just need to get a load balancing
switch/firewall, like one from F5 networks or a similar company.  You could
also build your own from another Linux machine, if you're so inclined.

-k