Raoul:<br><br>I made some progress...  The default location of the relay-log and log-bin weren&#39;t matching up.  So, when I specify them things worked out -- now Pacemaker is starting my mysql instances and replication is working -- that is, master/slave...  Next hurdle is master/slave &lt;-&gt; master/slave.<br>
<br>Thanks for your help.<br><br>~Mike.<br><br><div class="gmail_quote">On Sat, Oct 22, 2011 at 3:34 PM, Raoul Bhatia [IPAX] <span dir="ltr">&lt;<a href="mailto:r.bhatia@ipax.at">r.bhatia@ipax.at</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">hi!<div class="im"><br>
<br>
On 22.10.2011 20:33, Michael Marrotte wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
primitive p_mysql ocf:heartbeat:mysql \<br>
     params binary=&quot;/usr/sbin/mysqld&quot; config=&quot;/etc/mysql/my.cnf&quot;<br>
replication_user=&quot;slaveuser&quot; replication_passwd=&quot;slavepw&quot;<br>
test_passwd=&quot;root&quot; pid=&quot;/var/run/mysqld/mysqld.<u></u>pid&quot;<br>
socket=&quot;/var/run/mysqld/<u></u>mysqld.sock&quot; \<br>
     params additional_parameters=&quot;--skip-<u></u>slave-start&quot; \<br>
     op start interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
     op stop interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
     op promote interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
     op demote interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
     op monitor interval=&quot;30&quot; timeout=&quot;30&quot; OCF_CHECK_LEVEL=&quot;1&quot;<br>
ms ms_mysql p_mysql \<br>
     meta notify=&quot;true&quot; master-max=&quot;2&quot; clone-max=&quot;2&quot; target-role=&quot;Started&quot;<br>
property $id=&quot;cib-bootstrap-options&quot; \<br>
     dc-version=&quot;1.0.8-<u></u>042548a451fce8400660f6031f4da6<u></u>f0223dd5dd&quot; \<br>
     cluster-infrastructure=&quot;<u></u>Heartbeat&quot; \<br>
     stonith-enabled=&quot;false&quot; \<br>
     no-quorum-policy=&quot;ignore&quot; \<br>
     last-lrm-refresh=&quot;1319301867&quot;<br>
</blockquote>
<br></div>
master-max should be set to 1 if you&#39;re using a master-slave mysql<br>
setup.<br>
<br>
you can leave most replication related configuration out of your<br>
mysql config files. except for the server-id i think.<div class="im"><br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
When I start ms_sql, I&#39;m getting the following:<br>
<br>
Failed actions:<br>
     p_mysql:0_start_0 (node=vsaas-test-sql-1, call=73, rc=1,<br>
status=complete): unknown error<br>
     p_mysql:1_start_0 (node=vsaas-test-sql-2, call=63, rc=1,<br>
status=complete): unknown error<br>
</blockquote>
<br></div>
do all of the above files/paths exist?<br>
my configuration looks this:<br>
<br>
primitive wdb-mysql ocf:heartbeat:mysql \<br>
        op monitor interval=&quot;30&quot; timeout=&quot;30&quot; \<br>
        op monitor interval=&quot;300&quot; timeout=&quot;30&quot; OCF_CHECK_LEVEL=&quot;10&quot; \<br>
        op monitor interval=&quot;301&quot; role=&quot;Master&quot; timeout=&quot;30&quot; OCF_CHECK_LEVEL=&quot;10&quot; \<br>
        op monitor interval=&quot;31&quot; role=&quot;Slave&quot; timeout=&quot;30&quot; OCF_CHECK_LEVEL=&quot;10&quot; \<br>
        op monitor interval=&quot;15&quot; role=&quot;Slave&quot; timeout=&quot;30&quot; \<br>
        op monitor interval=&quot;10&quot; role=&quot;Master&quot; timeout=&quot;30&quot; \<div class="im"><br>
        op start interval=&quot;0&quot; timeout=&quot;120&quot; \<br>
        op stop interval=&quot;0&quot; timeout=&quot;120&quot; \<br></div>
        params config=&quot;/etc/mysql/my.cnf&quot; datadir=&quot;/data/db/mysql/data/&quot; socket=&quot;/var/run/mysqld/<u></u>mysqld.sock&quot; binary=&quot;/usr/sbin/mysqld&quot; additional_parameters=&quot;--<u></u>basedir=/usr --skip-external-locking --log-bin=/data/db/mysql/log/<u></u>mysql-bin.log --relay-log=mysqld-relay-bin &quot; pid=&quot;/var/run/mysqld/mysqld.<u></u>pid&quot; test_table=&quot;nagiostest.test_<u></u>table&quot; test_user=&quot;nagios&quot; test_passwd=&quot;xxxx&quot; replication_user=&quot;ruser&quot; replication_passwd=&quot;rpass&quot;<br>

<br>
which version of the mysql ra/which resource agent release do you use?<br>
<br>
and please provide the log files! otherwise, its hard to correctly<br>
diagnose the problem.<br>
<br>
cheers,<br>
raoul<br>
<br>
______________________________<u></u>_________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org" target="_blank">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/<u></u>mailman/listinfo/pacemaker</a><br>
<br>
Project Home: <a href="http://www.clusterlabs.org" target="_blank">http://www.clusterlabs.org</a><br>
Getting started: <a href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf" target="_blank">http://www.clusterlabs.org/<u></u>doc/Cluster_from_Scratch.pdf</a><br>
Bugs: <a href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker" target="_blank">http://developerbugs.linux-<u></u>foundation.org/enter_bug.cgi?<u></u>product=Pacemaker</a><br>
</blockquote></div><br>