On Thu, 14 Feb 2002, Ricardo Campos wrote:
Well, you can use round-robin DNS which means that for the hostname you'll assign two IP addresses. You just assign multiple A records for the hostname.
Sometimes the answer is so simple you just don't see it! Would this *just* provide fault tolerance (if one card goes down, it gives the next IP)? i.e. not load balance. Or does it alternate which IP it gives out to the client issuing the request?
All that happens is the DNS server gives one address and then the next, it alternates between the two so you don't really get any fault tolerance if one of the cards goes bang but at least 50% of request for service would get through so it's better than nothing.
The only way I can think of getting real fault tolerance would be some kind of either hardware or software load balancing, which is not cheap.
Although there is another possibility, whereby you write a script that runs on the server and watches both ethernet interfaces, when one stops working you nick its ip address and alias it to the other ethernet card.
Adam