LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

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

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: [lvs-users] ldirectord check on mysql non standard port
From: "Cali Federico" <cali@xxxxxxxxxxxxx>
Date: Tue, 24 Jul 2007 12:14:42 +0200
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


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