<div dir="ltr">Hi all, <div><br></div><div>I&#39;m trying to reproduce the following command with pcs without luck</div><div><br></div><div>crm primitive p_mysql ocf:percona:mysql \<br>      params config=&quot;/etc/my.cnf&quot; pid=&quot;/var/lib/mysql/mysqld.pid&quot; socket=&quot;/var/run/mysqld/mysqld.sock&quot; replication_user=&quot;repl_user&quot; \<br>
             replication_passwd=&quot;repluser&quot; max_slave_lag=&quot;60&quot; evict_outdated_slaves=&quot;false&quot; binary=&quot;/usr/libexec/mysqld&quot; \<br>             test_user=&quot;test_user&quot; test_passwd=&quot;testuser&quot; \<br>
      op monitor interval=&quot;5s&quot; role=&quot;Master&quot; OCF_CHECK_LEVEL=&quot;1&quot; \<br>      op monitor interval=&quot;2s&quot; role=&quot;Slave&quot; OCF_CHECK_LEVEL=&quot;1&quot; \<br>      op start interval=&quot;0&quot; timeout=&quot;60s&quot; \<br>
      op stop interval=&quot;0&quot; timeout=&quot;60s&quot;</div><div><br></div><div>You can find the resource here:</div><div><br></div><div><a href="https://github.com/percona/percona-pacemaker-agents/blob/master/agents/mysql_prm">https://github.com/percona/percona-pacemaker-agents/blob/master/agents/mysql_prm</a><br>
</div><div><br></div><div>And the xml of the resource  here: </div><div><br></div><div><a href="http://pastebin.com/yRMV2SVj">http://pastebin.com/yRMV2SVj</a><br></div><div><br></div><div>Any help will be greatly appreciated!<br>
</div><div><br></div><div>Martin.</div><div><br></div></div>