LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Failover with 2 ISPs

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Failover with 2 ISPs
From: Dominik Klein <dk@xxxxxxxxxxxxxxxx>
Date: Mon, 14 Nov 2005 11:41:36 +0100
Hi,

I am new to LVS, never set one up yet, I read a lot on the website already though.

Plans are to do the following:

2 ISPs, 2 Directors in Master/Slave Configuration with connection-synchronisation, and n webservers (2 at the moment, but propably more soon).
So director1 is connected to 2 ISPs and (over switches) to the webservers.
When director1 fails, director2 shall take over and user connections should keep working. The connection to the internet is not to be load-balanced. Users know both ISP's addresses and come in over either ISP1 or ISP2.
So the load-balancing would be just from ISP1 or ISP2 to the webservers.

So if I did not get sth terribly wrong, that would make two VIPs (ISP1 and ISP2) and one DIP which will be the gateway for the webservers.

Here's a little ascii art of what we are thinking of, maybe this can make it a bit more clear:

*ISP1 ** ISP2
* | *\**/* | *
* | **\/** | *
* | **/\** | *
* DIR1--DIR2 *
* | failov | *
* | ****** | *
* SW1 -- SW2 *
* | *\**/* | *
* | **\/** | *
* | **/\** | *
*WWW1 ** WWW2

Is this possible with LVS?

I read about load-balancing the internet-connection but that did not regard failover.
http://www.austintek.com/LVS/LVS-HOWTO/HOWTO/LVS-HOWTO.ludos_reinject_forwarder.html

I hope I could explain myself well enough. Let me know if anything is unclear.

Thx for any help,
Dominik

<Prev in Thread] Current Thread [Next in Thread>