Marco Leone escribió:
Hi,
Hello

I've been trying to use the mysql OCF script to manage a two node HA 2.1.3 active/passive cluster with DRBD.

I was able to start HA DRBD and MySQL server but the script cannot manage the monitor/status and stop parameter.

If I check the script manually I can start the MySQL server (but receive a [: 415: ==: unexpected operator error).

The first try with ./mysql stop returns an error loop:

[: 415: ==: unexpected operator error
Can you paste the script to have a look ... I think it is a problem of script "encoding"

Hitting ^C and trying again stops the MySQL server (that doesn't work if MySQL server is managed directly by HA).

Anyone has a working mysql RA or can point me to the possibile cause of my problem?
Here it is: http://code.adrianchapela.net/heartbeat/mysql_slave_master

This is my mysql master/slave OCF script. You can use for a simple active / passive cluster without problem.

It wasn't all fine I want ... but I is working....

TIA.

Regards!

_______________________________________________
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