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@xxxxxxxxxxxx>:
> 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@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users
>
|