<div dir="ltr">Hi Nand,<br><br>I&#39;sorry. I&#39;m a novice with the system of files OCFS2. My system&#39;s work over RHEL 4.6
(two nodes) and storage iSCSI (Celerra EMC). Your error was identical to one reported in my
installation. But I do not use &quot; to user heartbeat&quot;.&nbsp; :-(<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Nandkumar Mane</b> <span dir="ltr">&lt;<a href="mailto:nandkumarm@gmail.com">nandkumarm@gmail.com</a>&gt;</span><br>
Date: Thu, Sep 11, 2008 at 1:12 PM<br>Subject: Re: [Ocfs2-users] mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: &quot;Operation not permitted&quot;.<br>To: &quot;Tomas Hidalgo Salvador (Cajamar)&quot; &lt;<a href="mailto:thsa@cajamar.es">thsa@cajamar.es</a>&gt;<br>
<br><br>Hi Thomas,<br>
<br>
Thanks for your help. Actually I have already gone through all related<br>
emails on mailing list but it didn&#39;t help me much. &nbsp;:(<br>
<br>
Yes, I have done entries in /etc/hosts and kernel versions are also<br>
same. I have already successfully done configuration with kernel<br>
heartbeat set. I am facing problem while using user heartbeat.<br>
<br>
while doing mount, I don&#39;t get any message dmesg. Here are some<br>
messages &nbsp;that I found during restarting o2cb.<br>
OCFS2 DLM 1.4.1-SLES Thu May 29 16:53:08 UTC 2008 (build<br>
ffae48e79e56fe63589049a0bf3512bcbf7a4327)<br>
OCFS2 DLMFS 1.4.1-SLES Thu May 29 16:53:08 UTC 2008 (build<br>
ffae48e79e56fe63589049a0bf3512bcbf7a4327)<br>
OCFS2 User DLM kernel interface loaded<br>
<br>
I am running short of ideas.. Failing to understand the mistake.<br>
<br>
Thanks<br>
Nand<br>
<div><div></div><div class="Wj3C7c"><br>
<br>
On 9/11/08, Tomas Hidalgo Salvador (Cajamar) &lt;<a href="mailto:thsa@cajamar.es">thsa@cajamar.es</a>&gt; wrote:<br>
&gt; Hi,<br>
&gt;<br>
&gt; Check this URL:<br>
&gt; <a href="http://oss.oracle.com/pipermail/ocfs2-users/2007-February/001299.html" target="_blank">http://oss.oracle.com/pipermail/ocfs2-users/2007-February/001299.html</a><br>
&gt;<br>
&gt; linux-118 and linux-117 in /etc/hosts?<br>
&gt; &nbsp;linux-118 and linux-117have same kernel version?<br>
&gt; dmesg?<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; On Wed, Sep 10, 2008 at 7:38 PM, Nandkumar Mane &lt;<a href="mailto:nandkumarm@gmail.com">nandkumarm@gmail.com</a>&gt;<br>
&gt; wrote:<br>
&gt;<br>
&gt; &gt; I looked at /etc/ocfs2/cluster.conf and it seems like everything is<br>
&gt; &gt; fine. Do you think there can be any other problem?<br>
&gt; &gt;<br>
&gt; &gt; node:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_port = 7777<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_address = <a href="http://192.168.10.1" target="_blank">192.168.10.1</a><br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;number = 0<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;name = linux-117<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;cluster = ocfs2<br>
&gt; &gt;<br>
&gt; &gt; node:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_port = 7777<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_address = <a href="http://192.168.10.2" target="_blank">192.168.10.2</a><br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;number = 1<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;name = linux-118<br>
&gt; &gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;cluster = ocfs2<br>
&gt; &gt;<br>
&gt; &gt; cluster:<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;node_count = 2<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp;name = ocfs2<br>
&gt; &gt;<br>
&gt; &gt; Thank you<br>
&gt; &gt; Nandkumar<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt; On Wed, Sep 10, 2008 at 9:41 PM, Tomas Hidalgo Salvador (Cajamar)<br>
&gt; &gt; &lt;<a href="mailto:thsa@cajamar.es">thsa@cajamar.es</a>&gt; wrote:<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;&gt; Hi,<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Check in /etc/ocfs2/cluster.conf the instance &quot;number&quot;. For example, If<br>
&gt; you have two node:<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; node:<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_port = 7777<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_address = <a href="http://10.0.0.1" target="_blank">10.0.0.1</a><br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;number = 0 &lt;------------------------<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;name = priamus<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;cluster = ocfs2<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; node:<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_port = 7777<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;ip_address = <a href="http://10.0.0.2" target="_blank">10.0.0.2</a><br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;number = 1 &nbsp;&lt;-----------------------------<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;name = hektor<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;cluster = ocfs2<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; cluster:<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;node_count = 2<br>
&gt; &gt; &gt;&gt; &nbsp; &nbsp; &nbsp; &nbsp;name = ocfs2<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; ---------- Forwarded message ----------<br>
&gt; &gt; &gt;&gt; From: Nandkumar Mane &lt;<a href="mailto:nandkumarm@gmail.com">nandkumarm@gmail.com</a>&gt;<br>
&gt; &gt; &gt;&gt; Date: Wed, Sep 10, 2008 at 5:17 PM<br>
&gt; &gt; &gt;&gt; Subject: [Ocfs2-users] mount.ocfs2: Error when attempting to run<br>
&gt; /sbin/ocfs2_hb_ctl: &quot;Operation not permitted&quot;.<br>
&gt; &gt; &gt;&gt; To: <a href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Hi,<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; I am trying to configure a two node cluster on SLES10SP2 using user<br>
&gt; level heartbeat. Here is my configuration.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; ocfs2-tools-1.4.0-0.3<br>
&gt; &gt; &gt;&gt; **user level heartbeat**<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; -&gt; lsmod | grep ocfs<br>
&gt; &gt; &gt;&gt; ocfs2_user_heartbeat 20992 1<br>
&gt; &gt; &gt;&gt; ocfs2_dlmfs 37776 1<br>
&gt; &gt; &gt;&gt; ocfs2_dlm 204456 1 ocfs2_dlmfs<br>
&gt; &gt; &gt;&gt; ocfs2_nodemanager 223384 6<br>
&gt; ocfs2_user_heartbeat,ocfs2_dlmfs,ocfs2_dlm<br>
&gt; &gt; &gt;&gt; configfs 44700 3<br>
&gt; ocfs2_user_heartbeat,ocfs2_nodemanager<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; mounted filesystem list contains following two lines which are required<br>
&gt; for o2cb.<br>
&gt; &gt; &gt;&gt; configfs on /sys/kernel/config type configfs (rw)<br>
&gt; &gt; &gt;&gt; ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; /etc/ocfs2/cluster.conf file is created on one node using ocfs2console<br>
&gt; and then propogated changes to other host.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; -&gt;/etc/init.d/o2cb status<br>
&gt; &gt; &gt;&gt; Module &quot;configfs&quot;: Loaded<br>
&gt; &gt; &gt;&gt; Filesystem &quot;configfs&quot;: Mounted<br>
&gt; &gt; &gt;&gt; Module &quot;ocfs2_nodemanager&quot;: Loaded<br>
&gt; &gt; &gt;&gt; Module &quot;ocfs2_dlm&quot;: Loaded<br>
&gt; &gt; &gt;&gt; Module &quot;ocfs2_dlmfs&quot;: Loaded<br>
&gt; &gt; &gt;&gt; Filesystem &quot;ocfs2_dlmfs&quot;: Mounted<br>
&gt; &gt; &gt;&gt; Checking O2CB cluster ocfs2: Online<br>
&gt; &gt; &gt;&gt; Network idle timeout: 30000<br>
&gt; &gt; &gt;&gt; Network keepalive delay: 2000<br>
&gt; &gt; &gt;&gt; Network reconnect delay: 2000<br>
&gt; &gt; &gt;&gt; Checking O2CB heartbeat: Not active<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Everything looks fine till this point. I am able to configure and start<br>
&gt; o2cb successfully.<br>
&gt; &gt; &gt;&gt; Now when I try to mount a ocfs2 filesystem, it give me following error.<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; -&gt;mount<br>
&gt; /dev/mapper/360a980004334637558344a7863755656<br>
&gt; /hdmnt1<br>
&gt; &gt; &gt;&gt; ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat<br>
&gt; &gt; &gt;&gt; mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl:<br>
&gt; &quot;Operation not permitted&quot;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; As per my opnion, I have followed proper stepts to configure. (I had<br>
&gt; done same with kernel level heartbeat successfully.) Is user level heartbeat<br>
&gt; supported in sles10sp2?<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Can somebody please give me some direction?<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; Thanks<br>
&gt; &gt; &gt;&gt; Nand<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; _______________________________________________<br>
&gt; &gt; &gt;&gt; Ocfs2-users mailing list<br>
&gt; &gt; &gt;&gt; <a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
&gt; &gt; &gt;&gt; <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br>
&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt;<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; Ocfs2-users mailing list<br>
&gt; &gt; &gt; <a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
&gt; &gt; &gt; <a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt;<br>
&gt;<br>
<br>
<br>
</div></div></div><br></div>