[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-virtual-server
Subject:    Re: [patch] Re: ldirectord and DNS
From:       Tim Hasson <tim () aidasystems ! com>
Date:       2004-01-30 9:57:18
Message-ID: 1075456638.401a2a7eb2f20 () mail ! aidasystems ! com
[Download RAW message or body]

Hi,

I have been using this patch in production for a higly loaded network for over 
2 weeks now.

2 realservers running dnscache and tinydns.

(I had to apply a patch to dnscache from dnscache.org so it can listen on the 
real server's ip since it will only listen on one ip to which it is 
configured - normally the VIP)

Respectfully,
Tim Hasson


Quoting Horms <horms@verge.net.au>:

> On Tue, Jan 27, 2004 at 11:32:53PM -0800, Tim Hasson wrote:
> > Hi,
> > 
> > The attached patch gets around the problem with ldirectord not doing any
> udp 
> > checks, by using Net::DNS to test if the DNS server is resolving.
> > 
> > You cannot simply just do a udp connect check, as udp is connectionless :)
> > That is why ldirectord will always keep all real servers on any udp
> service, 
> > regardless of the service status.
> > 
> > So, you just basically install Net::DNS from cpan, and apply the attached 
> > patch to /usr/sbin/ldirectord
> > 
> > You can change www.test.com in the patch or in ldirectord after you applied
> 
> > the patch if you need to specify an internal domain or something else.
> > 
> > The patch applied to several ldirectord versions cleanly, including the
> latest 
> > from ultramonkey heartbeat-ldirectord-1.0.4.rpm (I believe it was
> ldirectord 
> > 1.76)
> 
> Thanks. I will do some testing and put it into the tree.
> 
> -- 
> Horms
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
> Send requests to lvs-users-request@LinuxVirtualServer.org
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
> 



_______________________________________________
LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://www.in-addr.de/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic