[Pacemaker] PCS vs CRM

Martin Arrieta mail at martinarrieta.me
Tue Aug 13 09:40:53 EDT 2013

Hi all,

I'm trying to reproduce the following command with pcs without luck

crm primitive p_mysql ocf:percona:mysql \
      params config="/etc/my.cnf" pid="/var/lib/mysql/mysqld.pid"
socket="/var/run/mysqld/mysqld.sock" replication_user="repl_user" \
             replication_passwd="repluser" max_slave_lag="60"
evict_outdated_slaves="false" binary="/usr/libexec/mysqld" \
             test_user="test_user" test_passwd="testuser" \
      op monitor interval="5s" role="Master" OCF_CHECK_LEVEL="1" \
      op monitor interval="2s" role="Slave" OCF_CHECK_LEVEL="1" \
      op start interval="0" timeout="60s" \
      op stop interval="0" timeout="60s"

You can find the resource here:


And the xml of the resource  here:


Any help will be greatly appreciated!

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clusterlabs.org/pipermail/pacemaker/attachments/20130813/8b1b8055/attachment-0002.html>

More information about the Pacemaker mailing list