LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: problem in faking DIP for VS-DR

To: ÀÌÁ¾±Ç <conan@xxxxxxxxxxxxxxxxxxx>
Subject: Re: problem in faking DIP for VS-DR
Cc: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
From: Horms <horms@xxxxxxxxxxxx>
Date: Sat, 22 Apr 2000 23:47:09 -0700
On Sat, Apr 22, 2000 at 10:46:15PM +0900, ÀÌÁ¾±Ç wrote:
> Let's see the following fig. for VS-DR.
> Here I want to put another directer for HA.
> If I use heartbeat, faking VIP of eth0 of director will be done
> automatically.
> But, I should also fake the DIP of eth1 of director.
> Can I put some script to do this somewhere ? Is there any simple way ?
> I think the same situation will arise when we put firewalls in the position
> of director and configure HA.

If your real servers are web servers you may want to look at ldirectord
which comes in the contrib directory of LVS.

>                         ________
>                        |        |
>                        | client |
>                        |________|
>                        CIP=192.168.1.254
>                            |
>                         (router)
>                            |
>                  VIP=192.168.1.110 (eth0, arps)
>                       __________
>                      |          |
>                      | director |
>                      |__________|
>                      DIP=10.1.1.1 (eth1, arps)
>                            |
>                            |
>           -------------------------------------
>           |                |                  |
>           |                |                  |
>    RIP1=10.1.1.2     RIP2=10.1.1.3     RIP3=10.1.1.4 (eth0)
>    VIP=192.168.1.110 VIP=192.168.1.110 VIP=192.168.1.110 (all lo:0, can arp)
>     ____________      ____________      ____________
>    |            |    |            |    |            |
>    | realserver |    | realserver |    | realserver |
>    |____________|    |____________|    |____________|
> 
> 

-- 
Horms


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