LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] ldirectord check on mysql non standard port

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] ldirectord check on mysql non standard port
From: Aslan Carlos <aslan@xxxxxxxxxxxxxxx>
Date: Wed, 25 Jul 2007 11:12:01 -0300
Hi Federico,

  OK the example is:

virtual = xx.xx.xx.xx:3309
        real=ff.aa.bc.de:3309 gate 4569
        real=ff.aa.cc.dd:3309 gate 7508
        checktype=negotiate
        login="chkcluster"
        passwd="dldi$T3sy"
        database="chckcluster"
        request="SELECT * FROM ctest limit 1"
        service=mysql   # adding it the ldirectord knows the service to
test.
        scheduler=wlc

the ldirectord knows the port getting in real servers lines (real=.*),
in this case they will try connect the mysql at port 3309.

best regards.
---
Aslan Carlos de M. Ramos
Network Administrator
K8 Networks, Digirati Networks and Hostnet WebHosting
Phone : +55(21)2233-5950 Ramal:29
Mobile: +55(21)9989-4932
Skype: aslancarlos


On Tue, 2007-07-24 at 23:47 +0200, Cali Federico wrote:
> Is it possible to have an example on ldirectord.cf 
> 
> that works on a non-standard port?
> 
>  
> 
> Thanks 
> 
> Federico
> 
> _______________________________________________
> 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>