<div dir="ltr">Hi,<br><br>Check in /etc/ocfs2/cluster.conf the instance &quot;number&quot;. For example, If you have two node:<br><br>node:<br>&nbsp; &nbsp; &nbsp;&nbsp; ip_port = 7777<br>&nbsp; &nbsp; &nbsp;&nbsp; ip_address = <a href="http://10.0.0.1">10.0.0.1</a><br>
&nbsp; &nbsp; &nbsp;&nbsp; number = 0 &lt;------------------------<br>&nbsp; &nbsp; &nbsp;&nbsp; name = priamus<br>&nbsp; &nbsp; &nbsp;&nbsp; cluster = ocfs2<br><br>node:<br>&nbsp; &nbsp; &nbsp;&nbsp; ip_port = 7777<br>&nbsp; &nbsp; &nbsp;&nbsp; ip_address = <a href="http://10.0.0.2">10.0.0.2</a><br>&nbsp; &nbsp; &nbsp;&nbsp; number = 1&nbsp; &lt;-----------------------------<br>
&nbsp; &nbsp; &nbsp;&nbsp; name = hektor<br>&nbsp; &nbsp; &nbsp;&nbsp; cluster = ocfs2<br><br>cluster:<br>&nbsp; &nbsp; &nbsp;&nbsp; node_count = 2<br>&nbsp; &nbsp; &nbsp;&nbsp; name = ocfs2 <br><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: Wed, Sep 10, 2008 at 5:17 PM<br>Subject: [Ocfs2-users] mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: &quot;Operation not permitted&quot;.<br>To: <a href="mailto:ocfs2-users@oss.oracle.com">ocfs2-users@oss.oracle.com</a><br>
<br><br>Hi,<br><br>I am trying to configure a two node cluster on SLES10SP2 using user level heartbeat. Here is my configuration.<br><br>ocfs2-tools-1.4.0-0.3<br>**user level heartbeat**<br><br>-&gt; lsmod | grep ocfs<br>
ocfs2_user_heartbeat 20992 1<br>
ocfs2_dlmfs 37776 1<br>ocfs2_dlm 204456 1 ocfs2_dlmfs<br>ocfs2_nodemanager 223384 6 ocfs2_user_heartbeat,ocfs2_dlmfs,ocfs2_dlm<br>configfs 44700 3 ocfs2_user_heartbeat,ocfs2_nodemanager<br><br>mounted filesystem list contains following two lines which are required for o2cb.<br>

configfs on /sys/kernel/config type configfs (rw)<br>ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)<br><br>/etc/ocfs2/cluster.conf file is created on one node using ocfs2console and then propogated changes to other host.<br><br>

-&gt;/etc/init.d/o2cb status<br>Module &quot;configfs&quot;: Loaded<br>Filesystem &quot;configfs&quot;: Mounted<br>Module &quot;ocfs2_nodemanager&quot;: Loaded<br>Module &quot;ocfs2_dlm&quot;: Loaded<br>Module &quot;ocfs2_dlmfs&quot;: Loaded<br>

Filesystem &quot;ocfs2_dlmfs&quot;: Mounted<br>Checking O2CB cluster ocfs2: Online<br>Network idle timeout: 30000<br>Network keepalive delay: 2000<br>Network reconnect delay: 2000<br>Checking O2CB heartbeat: Not active<br>

<br>Everything looks fine till this point. I am able to configure and start o2cb successfully.<br>Now when I try to mount a ocfs2 filesystem, it give me following error.<br><br>-&gt;mount /dev/mapper/360a980004334637558344a7863755656 /hdmnt1<br>

ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat<br>mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: &quot;Operation not permitted&quot;<br><br>As per my opnion, I have followed proper stepts to configure. (I had done same with kernel level heartbeat successfully.) Is user level heartbeat supported in sles10sp2?<br>

<br>Can somebody please give me some direction?<br><br>Thanks <br>Nand<br><br>
<br>_______________________________________________<br>
Ocfs2-users mailing list<br>
<a href="mailto:Ocfs2-users@oss.oracle.com">Ocfs2-users@oss.oracle.com</a><br>
<a href="http://oss.oracle.com/mailman/listinfo/ocfs2-users" target="_blank">http://oss.oracle.com/mailman/listinfo/ocfs2-users</a><br></div><br></div>