LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Playing around with ldirectord and UDP services

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Playing around with ldirectord and UDP services
From: Malcolm Turnbull <malcolm@xxxxxxxxxxxxxxxx>
Date: Thu, 12 May 2005 14:03:55 +0100
Graham David Purcocks M.A.(Oxon.) wrote:

I'm missing something. The connect check type just opens and closes a
connection based on the protocol. So if the service is udp, why don't
you have protocol=udp? Why do you want a TCP check when its a UDP
service?
Well what I'd really like is a UDP connect check for a UDP service but that doesn't seem to work.

For instance if you do :

virtual=10.0.1.31:53 gate Test_DNS
        real=10.0.0.50:53 gate 1
        fallback=127.0.0.1:53
        service=none
        checktype=connect
        scheduler=wrr
        protocol=udp

It wont work... (NB. obviously in production I want to use a different port than 53 but its an easy one to test
But :
service=dns
will work because of the special handling.





<Prev in Thread] Current Thread [Next in Thread>