So by default, the hb is supposed to stop on umount. Do: # find /sys/kernel/config/cluster/<CLUSTERNAME>/heartbeat/* -type d | xargs basename 77D95EF51C0149D2823674FCC162CF8B
This will list the active heartbeats. For each hb, do: # ocfs2_hb_ctl -I -u 77D95EF51C0149D2823674FCC162CF8B 77D95EF51C0149D2823674FCC162CF8B: 1 refs Notice the references. > 0 is active heartbeat. If you are sure there are no mounts and "ls /dlm" also has not entries, then hb failed to stop for some reason. To stop, do: # ocfs2_hb_ctl -K -u 77D95EF51C0149D2823674FCC162CF8B It could be that this is failing. What do you see? I remember we had a problem in this in tools 1.4.1. But that was fixed in 1.4.2. Sunil On 06/25/2011 06:03 PM, Shave, Chris wrote:
Hi, I have an issue with shutting down o2cb & offlining the cluster, the heartbeat is staying active & is blocking any attempts to shut it down, despite there being zero ocfs2 filesystems mounted. This is what I see, even happens if using force-offline option: [root]# /etc/init.d/o2cb force-offline clustername Stopping O2CB cluster clustername Failed Unable to stop cluster as heartbeat region still active I have no ocfs2 filesystems curently mounted on either node (2 node cluster) [root]# mount | grep ocfs [root]# Versions of ocfs2 as below: [root]# rpm -qa | grep ocfs ocfs2-tools-1.4.4-1.el5.x86_64 ocfs2-tools-devel-1.4.4-1.el5.x86_64 ocfs2console-1.4.4-1.el5.x86_64 ocfs2-2.6.18-128.el5-1.4.4-1.el5.x86_64 ocfs2-tools-debuginfo-1.4.4-1.el5.x86_64 Redhat Linux kernel version: 2.6.18-128.el5 A collegue of mine stated that he usually disables all ocfs2 from the startup scripts, comments out the filesystems in /etc/fstab & reboots, is there another option to get the heartbeat offline or is this an ocfs2 or Linux bug I am encountering here?? Cheers, *Christopher Shave*, Global UNIX/Linux Projects Team *Marsh & McLennan Companies* Global Technology Infrastructure (MGTI) | Centralised Operations 555 Lonsdale Street, Level 5, Melbourne, VIC 3000, Australia +61 3 9623 5488 | Mobile +61 0402 885 057 | _chris.shave@mercer.com_ <mailto:chris.sh...@mercer.com> _www.mmc.com_ <http://www.mmc.com/>
_______________________________________________ Ocfs2-users mailing list Ocfs2-users@oss.oracle.com http://oss.oracle.com/mailman/listinfo/ocfs2-users