I&#39;ve recently started taking a look at pacemaker to get some kind of HA in a mysql test environment.  The grouping has a ocf:heartbeat:IPaddr2 and a ocf:heartbeat:mysql monitor in it.  The IP monitor spins up fine and properly jumps around the cluster depending on which node is active.  I&#39;m having issues getting mysql to spin up, however.<div>

<br></div><div>Basically (so far) I&#39;ve:</div><div><br></div><div>Here is the definitions you can view when doing a crm configure edit:</div><div><br></div><div><div>primitive p_novaSQL_IP ocf:heartbeat:IPaddr2 \</div>

<div>        params ip=&quot;172.17.0.96&quot; nic=&quot;eth0&quot; \</div><div>        op monitor interval=&quot;10s&quot;</div><div>primitive p_mysql ocf:heartbeat:mysql \</div><div>        params binary=&quot;/usr/bin/mysqld_safe&quot; config=&quot;/etc/mysql/my.cnf&quot; socket=&quot;/var/run/mysqld/mysock.sock&quot; datadir=&quot;/var/lib/mysql&quot; \</div>

<div>        op monitor interval=&quot;10s&quot; timeout=&quot;30s&quot; \</div><div>        op start interval=&quot;0&quot; timeout=&quot;120&quot; \</div><div>        op stop interval=&quot;0&quot; timeout=&quot;120&quot; \</div>

<div>        meta target-role=&quot;Started&quot;</div><div>group g_sqlMonitor p_sql_IP p_mysql</div><div>property $id=&quot;cib-bootstrap-options&quot; \</div><div>        dc-version=&quot;1.0.9-da7075976b5ff0bee71074385f8fd02f296ec8a3&quot; \</div>

<div>        cluster-infrastructure=&quot;Heartbeat&quot; \</div><div>        stonith-enabled=&quot;false&quot; \</div><div>        last-lrm-refresh=&quot;1312926142&quot; \</div><div>        no-quorum-policy=&quot;ignore&quot;</div>

</div><div><br></div><div><br></div><div>Error reported from crm_mon:</div><div>p_novasql_start_0 (node=sql1, call=74, rc=-2, status=Timed Out): unknown exec error</div><div><br></div><div>Error reported from sql (/var/log/mysql/error.log)</div>

<div><div>110809 14:57:22 [ERROR] Can&#39;t start server : Bind on unix socket: Permission denied</div><div>110809 14:57:22 [ERROR] Do you already have another mysqld server running on socket: /var/run/mysqld/mysock.sock ?</div>

<div>110809 14:57:22 [ERROR] Aborting</div></div><div><br></div><div><br></div><div>I&#39;ve dug around but can&#39;t seem to find a resolution to this error.  I&#39;ve looked at a couple quick &amp; dirty examples for getting mysql up and running with Pacemaker and the above seems to match with the config data.  Any ideas/suggestions would be greatly appreciated.</div>

<div><br></div><div>-Mike.</div>