<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoPlainText, li.MsoPlainText, div.MsoPlainText
{mso-style-priority:99;
mso-style-link:"Plain Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.5pt;
font-family:Consolas;}
p
{mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
{mso-style-priority:99;
mso-style-link:"Balloon Text Char";
margin:0in;
margin-bottom:.0001pt;
font-size:8.0pt;
font-family:"Tahoma","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
color:black;}
span.BalloonTextChar
{mso-style-name:"Balloon Text Char";
mso-style-priority:99;
mso-style-link:"Balloon Text";
font-family:"Tahoma","sans-serif";}
span.PlainTextChar
{mso-style-name:"Plain Text Char";
mso-style-priority:99;
mso-style-link:"Plain Text";
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
{page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor=white lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoPlainText>On 10/28/2011 9:28 AM, Andreas Kurz wrote:<o:p></o:p></p>
<p class=MsoPlainText>> Hello,<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> On 10/28/2011 04:06 PM, Joe wrote:<o:p></o:p></p>
<p class=MsoPlainText>>> Hello everyone,<o:p></o:p></p>
<p class=MsoPlainText>>><o:p> </o:p></p>
<p class=MsoPlainText>>> My goal is to build a HA DRBD and MYSQL on two
nodes(active/passive). I<o:p></o:p></p>
<p class=MsoPlainText>>> followed the " cluster from scratch"
article to build this environment.<o:p></o:p></p>
<p class=MsoPlainText>>> If I do standby failover host, it works fine but
when I pull the<o:p></o:p></p>
<p class=MsoPlainText>>> heartbeat cable from the active node, the
resources do not fail over to<o:p></o:p></p>
<p class=MsoPlainText>>> the secondary. Please advise. Thank you very
much. Joe<o:p></o:p></p>
<p class=MsoPlainText>> * "the" heartbeat cable == one heartbeat
cable? Not supported setup --<o:p></o:p></p>
<p class=MsoPlainText>> use at least two heartbeat channels, add at least
the DRBD replication<o:p></o:p></p>
<p class=MsoPlainText>> network.<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> * you produced a split brain situation. I'd expect
you see errors in<o:p></o:p></p>
<p class=MsoPlainText>> your cluster status and see DRBD log entries with a
wording similar to<o:p></o:p></p>
<p class=MsoPlainText>> "not allowed to become primary because
allow-two-primaries is not set"<o:p></o:p></p>
<p class=MsoPlainText>> ... if you had also pulled DRBD link you would have
all resources<o:p></o:p></p>
<p class=MsoPlainText>> running twice<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> * use stonith to recover from a split-brain
situation (or block if its<o:p></o:p></p>
<p class=MsoPlainText>> unsuccessful)<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> * read more manuals ;-)<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>>> *CENTOS 5.6/drbd8.3/corosync/pacemaker<o:p></o:p></p>
<p class=MsoPlainText>>><o:p> </o:p></p>
<p class=MsoPlainText>>> node-0 IP: 192.168.1.101 (heartbeat) 10.0.0.10
(drdb)<o:p></o:p></p>
<p class=MsoPlainText>>> node-1 IP: 192.168.1.102 (heartbeat) 10.0.0.20 (
drbd)<o:p></o:p></p>
<p class=MsoPlainText>>> Cluster Virtual IP: 192.168.1.160<o:p></o:p></p>
<p class=MsoPlainText>>><o:p> </o:p></p>
<p class=MsoPlainText>>> * _crm configure show_<o:p></o:p></p>
<p class=MsoPlainText>>> node
$id="2b68511d-b96f-4b56-9f66-70262e3e2c46" mysqldrbd01 \<o:p></o:p></p>
<p class=MsoPlainText>>> attributes standby="off"<o:p></o:p></p>
<p class=MsoPlainText>>> node
$id="d86dc58b-2309-43d9-af96-6519127e83d7" mysqldrbd02 \<o:p></o:p></p>
<p class=MsoPlainText>>> attributes standby="off"<o:p></o:p></p>
<p class=MsoPlainText>> These ids are from Heartbeat CCM ... but you
attached a Corosync<o:p></o:p></p>
<p class=MsoPlainText>> configuration? Decide for one ... either Heartbeat
or Corosync.<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>> Regards,<o:p></o:p></p>
<p class=MsoPlainText>> Andreas<o:p></o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoPlainText>><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I would suggest adding a third node (without the mysql and
drdb) just for quorum/heartbeat checking <o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='color:black'><o:p> </o:p></span></p>
</div>
<FONT face="Times New Roman" size=3><SPAN lang=EN-US
style="FONT-SIZE: 12pt; mso-ansi-language: EN-US">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt" align=left><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">To read FirstRand
Bank's Disclaimer for this email click on the following address or copy into
your Internet browser: <BR><A
href="https://www.fnb.co.za/disclaimer.html">https://www.fnb.co.za/disclaimer.html</A>
<BR style="mso-special-character: line-break"><BR
style="mso-special-character: line-break"></P><O:P></O:P></SPAN></FONT><FONT
face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">If you are unable to
access the Disclaimer, send a blank e-mail to </SPAN></FONT><FONT face=Arial
size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><A
href="mailto:firstrandbankdisclaimer@fnb.co.za">firstrandbankdisclaimer@fnb.co.za</A>
and we will send you a copy of the Disclaimer.<o:p></o:p></SPAN></FONT></P>
<P class=MsoNormal style="MARGIN: 0cm 0cm 0pt 36pt"
align=left></SPAN></FONT></SPAN></FONT></P>
</body>
</html>