comp.os.linux.networking
[Top] [All Lists]

Mysql-Cluster and Load Balancing with ldirectord

Subject: Mysql-Cluster and Load Balancing with ldirectord
From:
Date: 13 May 2005 05:17:01 -0700
Newsgroups: comp.os.linux.networking
Hi everyody,
I set up a test environment that is the same as the one in this image :
http://www.ultramonkey.org/3/topologies/svg/lb-eg.png .
I've configured a a mysql cluster on the 2 real server and these are
listening on 3306 port, serving the same DB.
Now i would like to put everything under a Load Balancer on the third
PC. I'm using "ldirectord" from the Ultramonkey  project.
I've configured the "ldirectord.cf" file in this way :

# Global Directives
checktimeout=3
checkinterval=1
fallback=127.0.0.1:80
autoreload=yes
quiescent=yes

#Sample configuration for a MySQL virtual service.
virtual = 192.168.6.240:3306
       real = 192.168.7.4:3306 masq 10
       real = 192.168.7.5:3306 masq 10
       checktype = negotiate
       login = "miouser"
       passwd = "miapass"
       database = "test"
       request = "SELECT * FROM test"
       scheduler = wrr

The Daemon starts up correctly, but in the system i can't find any
virtual address with the IP that i want, 192.168.6.240 listening to the
3306 port, so, at this moment i'm balancing anything.
For what i've understand, the daemon should create the virtual
interface, but i don't receive any error from it and i can't find out
what's wrong.
I've followed these instructions :
                                www.ultramonkey.org/3/topologies/lb-eg.html">http://www.ultramonkey.org/3/topologies/lb-eg.html
What i am missing ?

Thank you so much,

-- 
RaSca
rascasof@xxxxxxxxxx


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