LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] FQDN as Real Server reference

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] FQDN as Real Server reference
From: Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>
Date: Fri, 27 Feb 2009 19:10:55 +0000
Steve,

That sounds really daft, from a performance perspective. Although I do
recall wanting to do a similar thing with firewall rules in the past
i.e. dynamic rules.

LVS definitely doesn't do that.

Haproxy will balance on a DNS entry, not sure if it caches the results
though (probably).







2009/2/27 Stjohnson <slists@xxxxxxxxxxxxxxx>
>
> Hello,
>
> I have a question about LVS. I¹m working on setting up a load balanced
> solution that will do routing/NAT, so that the lVS is a hairpin or
> termination point for VIPs, which will then source NAT requests to real
> servers. So far so good, not a big challenge as I  read the docs.
>
> But for the round robin association to real servers, I need LVS to do a DNS
> query to a list of real servers referenced by DNS name rather than IP. Then
> based on the result of DNS, goto that IP that time for the real server.
>
> VIP: VIP.1
>    real-server: host1.dns.com (not an IP)
>    real-server: host2.domain.com
>
>
> Does LVS have the capability to have a FQDN as a real-server? And if so, is
> there any config for caching? Ideally, I want a DNS query each time a VIP is
> hitting the real-server pool, so that it always gets the latest info from
> the DNS server.
>
> Thanks for any insight!
>
> -steve
>
>
> _______________________________________________
> 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



--
Regards,

Malcolm Turnbull.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/

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