Hi Thiago,

I don't have simple access to the last ldirectord sources, but I'm pretty
sure 
that the old checks are available on the newer versions too.

What you need is a backend check to see whether the backend is serving
in your case mysql.

a) You can use a simple check and just connect to mysql server. If you
can connect, you can assume that the backend is alive and working.
This is checktype=connect

b) If a) is not enough you could use an external script gathering the
"servicability" of your backend:
This is checktype =  external
and checkcommand = /path/to/a/script
and your script does connect to mysql via mysql client, doing a query
against
the database (probably with a narrow timeout) and returning 0 and 1.
(See the man page of ldirectord)

Hope that helps.

Best regards
Andreas Mock


-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von Listas
Gesendet: Montag, 24. Juni 2013 21:44
An: [email protected]
Betreff: [Linux-HA] Ldirector support for MySQL with IPv6

Hi,

I'm using Ubuntu 12.04 + Heartbeat 3.0.5-3ubuntu2 + Ldirector
3.9.2-5ubuntu4.1 to provide high availability and load balancing for MySQL.

I need to configure IPv6 in my cluster. But, in man ldirectord I see just
suport for services: dns, nntp, none, simpletcp, sip.

Is there forecast to add support for other services (like MySQL) ?

Thanks!
--
Thiago Henrique
www.adminlinux.com.br

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

_______________________________________________
Linux-HA mailing list
[email protected]
http://lists.linux-ha.org/mailman/listinfo/linux-ha
See also: http://linux-ha.org/ReportingProblems

Reply via email to