LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] question about LVS

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] question about LVS
Cc: "L.S. Keijser" <leon@xxxxxxxx>
From: Michiel van Es <mve@xxxxxxxxxxxxxxxxx>
Date: Tue, 04 May 2010 10:15:38 +0200

-------- Original Message --------
Subject: Re: [lvs-users] question about LVS
From: L.S. Keijser <leon@xxxxxxxx>
To: LinuxVirtualServer.org users mailing list. 
<lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Date: 05/04/2010 09:52 AM

> On Tue, 2010-05-04 at 00:33 +0100, Graeme Fowler wrote:
>> 3. I suspect you have the ARP problem as this is a classic symptom in -DR
>> setups. It would appear that your connections are going directly to the
>> second realserver rather than the director. Please check the ARP table on
>> the machine you're using as a client and ensure the MAC address of the VIP
>> is that of the director.
>
>
> And use 'arping VIP' from a client (not director/realserver) in the same
> subnet as the VIP, to see if you solved the ARP problem. You should get
> exactly one MAC address in your replies, namely the MAC that belongs to
> the VIP configured on the director. If you get an 'extra' MAC reply it's
> from a realserver that still has the ARP problem, which you then need to
> fix.
>

Hmm I only have 3 servers (vps) which are on the same subnet.

server2 arping VIP:
lo:110    Link encap:Local Loopback
           inet addr:194.145.200.87  Mask:255.255.255.255
           UP LOOPBACK RUNNING  MTU:16436  Metric:1

-bash-3.2# arping 194.145.200.87
ARPING 194.145.200.87 from 194.145.200.171 eth0
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  1.718ms
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  0.615ms
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  0.611ms
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  0.584ms
^CSent 16 probes (1 broadcast(s))
Received 16 response(s)
-bash-3.2#

server1 (the one that does not respond) arping VIP:
-bash-3.2# arping 194.145.200.87
ARPING 194.145.200.87 from 194.145.200.17 eth0
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  1.744ms
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  0.656ms
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  0.640ms
Unicast reply from 194.145.200.87 [00:16:3E:0C:F6:CE]  0.653ms
^CSent 7 probes (1 broadcast(s))
Received 7 response(s)
lo:110    Link encap:Local Loopback
           inet addr:194.145.200.87  Mask:255.255.255.255
           UP LOOPBACK RUNNING  MTU:16436  Metric:1


What else should I check? sysctl.conf is the same on both machines.

>
> Léon
>

Michiel

>
>
>
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
>
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>