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:
https://github.com/percona/percona-pacemaker-agents/blob/master/agents/mysql_prm
And the xml of the resource here:
http://pastebin.com/yRMV2SVj
Any help will be greatly appreciated!
Martin.
_______________________________________________
Pacemaker mailing list: [email protected]
http://oss.clusterlabs.org/mailman/listinfo/pacemaker
Project Home: http://www.clusterlabs.org
Getting started: http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf
Bugs: http://bugs.clusterlabs.org