primitive p_mysql ocf:heartbeat:mysql \ params binary="/usr/sbin/mysqld" additional_parameters="--bind-address=0.0.0.0" datadir="/var/lib/mysql" config="/etc/mysql/my.cnf" log="/var/log/mysql/mysqld.log" pid="/var/run/mysqld/mysqld.pid" socket="/var/run/mysqld/mysqld.sock" \ op monitor interval="120s" timeout="60s" \ op stop interval="0" timeout="240s" \ op start interval="0" timeout="240s"