[Pacemaker] Failed actions: ...not installed

Attila Megyeri amegyeri at minerva-soft.com
Tue Jan 24 04:03:17 EST 2012

Hi Andreas,

I would give it a try from shell.
Set all required environment variables, such as (as in your cib)

export OCF_ROOT=/usr/lib/ocf
export OCF_RESKEY_binary="/usr/bin/mysqld_safe"
export OCF_RESKEY_config="/etc/mysql/my.cnf"
export OCF_RESKEY_datadir="/var/lib/mysql"
export OCF_RESKEY_user="mysql"
export OCF_RESKEY_pid="/var/run/mysqld/mysqld.pid"
export OCF_RESKEY_socket="/var/run/mysqld/mysqld.sock"

and then execute the RA from its local directory. (e.g. ./mysql monitor or ./mysql start )
You may see why it fails, or add some logging into the RA itself.


From: Stallmann, Andreas [mailto:AStallmann at CONET.DE]
Sent: 2012. január 24. 9:46
To: pacemaker at oss.clusterlabs.org
Subject: [Pacemaker] Failed actions: ...not installed

Hi there,

What does the following error mean:

Failed actions:
    p_mysql:1_start_0 (node=int-ipfuie-mgmt02, call=15, rc=5, status=complete): not installed
    p_mysql:0_start_0 (node=int-ipfuie-mgmt01, call=15, rc=5, status=complete): not installed

The resource script “mysql” IS installed, it’s where all the other scripts are:

/usr/lib/ocf/resource.d/heartbeat # ls -lh mysql
-rwxr-xr-x 1 root root 43K Jan 23 16:36 mysql

There’s nothing (at least nothing obvious) in /var/log/messages, that reveals any further information.

Here’s my configuration (for the primitive and for the M/S setup):

primitive p_mysql ocf:heartbeat:mysql \
        params config="/etc/my.cnf" pid="/var/run/mysql/mysql.pid" socket="/var/run/mysql/mysql.sock" replication_user="repl" replication_passwd="blafasel" max_slave_lag="15" evict_outdated_slaves="false" binary="/usr/bin/mysqld_safe" test_user="root" test_passwd="blafasel" \
        op start interval="0" timeout="120s" \
        op stop interval="0" timeout="300s" \
        op monitor interval="5s" role="Master" timeout="30s" OCF_CHECK_LEVEL="1" \
        op monitor interval="2s" role="Slave" timeout="30s" OCF_CHECK_LEVEL="1"
primitive pingy_res ocf:pacemaker:ping \
        params dampen="5s" multiplier="1000" host_list="" \
        op monitor interval="15s" timeout="20s" \
        op start interval="0" timeout="60s"
ms ms_MySQL p_mysql \
        meta master-max="1" master-node-max="1" clone-max="2" notify="true" target-role="Started"

Any ideas on how to get this running?



CONET Solutions GmbH, Theodor-Heuss-Allee 19, 53773 Hennef.
Registergericht/Registration Court: Amtsgericht Siegburg (HRB Nr. 9136)
Geschäftsführer/Managing Director: Anke Höfer


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.clusterlabs.org/pipermail/pacemaker/attachments/20120124/f2043c68/attachment-0003.html>

More information about the Pacemaker mailing list