0% found this document useful (0 votes)
99 views7 pages

Configure Oracle Cluster File System (OCFS2) : Author - A.Kishore

The document provides instructions for configuring an Oracle Cluster File System (OCFS2) which includes creating an OCFS2 configuration file, enabling the O2CB service, configuring the O2CB driver on both nodes, formatting the file system on one node, mounting it on the other node, and creating a clusterware directory that is mounted on boot for both nodes.

Uploaded by

Ravi Kir
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
99 views7 pages

Configure Oracle Cluster File System (OCFS2) : Author - A.Kishore

The document provides instructions for configuring an Oracle Cluster File System (OCFS2) which includes creating an OCFS2 configuration file, enabling the O2CB service, configuring the O2CB driver on both nodes, formatting the file system on one node, mounting it on the other node, and creating a clusterware directory that is mounted on boot for both nodes.

Uploaded by

Ravi Kir
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 7

Author – A.

Kishore
http:/www.appsdba.info

Configure Oracle Cluster File System (OCFS2)


Create the OCFS2 configuration file. As the root user on rac1, execute
- on VNC session

ocfs2console

Cluster – Configure Nodes

/etc/init.d/o2cb enable

Cluster – Configure Nodes


Author – A.Kishore
http:/www.appsdba.info

cat /etc/ocfs2/cluster.config
Author – A.Kishore
http:/www.appsdba.info
Author – A.Kishore
http:/www.appsdba.info

Propagate the changes to rac2

Configure the O2CB driver - both nodes as root user

/etc/init.d/o2cb unload

/etc/init.d/o2cb configure

/etc/init.d/o2cb status
Author – A.Kishore
http:/www.appsdba.info
Author – A.Kishore
http:/www.appsdba.info

format - only on one node


osfs2console

Tasks - Format

mount -t ocfs2 -o datavolume,nointr /dev/sdb1 /ocfs

Mount on rac2
Author – A.Kishore
http:/www.appsdba.info

To mount the file system on boot, add the following line in /etc/fstab on both nodes.
vi /etc/fstab - on both nodes
/dev/sdb1 /ocfs ocfs2 _netdev,datavolume,nointr 0 0

Create Oracle Clusterware directory - on both nodes

mkdir -p /ocfs/clusterware
chown -R oracle:dba /ocfs

You might also like