<div dir="ltr">Hi Nand,<br><br>I'sorry. I'm a novice with the system of files OCFS2. My system'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 " to user heartbeat". :-(<br><br><br><div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Nandkumar Mane</b> <span dir="ltr"><<a href="mailto:nandkumarm@gmail.com">nandkumarm@gmail.com</a>></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: "Operation not permitted".<br>To: "Tomas Hidalgo Salvador (Cajamar)" <<a href="mailto:thsa@cajamar.es">thsa@cajamar.es</a>><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't help me much. :(<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't get any message dmesg. Here are some<br>
messages 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) <<a href="mailto:thsa@cajamar.es">thsa@cajamar.es</a>> wrote:<br>
> Hi,<br>
><br>
> Check this URL:<br>
> <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>
><br>
> linux-118 and linux-117 in /etc/hosts?<br>
> linux-118 and linux-117have same kernel version?<br>
> dmesg?<br>
><br>
><br>
><br>
><br>
> On Wed, Sep 10, 2008 at 7:38 PM, Nandkumar Mane <<a href="mailto:nandkumarm@gmail.com">nandkumarm@gmail.com</a>><br>
> wrote:<br>
><br>
> > I looked at /etc/ocfs2/cluster.conf and it seems like everything is<br>
> > fine. Do you think there can be any other problem?<br>
> ><br>
> > node:<br>
> > ip_port = 7777<br>
> > ip_address = <a href="http://192.168.10.1" target="_blank">192.168.10.1</a><br>
> > number = 0<br>
> > name = linux-117<br>
> ><br>
> > cluster = ocfs2<br>
> ><br>
> > node:<br>
> > ip_port = 7777<br>
> > ip_address = <a href="http://192.168.10.2" target="_blank">192.168.10.2</a><br>
> > number = 1<br>
> > name = linux-118<br>
> ><br>
> > cluster = ocfs2<br>
> ><br>
> > cluster:<br>
> > node_count = 2<br>
> > name = ocfs2<br>
> ><br>
> > Thank you<br>
> > Nandkumar<br>
> ><br>
> ><br>
> ><br>
> ><br>
> > On Wed, Sep 10, 2008 at 9:41 PM, Tomas Hidalgo Salvador (Cajamar)<br>
> > <<a href="mailto:thsa@cajamar.es">thsa@cajamar.es</a>> wrote:<br>
> > ><br>
> > ><br>
> > >> Hi,<br>
> > >><br>
> > >> Check in /etc/ocfs2/cluster.conf the instance "number". For example, If<br>
> you have two node:<br>
> > >><br>
> > >> node:<br>
> > >> ip_port = 7777<br>
> > >> ip_address = <a href="http://10.0.0.1" target="_blank">10.0.0.1</a><br>
> > >> number = 0 <------------------------<br>
> > >> name = priamus<br>
> > >> cluster = ocfs2<br>
> > >><br>
> > >> node:<br>
> > >> ip_port = 7777<br>
> > >> ip_address = <a href="http://10.0.0.2" target="_blank">10.0.0.2</a><br>
> > >> number = 1 <-----------------------------<br>
> > >> name = hektor<br>
> > >> cluster = ocfs2<br>
> > >><br>
> > >> cluster:<br>
> > >> node_count = 2<br>
> > >> name = ocfs2<br>
> > >><br>
> > >><br>
> > >><br>
> > >> ---------- Forwarded message ----------<br>
> > >> From: Nandkumar Mane <<a href="mailto:nandkumarm@gmail.com">nandkumarm@gmail.com</a>><br>
> > >> Date: Wed, Sep 10, 2008 at 5:17 PM<br>
> > >> Subject: [Ocfs2-users] mount.ocfs2: Error when attempting to run<br>
> /sbin/ocfs2_hb_ctl: "Operation not permitted".<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<br>
> level heartbeat. Here is my configuration.<br>
> > >><br>
> > >> ocfs2-tools-1.4.0-0.3<br>
> > >> **user level heartbeat**<br>
> > >><br>
> > >> -> 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<br>
> ocfs2_user_heartbeat,ocfs2_dlmfs,ocfs2_dlm<br>
> > >> configfs 44700 3<br>
> ocfs2_user_heartbeat,ocfs2_nodemanager<br>
> > >><br>
> > >> mounted filesystem list contains following two lines which are required<br>
> 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<br>
> and then propogated changes to other host.<br>
> > >><br>
> > >> ->/etc/init.d/o2cb status<br>
> > >> Module "configfs": Loaded<br>
> > >> Filesystem "configfs": Mounted<br>
> > >> Module "ocfs2_nodemanager": Loaded<br>
> > >> Module "ocfs2_dlm": Loaded<br>
> > >> Module "ocfs2_dlmfs": Loaded<br>
> > >> Filesystem "ocfs2_dlmfs": 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<br>
> o2cb successfully.<br>
> > >> Now when I try to mount a ocfs2 filesystem, it give me following error.<br>
> > >><br>
> > >> ->mount<br>
> /dev/mapper/360a980004334637558344a7863755656<br>
> /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:<br>
> "Operation not permitted"<br>
> > >><br>
> > >> As per my opnion, I have followed proper stepts to configure. (I had<br>
> done same with kernel level heartbeat successfully.) Is user level heartbeat<br>
> 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>
> > >><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>
> ><br>
> ><br>
> ><br>
><br>
><br>
<br>
<br>
</div></div></div><br></div>