Hi,

Check in /etc/ocfs2/cluster.conf the instance "number". For example, If you
have two node:

node:
       ip_port = 7777
       ip_address = 10.0.0.1
       number = 0 <------------------------
       name = priamus
       cluster = ocfs2

node:
       ip_port = 7777
       ip_address = 10.0.0.2
       number = 1  <-----------------------------
       name = hektor
       cluster = ocfs2

cluster:
       node_count = 2
       name = ocfs2



---------- Forwarded message ----------
From: Nandkumar Mane <nandkum...@gmail.com>
Date: Wed, Sep 10, 2008 at 5:17 PM
Subject: [Ocfs2-users] mount.ocfs2: Error when attempting to run
/sbin/ocfs2_hb_ctl: "Operation not permitted".
To: ocfs2-users@oss.oracle.com


Hi,

I am trying to configure a two node cluster on SLES10SP2 using user level
heartbeat. Here is my configuration.

ocfs2-tools-1.4.0-0.3
**user level heartbeat**

-> lsmod | grep ocfs
ocfs2_user_heartbeat 20992 1
ocfs2_dlmfs 37776 1
ocfs2_dlm 204456 1 ocfs2_dlmfs
ocfs2_nodemanager 223384 6 ocfs2_user_heartbeat,ocfs2_dlmfs,ocfs2_dlm
configfs 44700 3 ocfs2_user_heartbeat,ocfs2_nodemanager

mounted filesystem list contains following two lines which are required for
o2cb.
configfs on /sys/kernel/config type configfs (rw)
ocfs2_dlmfs on /dlm type ocfs2_dlmfs (rw)

/etc/ocfs2/cluster.conf file is created on one node using ocfs2console and
then propogated changes to other host.

->/etc/init.d/o2cb status
Module "configfs": Loaded
Filesystem "configfs": Mounted
Module "ocfs2_nodemanager": Loaded
Module "ocfs2_dlm": Loaded
Module "ocfs2_dlmfs": Loaded
Filesystem "ocfs2_dlmfs": Mounted
Checking O2CB cluster ocfs2: Online
Network idle timeout: 30000
Network keepalive delay: 2000
Network reconnect delay: 2000
Checking O2CB heartbeat: Not active

Everything looks fine till this point. I am able to configure and start o2cb
successfully.
Now when I try to mount a ocfs2 filesystem, it give me following error.

->mount /dev/mapper/360a980004334637558344a7863755656 /hdmnt1
ocfs2_hb_ctl: Unable to access cluster service while starting heartbeat
mount.ocfs2: Error when attempting to run /sbin/ocfs2_hb_ctl: "Operation not
permitted"

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?

Can somebody please give me some direction?

Thanks
Nand


_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users
_______________________________________________
Ocfs2-users mailing list
Ocfs2-users@oss.oracle.com
http://oss.oracle.com/mailman/listinfo/ocfs2-users

Reply via email to