Skip to Main Content

Database Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

OCFS2 setup not working - amidst no errors

614522Dec 20 2007 — edited Jan 2 2008
Hi,

I have created a two node cluster network and attempting to set up the CRS files using OCFS, in CENT OS 5 (Redhat Enterprise Linux 5).

I have all the processes running without any errors in both the machines. (As given below)

MACHINE #1:

[root@node14 /]# /etc/rc.d/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
Heartbeat dead threshold: 61
Network idle timeout: 10000
Network keepalive delay: 5000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active

MACHINE #2:

[root@qasim2 /]# /etc/rc.d/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
Heartbeat dead threshold: 61
Network idle timeout: 10000
Network keepalive delay: 5000
Network reconnect delay: 2000
Checking O2CB heartbeat: Active

My cluster.conf file is configured properly. (I used the ocfs2console to create and copy it from one machine to another and it is copied properly in to the second machine too)

node:
ip_port = 7777
ip_address = 192.168.3.25
number = 0
name = node14
cluster = ocfs2

node:
ip_port = 7777
ip_address = 192.168.3.202
number = 1
name = qasim2
cluster = ocfs2

cluster:
node_count = 2
name = ocfs2

I also checked the /sys/kernel/config/cluster/ocfs2/node/ directory it has the directories and entries for both the nodes appropriately.

I checked for port no 7777 in both the hosts and it is also in listening mode.

tcp 0 0 192.168.3.25:7777 0.0.0.0:* LISTEN

mount is also giving the correct output

[root@node14 /]# mount -t ocfs2
/dev/loop1 on /ocfs type ocfs2 (rw,_netdev,datavolume,nointr,heartbeat=local)

My /ocfs/ mount has correct permissions set

drwxrwxr-x 2 oracle oinstall 4096 Dec 20 19:15 oracrs

But when I create a file in either of the machines "touch test.txt" it is not getting created in the other machine. This is limiting me from Installing the "Oracle Cluster Registry" and "Voting Disk"

Any help / pointers to debug this problem will be very useful.

Thanks in Advance,
Kevin
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 30 2008
Added on Dec 20 2007
4 comments
1,582 views