[Pacemaker] Upgraded mysql from 5.0 to 5.1

Jake Bogie jbogie at SureSource.com
Tue Jul 6 16:42:41 UTC 2010


So I took Raoul's advice and ditched the lsb:mysql check and went for
the ocf:heartbeat version however...

I'm getting this now...

What am I missing? I'm having a hard time finding a document on how to
setup this resource agent.

============
Last updated: Tue Jul  6 12:44:07 2010
Stack: openais
Current DC: qad02 - partition with quorum
Version: 1.0.9-89bd754939df5150de7cd76835f98fe90851b677
2 Nodes configured, 2 expected votes
3 Resources configured.
============

Online: [ qad02 qad01 ]

 Resource Group: mysql
     fs_mysql   (ocf::heartbeat:Filesystem):    Started qad02
     ip_mysql   (ocf::heartbeat:IPaddr2):       Started qad02
 Master/Slave Set: ms_drbd_mysql
     Masters: [ qad02 ]
     Slaves: [ qad01 ]

Failed actions:
    mysql-server_start_0 (node=qad01, call=6, rc=6, status=complete):
not configured
    mysql-server_start_0 (node=qad02, call=33, rc=5, status=complete):
not installed

###

primitive mysql-server ocf:heartbeat:mysql \
        op monitor interval="30s" timeout="30s" \
        op start interval="0" timeout="120" \
        op stop interval="0" timeout="120" \
        params config="/etc/my.cnf" datadir="/drbd/mysql/data/"
socket="/var/lib/mysql/mysql.sock" binary="/usr/sbin/mysqld"
socket="/var/lib/mysql/mysql.sock" binary="/usr/sbin/mysqld"
pid="/drbd/mysql/data/mysql.pid" test_passwd="isitup"
test_table="cluster_check.connectioncheck" test_user="qaclus" \




More information about the Pacemaker mailing list