<div dir="ltr">Hi all, <div><br></div><div>I'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="/etc/my.cnf" pid="/var/lib/mysql/mysqld.pid" socket="/var/run/mysqld/mysqld.sock" replication_user="repl_user" \<br>
replication_passwd="repluser" max_slave_lag="60" evict_outdated_slaves="false" binary="/usr/libexec/mysqld" \<br> test_user="test_user" test_passwd="testuser" \<br>
op monitor interval="5s" role="Master" OCF_CHECK_LEVEL="1" \<br> op monitor interval="2s" role="Slave" OCF_CHECK_LEVEL="1" \<br> op start interval="0" timeout="60s" \<br>
op stop interval="0" timeout="60s"</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>