LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Proxy ARP and LVS

To: Zhao Hongfei <zhaohf@xxxxxxxxxxxxxxx>
Subject: Re: Proxy ARP and LVS
Cc: "lvs-users@xxxxxxxxxxxxxxxxxxxxxx" <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
From: Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>
Date: Sat, 26 Feb 2000 07:37:53 +0200 (EET)
        Hello,

On Sat, 26 Feb 2000, Zhao Hongfei wrote:

> Good morning,every one!
> 
> Now I want to make some changes in the LVS so that any realservers can be
> the director and the director can be a realservers at same time by patching
> the arp. And now I have two problem to ask:
>  1.Could somebody can give me some advices about linux kernel debugging;

        Read the Source (TM)

>  2.At any time,there are a backup server and a director in the cluster,how do
> you think?
> 

        Use 2.2.14+ and you don't need to patch ARP. See the instructions
in http://www.linuxvirtualserver.org/arp.html

        So, just compile LVS in all (2-3) cluster nodes.

        You can hide your secondary (VIP) devices (dummy* ?) at system
startup on all hosts and just to setup the primary eth alias(es) on the
current director. When one host becomes director you have to send
gratuitous ARP packet (for VIP) on the LAN. The VIP can be moved easy on
another host using gratuitous ARP but don't play with it often. All
current connections are lost. It is a backup variant to switch to another
director. You can safely use the director as real server at least with the
latest stable kernels. So, put some real servers in the cluster and elect
one as director.  Not very useful for LVS/NAT where the real server knows
its default gateway. In this case you must change def gw in all real
servers when changing the director.

Regards

--
Julian Anastasov <uli@xxxxxxxxxxxxxxxxxxxxxx>



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