The current MySQL RA supports master/slaves which is great.  It would be nice if it supported multiple masters.  If I have some free cycles, I&#39;ll look into adding it.  I think lots of folks probably use DRBD b/c there&#39;s no RA alternative and they have some experience with it.  When standing up a new system and not having much experience with DRBD, I can understand why there would be some apprehension to DRBD or anything else they might have to add into the mix.  You&#39;re thinking here I have hardware, maybe some virt OS, a linux guest, heartbeat, pacemaker, mysql (masters, slaves), a million lines of code to write...  Now I need some more cluster management stuff like DRBD?  What&#39;s DRBD and why doesn&#39;t my cluster stuff handle this common MySQL master/master/salve use-case?  It definitely add value to an already powerful MySQL RA.  When&#39;s it going to be ready? :)  Cheers!<br>
<br>~Mike <br><br><br><div class="gmail_quote">On Sun, Nov 6, 2011 at 9:34 AM, Florian Haas <span dir="ltr">&lt;<a href="mailto:florian@hastexo.com">florian@hastexo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On 2011-11-05 18:20, Attila Megyeri wrote:<br>
&gt; Hello,<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I am having a hard time configuring a relatively simple mysql environment.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; What I’d like to achieve is:<br>
&gt;<br>
&gt; ·         One master and a slave, with replication<br>
&gt;<br>
&gt; ·         Relatively quick failover if the master node, or Mysql fail.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I tried the Mysql cluster approach, but seemed to be too slow, and to<br>
&gt; many limitations (foreign keys, triggers, views, etc).<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; I decided to go with the Mysql replication.<br>
<br>
</div>You want a simple 2-node MySQL cluster with failover? Why not go with<br>
DRBD then, as everyone else would in that situation?<br>
<div class="im"><br>
&gt; Tried to use the mysql RA from clusterlabs 3.9.2 – but no luck,<br>
&gt; replicaiton simply did not work out.<br>
<br>
</div>Sorry to say this, but as a co-author of that agent I&#39;ll say that that&#39;s<br>
exactly the kind of feedback we strongly dislike, as it doesn&#39;t help us<br>
at all improving the agent, or its documentation. So,<br>
<br>
- What were you trying to achieve?<br>
- What was your configuration?<br>
- What went wrong?<br>
- What were you unable to fix?<br>
<br>
For the DRBD based approach (which I would highly recommend), do<br>
consider taking a look at<br>
<a href="http://www.hastexo.com/content/mysql-high-availability-sprint-launch-pacemaker" target="_blank">http://www.hastexo.com/content/mysql-high-availability-sprint-launch-pacemaker</a>.<br>
We&#39;ll be happy to provide you with the virtual images used in this<br>
tutorial, so you can set things up yourself in a cleanroom testing<br>
environment.<br>
<br>
Cheers,<br>
Florian<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Need help with High Availability?<br>
<a href="http://www.hastexo.com/now" target="_blank">http://www.hastexo.com/now</a><br>
<br>
_______________________________________________<br>
Pacemaker mailing list: <a href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a><br>
<a href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker" target="_blank">http://oss.clusterlabs.org/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/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-foundation.org/enter_bug.cgi?product=Pacemaker</a><br>
</font></span></blockquote></div><br>