LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Localhost (local vip) time out

To: Graeme Fowler <graeme@xxxxxxxxxxx>, "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Localhost (local vip) time out
From: Brent Clark <brentgclarklist@xxxxxxxxx>
Date: Wed, 16 May 2012 13:32:54 +0200
On 15/05/2012 12:53, Graeme Fowler wrote:
> On Tue, 2012-05-15 at 09:01 +0200, Brent Clark wrote:
>> I did as you suggest. I.e. look for "realservers as clients".
>> If I understood correctly, esp the 'gotchas' page. You are not supposed to 
>> make calls / connections to yourself.
>> E.g. I cant or not supposed to run wget to a virtual host, thats DNS points 
>> to a VIP?
>
> The problem with connecting to a VIP (ignoring for a moment the loopback
> case) is that the three-way TCP handshake can go wrong.
>
> The simplest way to make a realserver connect to a VIP (as configured in
> DNS) is to put the VIP on the realserver, so it always talks to itself.
> In LVS-DR, which I think you're using, this should already be the case
> anyway or the realservers won't reply to requests for the VIP.
>
> Graeme

I think I hear what your saying.

I am using / doing LVS-DR. The VIP is on the real server.

Should I not edit my /etc/ha.d/haresouces and

hostcutout.org
       ldirectord::ldirectord.cf         \
       IPaddr2::xyz.221.22.9/27/eth0/xyz.221.22.31 \
       IPaddr2::xyz.221.22.10/27/eth0/xyz.221.22.31 \
       IPaddr2::xyz.221.22.23/27/eth0/xyz.221.22.31

where /27 make 32?

Thanks
Brent






_______________________________________________
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>