LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Almost working, but not quite

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Almost working, but not quite
From: Sébastien Bonnet <Sebastien.Bonnet@xxxxxxxxxxx>
Date: Fri, 28 Feb 2003 15:33:28 +0100
> IP Virtual Server version 1.0.4 (size=65536)
> Prot LocalAddress:Port Scheduler Flags
>   -> RemoteAddress:Port           Forward Weight ActiveConn InActConn
> TCP  10.122.15.42:http rr
>   -> 10.122.15.41:http            Local   1      0          1
>   -> 10.122.15.43:http            Masq    1      0          1

                                    ^^^^
This might be the only problem ! Set it to direct and it should work :)
ipvsadm -e -t 10.122.15.42:80 -r 10.122.15.43 -w 1 -g

> eth0: 10.122.15.43
> lo:0: 10.122.15.42
> DGW: 10.122.254.254


> I tried moving the VIP from eth0:0 on machine 1 to lo:0 on machine 1
> and the same thing happens.

If you can still reach VIP after moving if from eth0 to lo (and waiting
a few minutes), it proves you haven't solve the ARP problem on machine
2.

The correct setup is :
M1 : noarpctl reset, VIP on eth0:0
M2 : noarpctl add VIP, VIP on lo:0, 

-- 
Sébastien Bonnet
  Centre de contacts - Experian France
<Prev in Thread] Current Thread [Next in Thread>