<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:"Arial Narrow";
        panose-1:2 11 6 6 2 2 2 3 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-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;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
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 lang=EN-GB link=blue vlink=purple>

<div class=Section1>

<p class=MsoNormal>Hi all.&nbsp; I have a 2 server configuration using drbd and
openais. This is a test/dev environment prior to proposing a production
rollout. My drbd config is below. The problem is that in an &#8220;uncontrolled&#8221;
poweroff of one of the servers, it will not come back online without user
intervention. I have narrowed this down to drbd apparently failing to repair
the corrupted filesystem (EXT2 which it needs to be for issues with our proprietary
software). When the node is powered back up, I can do a ps and grep for fsck,
and I can see that an fsck has been initialised for /dev/drbd0. However, there
are two issues here. Issue (1) By the time drbd has finished the fsck process,
the openais controlled services have timed out trying to start, and sit there
doing nothing until I reset the failcounts, and cleanup the resources. Issue
(2) is that the drbd triggered fsck does not actually seem to work as when I
carry out the cleanup process and try to start the services, it still fails. If
I do a manual fsck, it finds filesystem errors and repairs them, then all is
well. <o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>So, in summary, in my scenario, the drbd initiated fsck goes
through the motions but does not actually fix the filesystem, and secondly, by
the time the filesystem has been (supposedly) repaired, the openais services
have given up trying to start and sit there in a dead state.<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Any ideas?<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>Operating system is SUSE SLES 11 Enterprise with the HA
Extension<o:p></o:p></p>

<p class=MsoNormal>Versions this installed are:<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>OpenAIS&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 0.80.3-26.1<o:p></o:p></p>

<p class=MsoNormal>Hearbeat&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 2.99.3-14.1<o:p></o:p></p>

<p class=MsoNormal>DRBD&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 8.2.7-6.12<o:p></o:p></p>

<p class=MsoNormal>Pacemaker&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1.0.3-4.1<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal>DRBD.CONF <o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \/<o:p></o:p></p>

<p class=MsoNormal>&nbsp;global {<o:p></o:p></p>

<p class=MsoNormal>&nbsp; dialog-refresh&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 1;<o:p></o:p></p>

<p class=MsoNormal>&nbsp; minor-count&nbsp; 5;<o:p></o:p></p>

<p class=MsoNormal>}<o:p></o:p></p>

<p class=MsoNormal>common {<o:p></o:p></p>

<p class=MsoNormal>&nbsp; syncer { rate 10M; }<o:p></o:p></p>

<p class=MsoNormal>}<o:p></o:p></p>

<p class=MsoNormal>resource cluster_disk {<o:p></o:p></p>

<p class=MsoNormal>&nbsp; protocol&nbsp;&nbsp;&nbsp;&nbsp; C;<o:p></o:p></p>

<p class=MsoNormal>&nbsp; disk {<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp;
on-io-error&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; pass_on;<o:p></o:p></p>

<p class=MsoNormal>&nbsp; }<o:p></o:p></p>

<p class=MsoNormal>&nbsp; syncer {<o:p></o:p></p>

<p class=MsoNormal>&nbsp; }<o:p></o:p></p>

<p class=MsoNormal>&nbsp; net {<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; after-sb-1pri discard-secondary;<o:p></o:p></p>

<p class=MsoNormal>&nbsp; }<o:p></o:p></p>

<p class=MsoNormal>&nbsp; startup {<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; wait-after-sb;<o:p></o:p></p>

<p class=MsoNormal>}<o:p></o:p></p>

<p class=MsoNormal>&nbsp; on cluster1 {<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;
/dev/drbd0;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp; 12.0.0.1:7789;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; meta-disk internal;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/dev/sdb1;<o:p></o:p></p>

<p class=MsoNormal>&nbsp; }<o:p></o:p></p>

<p class=MsoNormal>&nbsp; on cluster2 {<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; device&nbsp;&nbsp;&nbsp;
/dev/drbd0;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; address&nbsp;&nbsp; 12.0.0.2:7789;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; meta-disk internal;<o:p></o:p></p>

<p class=MsoNormal>&nbsp;&nbsp;&nbsp;&nbsp; disk&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
/dev/sdb1;<o:p></o:p></p>

<p class=MsoNormal>&nbsp; }<o:p></o:p></p>

<p class=MsoNormal>}<o:p></o:p></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#00527F'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#00527F'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#00527F'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#00527F'>Gary Webb</span></b><span style='font-family:"Arial","sans-serif";
color:black'> <br>
</span><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#00527F'>MCSE:S, CompTIA Security+ / Linux+<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:8.0pt;font-family:"Arial","sans-serif";
color:#00527F'>Citrix CCA, LPI Level 1 &amp; 2, C|EH<o:p></o:p></span></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif";
color:#00527F'>Principal Solutions Development Consultant</span><span
style='font-family:"Arial","sans-serif";color:black'><br>
</span><b><span style='font-family:"Arial","sans-serif";color:#00527F'>open </span></b><b><span
style='font-family:"Arial","sans-serif";color:#67A2C0'>gi</span></b><span
style='color:black'><br>
</span><span lang=EN-US style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Buckholt Drive, Warndon, Worcester WR4 9SR</span><span
style='color:black'> <br>
</span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Tel:&nbsp;&nbsp;&nbsp; +44 (0)1905 754455&nbsp;&nbsp;&nbsp;&nbsp; Ext:&nbsp;&nbsp;
2451</span><span style='color:black'><br>
</span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Fax:&nbsp;&nbsp;&nbsp;+44 (0)1905 754441</span><span
style='color:black'><br>
</span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Email:&nbsp; <a href="mailto:gary.webb@opengi.co.uk"><span
style='font-family:"Times New Roman","serif";color:blue'>gary.webb@opengi.co.uk</span></a></span><span
style='color:black'> <br>
</span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Web: <u>&nbsp;<a href="http://www.opengi.co.uk"><span
style='font-family:"Times New Roman","serif";color:blue'>www.opengi.co.uk</span></a></u></span><u><span
style='font-size:6.0pt;font-family:"Arial Narrow","sans-serif";color:#00527F'><o:p></o:p></span></u></p>

<p class=MsoNormal><u><span style='font-size:1.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'><o:p><span style='text-decoration:none'>&nbsp;</span></o:p></span></u></p>

<p class=MsoNormal><b><span style='font-family:"Arial","sans-serif";color:#67A2C0'>powering
broker business</span></b><b><span style='font-family:"Arial","sans-serif";
color:#00527F'> for 30 years<br>
<br>
</span></b><b><span style='font-size:6.0pt;font-family:"Arial","sans-serif";
color:#00527F'><o:p></o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:green'>Please consider the environment before printing this e-mail</span></b><span
style='color:black'> </span><b><span style='font-family:"Arial","sans-serif";
color:#00527F'><br>
<br>
</span></b><b><span style='font-size:6.0pt;font-family:"Arial","sans-serif";
color:#00527F'><o:p></o:p></span></b></p>

<p class=MsoNormal><span style='font-size:7.5pt;font-family:"Arial Narrow","sans-serif";
color:#67A2C0'>&quot;This message is intended for the named recipient only and
may be privileged and/or confidential. If you are not the intended or named
recipient or have received this email in error then you should not copy forward
or disclose it to any other persons. If you have received this email in error
you should destroy it and contact the sender so that we may take appropriate
action. The views and opinions expressed in this email may not represent the
views and opinions of Open International Limited or any of its subsidiaries and
are made without prejudice and subject to contract. The Company Reserves the
right to intercept and review all email communications.&quot; </span><b><span
style='font-family:"Arial","sans-serif";color:#00527F'><o:p></o:p></span></b></p>

<p class=MsoNormal><b><span style='font-size:6.0pt;font-family:"Arial","sans-serif";
color:#00527F'><o:p>&nbsp;</o:p></span></b></p>

<p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Open International Limited. Registered Office: Buckholt Drive,
Warndon, Worcester, WR4 9SR.</span><span style='color:black'> <br>
</span><span style='font-size:10.0pt;font-family:"Arial Narrow","sans-serif";
color:#00527F'>Registered in England. Registered No: 05716519</span><span
style='color:#1F497D'><o:p></o:p></span></p>

<p class=MsoNormal><span style='color:#1F497D'><o:p>&nbsp;</o:p></span></p>

<p class=MsoNormal><o:p>&nbsp;</o:p></p>

</div>

</body>

</html>