<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
    <title></title>
  </head>
  <body text="#000000" bgcolor="#ffffff">
    Manually umounting /dlm is not a good idea. Let the o2cb script
    handle that.<br>
    It'll be easier to diagnose if you followed the steps I had listed.<br>
    <br>
    On 06/28/2011 06:41 PM, Shave, Chris wrote:
    <blockquote
cite="mid:BFA20343BF6D3543B0120BB9DD2FE4E00C3093DCA8@AUMEL11XM01.mercer.com"
      type="cite">
      <meta http-equiv="Content-Type" content="text/html;
        charset=ISO-8859-1">
      <meta content="MSHTML 6.00.2900.6058" name="GENERATOR">
      <div dir="ltr" align="left"><span class="093413201-29062011"><font
            color="#0000ff" face="Arial" size="2">Thanks for the info on
            how to shut the heartbeat down..</font></span></div>
      <div dir="ltr" align="left"><span class="093413201-29062011"></span>&nbsp;</div>
      <div dir="ltr" align="left"><span class="093413201-29062011"><font
            color="#0000ff" face="Arial" size="2">I haven't had a chance
            to test it as of yet.</font></span></div>
      <div dir="ltr" align="left"><span class="093413201-29062011"></span>&nbsp;</div>
      <div dir="ltr" align="left"><span class="093413201-29062011"><font
            color="#0000ff" face="Arial" size="2">I had previously found
            info on /dlm being mounted, I unmounted it on both nodes
            &amp; heartbeat still stayed active.</font></span></div>
      <div dir="ltr" align="left"><span class="093413201-29062011"></span>&nbsp;</div>
      <div dir="ltr" align="left"><span class="093413201-29062011"><font
            color="#0000ff" face="Arial" size="2">Also post a reboot,
            the process of offlining the cluster did not return an error
            anymore but a status check still indicated heartbeat was
            active &amp; an attempt to unload then threw back the
            heartbeat active error.</font></span></div>
      <div>&nbsp;</div>
      <!-- Converted from text/rtf format --><br>
      <p><span lang="en-au"><b><font face="Verdana" size="1">Christopher
              Shave</font></b><font face="Verdana" size="1">, Global
            UNIX/Linux Projects Team<br>
          </font><b><font face="Verdana" size="1">Marsh &amp; McLennan
              Companies</font></b><br>
          <font face="Verdana" size="1">Global Technology Infrastructure
            (MGTI) | Centralised Operations<br>
            555 Lonsdale Street, Level 5, Melbourne, VIC 3000, Australia<br>
            +61 3 9623 5488 | Mobile +61 0402 885 057 | </font></span><a
          moz-do-not-send="true" href="mailto:chris.shave@mercer.com"><span
            lang="en-au"><u><font color="#0057a6" face="Verdana"
                size="1">chris.shave@mercer.com</font></u></span></a><span
          lang="en-au"><br>
        </span><a moz-do-not-send="true" href="http://www.mmc.com/"><span
            lang="en-au"><u><font color="#0057a6" face="Verdana"
                size="1">www.mmc.com</font></u></span></a><span
          lang="en-au"><br>
          <font face="Verdana" size="1">Working Hours:</font></span> <br>
        <span lang="en-au"><font face="Verdana" size="1">Mon-Fri:
            8:00am-4:00pm AEST</font></span>
      </p>
      <div>&nbsp;</div>
      <br>
      <div class="OutlookMessageHeader" dir="ltr" lang="en-us"
        align="left">
        <hr tabindex="-1">
        <font face="Tahoma" size="2"><b>From:</b> Sunil Mushran
          [<a class="moz-txt-link-freetext" href="mailto:sunil.mushran@oracle.com">mailto:sunil.mushran@oracle.com</a>]
          <br>
          <b>Sent:</b> Tuesday, 28 June 2011 3:16 AM<br>
          <b>To:</b> Shave, Chris<br>
          <b>Cc:</b> <a class="moz-txt-link-abbreviated" href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a><br>
          <b>Subject:</b> Re: [Ocfs2-users] Heartbeat stays active &amp;
          stops o2cb shutdown<br>
        </font><br>
      </div>
      <tt>So by default, the hb is supposed to stop on umount.<br>
        <br>
        Do:<br>
        # find
        /sys/kernel/config/cluster/&lt;CLUSTERNAME&gt;/heartbeat/* -type
        d | xargs basename<br>
        77D95EF51C0149D2823674FCC162CF8B<br>
        <br>
        This will list the active heartbeats.<br>
        <br>
        For each hb, do:<br>
        # ocfs2_hb_ctl -I -u 77D95EF51C0149D2823674FCC162CF8B<br>
        77D95EF51C0149D2823674FCC162CF8B: 1 refs<br>
        <br>
        Notice the references. &gt; 0 is active heartbeat.<br>
        <br>
        If you are sure there are no mounts and "ls /dlm" also has not
        entries,<br>
        then hb failed to stop for some reason.<br>
        <br>
        To stop, do:<br>
        # ocfs2_hb_ctl -K -u 77D95EF51C0149D2823674FCC162CF8B<br>
        <br>
        It could be that this is failing. What do you see?<br>
        <br>
        I remember we had a problem in this in tools 1.4.1. But that was<br>
        fixed in 1.4.2.<br>
        <br>
        Sunil</tt> <br>
      <br>
      On 06/25/2011 06:03 PM, Shave, Chris wrote:
      <blockquote
cite="mid:BFA20343BF6D3543B0120BB9DD2FE4E00C30621C76@AUMEL11XM01.mercer.com"
        type="cite">
        <meta content="MSHTML 6.00.2900.6058" name="GENERATOR">
        <!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1029" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">Hi,</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">I have an issue with shutting down
              o2cb &amp; offlining the cluster, the heartbeat is staying
              active &amp; is blocking any attempts to shut it down,
              despite there being zero ocfs2 filesystems mounted.</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">This is what I see, even happens if
              using force-offline option:</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">[root]# /etc/init.d/o2cb
              force-offline clustername<br>
              Stopping O2CB cluster&nbsp;clustername Failed<br>
              Unable to stop cluster as heartbeat region still active</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">I have no ocfs2 filesystems curently
              mounted on either node (2 node cluster)</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">[root]# mount | grep ocfs<br>
              [root]#<br>
            </font></span></div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">Versions of ocfs2 as below:</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">[root]# rpm -qa | grep ocfs<br>
              ocfs2-tools-1.4.4-1.el5.x86_64<br>
              ocfs2-tools-devel-1.4.4-1.el5.x86_64<br>
              ocfs2console-1.4.4-1.el5.x86_64<br>
              ocfs2-2.6.18-128.el5-1.4.4-1.el5.x86_64<br>
              ocfs2-tools-debuginfo-1.4.4-1.el5.x86_64<br>
            </font></span></div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">Redhat Linux kernel version:
              2.6.18-128.el5</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">A collegue of mine stated that he
              usually disables all ocfs2 from the startup scripts,
              comments out the filesystems in /etc/fstab &amp; reboots,
              is there another option to get the heartbeat offline or is
              this an ocfs2 or Linux bug I am encountering here??</font></span></div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"></span>&nbsp;</div>
        <div><span class="108384900-26062011"><font color="#0000ff"
              face="Arial" size="2">Cheers,</font></span></div>
        <div><span class="108384900-26062011"><!-- Converted from text/rtf format --><br>
            <p><span lang="en-au"><b><font face="Verdana" size="1">Christopher
                    Shave</font></b><font face="Verdana" size="1">,
                  Global UNIX/Linux Projects Team<br>
                </font><b><font face="Verdana" size="1">Marsh &amp;
                    McLennan Companies</font></b><br>
                <font face="Verdana" size="1">Global Technology
                  Infrastructure (MGTI) | Centralised Operations<br>
                  555 Lonsdale Street, Level 5, Melbourne, VIC 3000,
                  Australia<br>
                  +61 3 9623 5488 | Mobile +61 0402 885 057 | </font></span><a
                href="mailto:chris.shave@mercer.com"
                moz-do-not-send="true"><span lang="en-au"><u><font
                      color="#0057a6" face="Verdana" size="1">chris.shave@mercer.com</font></u></span></a><span
                lang="en-au"><br>
              </span><a href="http://www.mmc.com/"
                moz-do-not-send="true"><span lang="en-au"><u><font
                      color="#0057a6" face="Verdana" size="1">www.mmc.com</font></u></span></a><span
                lang="en-au"><br>
              </span></p>
          </span><span class="108384900-26062011"></span></div>
      </blockquote>
      <br>
      <br>
      <hr>
      <font color="Gray" face="Arial" size="1">This e-mail and any
        attachments may be confidential or legally privileged.<br>
        If you received this message in error or are not the intended
        recipient, you<br>
        should destroy the e-mail message and any attachments or copies,
        and you are<br>
        prohibited from retaining, distributing, disclosing or using any
        information<br>
        contained herein. Please inform us of the erroneous delivery by
        return<br>
        e-mail.<br>
        <br>
        Thank you for your cooperation.<br>
      </font>
    </blockquote>
    <br>
  </body>
</html>