LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] DNS LVS questions

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] DNS LVS questions
Cc: Pete Ashdown <pashdown@xxxxxxxxxxxx>
From: Graeme Fowler <graeme@xxxxxxxxxxx>
Date: Thu, 06 Sep 2012 12:43:56 +0100
On Thu, 2012-09-06 at 13:11 +0200, Jesper Dangaard Brouer wrote:
> This is not caused by IPVS.  The solution is that your DNS server must
> UDP bind/connect to the VIP, not the real-server IPs.

The easiest and most trivial way to resolve this is a requirement of the
LVS-DR method - to have the VIP(s) bound to loopback interfaces as /32
addresses (as interface aliases, or using "ip address add $VIP/32 dev
lo").

If they then become active on an ethernet (or other) interface with a
longer netmask, the nameserver daemon is already listening on that
address so service continues with no interruption. When that interface
goes away (on IP failover, for example) the address remains on loopback
so the service continues once more.

Graeme


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