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: Tue, 24 Jul 2007 10:47:46 -0300
Hi Federico, 

you'l need especify the type of service that the ldirector will test, so
just add 'service=mysql' in any place below the entries /real=.*/.

That's works fine to me.


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 12:14 +0200, Cali Federico wrote:
> Hi all,
> 
>  
> 
> I use LVS + UltraMonkey to balanace mysql requests.
> 
> I need to check Mysql real servers that run on port 3309.
> 
> Is it possible using ldirectord ?
> 
>  
> 
> With the following directives, even if I shutdown the mysql instance on
> one real server, 
> 
> ipvasdm don't recognize the failure.
> 
>  
> 
> #MySQL virtual service.
> 
> virtual=192.168.10.10:3309
> 
>        real=10.10.10.30:3309 gate
> 
>        real=10.10.10.32:3309 gate
> 
>        checktype = negotiate
> 
>        login = "test"
> 
>        passwd = "test"
> 
>        database = "test"
> 
>        request = "SELECT * FROM test"
> 
>        scheduler = wrr
> 
>  
> 
> 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>