<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
I think it would make it more complicated if we setup a third node.
<br>
On 10/28/2011 11:11 AM, Van Tonder, Raymond wrote:
<blockquote
cite="mid:53A251C1CA34414F801B49C4FF58EEC5142832@fnbrbgmx01.fnb.co.za"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=us-ascii">
<div>
<p>On 10/28/2011 9:28 AM, Andreas Kurz wrote: </p>
<p>> Hello, </p>
<p>> </p>
<p>> On 10/28/2011 04:06 PM, Joe wrote: </p>
<p>>> Hello everyone, </p>
<p>>> </p>
<p>>> My goal is to build a HA DRBD and MYSQL on two
nodes(active/passive). I </p>
<p>>> followed the " cluster from scratch"
article to build this environment. </p>
<p>>> If I do standby failover host, it works fine but
when I pull the </p>
<p>>> heartbeat cable from the active node, the
resources do not fail over to </p>
<p>>> the secondary. Please advise. Thank you very
much. Joe </p>
<p>> * "the" heartbeat cable == one heartbeat
cable? Not supported setup -- </p>
<p>> use at least two heartbeat channels, add at least
the DRBD replication </p>
<p>> network. </p>
<p>> </p>
<p>> * you produced a split brain situation. I'd expect
you see errors in </p>
<p>> your cluster status and see DRBD log entries with a
wording similar to </p>
<p>> "not allowed to become primary because
allow-two-primaries is not set" </p>
<p>> ... if you had also pulled DRBD link you would have
all resources </p>
<p>> running twice </p>
<p>> </p>
<p>> * use stonith to recover from a split-brain
situation (or block if its </p>
<p>> unsuccessful) </p>
<p>> </p>
<p>> * read more manuals ;-) </p>
<p>> </p>
<p>>> *CENTOS 5.6/drbd8.3/corosync/pacemaker </p>
<p>>> </p>
<p>>> node-0 IP: 192.168.1.101 (heartbeat) 10.0.0.10
(drdb) </p>
<p>>> node-1 IP: 192.168.1.102 (heartbeat) 10.0.0.20 (
drbd) </p>
<p>>> Cluster Virtual IP: 192.168.1.160 </p>
<p>>> </p>
<p>>> * _crm configure show_ </p>
<p>>> node
$id="2b68511d-b96f-4b56-9f66-70262e3e2c46" mysqldrbd01 \ </p>
<p>>> attributes standby="off" </p>
<p>>> node
$id="d86dc58b-2309-43d9-af96-6519127e83d7" mysqldrbd02 \ </p>
<p>>> attributes standby="off" </p>
<p>> These ids are from Heartbeat CCM ... but you
attached a Corosync </p>
<p>> configuration? Decide for one ... either Heartbeat
or Corosync. </p>
<p>> </p>
<p>> Regards, </p>
<p>> Andreas </p>
<p>> </p>
<p>> </p>
<p>> </p>
<p> </p>
<p>I would suggest adding a third node (without the mysql and
drdb) just for quorum/heartbeat checking </p>
<p> </p>
<p><span> </span></p>
<p><span> </span></p>
</div>
<span lang="EN-US">
<p> <span>To read FirstRand Bank's Disclaimer for this email
click on the following address or copy into your Internet
browser: <br>
<a moz-do-not-send="true"
href="https://www.fnb.co.za/disclaimer.html">https://www.fnb.co.za/disclaimer.html</a>
<br>
<br>
</span> </p>
</span> <span>
<p> <span>If you are unable to access the Disclaimer, send a
blank e-mail to </span> <span><a moz-do-not-send="true"
href="mailto:firstrandbankdisclaimer@fnb.co.za">firstrandbankdisclaimer@fnb.co.za</a>
and we will send you a copy of the Disclaimer. </span> </p>
</span> <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Pacemaker mailing list: <a class="moz-txt-link-abbreviated" href="mailto:Pacemaker@oss.clusterlabs.org">Pacemaker@oss.clusterlabs.org</a>
<a class="moz-txt-link-freetext" href="http://oss.clusterlabs.org/mailman/listinfo/pacemaker">http://oss.clusterlabs.org/mailman/listinfo/pacemaker</a>
Project Home: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org">http://www.clusterlabs.org</a>
Getting started: <a class="moz-txt-link-freetext" href="http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf">http://www.clusterlabs.org/doc/Cluster_from_Scratch.pdf</a>
Bugs: <a class="moz-txt-link-freetext" href="http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker">http://developerbugs.linux-foundation.org/enter_bug.cgi?product=Pacemaker</a>
</pre>
</blockquote>
<br>
</body>
</html>