Create the OCFS2 folder mkdir -p /etc/ocfs2

<< On BOTH nodes

Creat the OCFS2 Cluster configuration file: touch /etc/ocfs2/cluster.conf << On BOTH nodes #################################################################### Place this content into the above created conf file and save it << On BOTH nodes node: ip_port = 7777 ip_address = 172.16.11.125 number = 0 name = 11grac01 cluster = ocfs2 node: ip_port = 7777 ip_address = 172.16.11.127 number = 1 name = 11grac02 cluster = ocfs2 cluster: node_count = 2 name = ocfs2 #################################################################### Finally, commands to configure the OCFS2 Cluster services /etc/init.d/o2cb /etc/init.d/o2cb /etc/init.d/o2cb /etc/init.d/o2cb /etc/init.d/o2cb /etc/init.d/o2cb status load online ocfs2 offline ocfs2 unload configure << Enter Y << Just press en << If the correc name and press e << Just press en << Just press en << Just press en << Just press en << On BOTH nodes

Load O2CB driver on boot (y/n) [n]: y Cluster stack backing O2CB [o2cb]: ter Cluster to start on boot (Enter "none" to clear) [ocfs2]: t cluster name is shown just press tnter, else type the correct nter Specify heartbeat dead threshold (>=7) [31]: ter Specify network idle timeout in ms (>=5000) [30000]: ter Specify network keepalive delay in ms (>=1000) [2000]: ter Specify network reconnect delay in ms (>=2000) [2000]: ter Writing O2CB configuration: OK Loading filesystem "configfs": OK Mounting configfs filesystem at /sys/kernel/config: OK Loading filesystem "ocfs2_dlmfs": OK Mounting ocfs2_dlmfs filesystem at /dlm: OK Starting O2CB cluster ocfs2: OK

nointr _netdev.#################################################################### Format the necessary disks as OCFS2 filesystems.nointr _netdev.ocfs2 -b 4K -C 32K -N 4 -L GGSHOME /dev/xvdi #################################################################### Create the necessary mount points (folders) to mount the OFCS2 devices << On BO TH nodes mkdir /u02 mkdir /ggs #################################################################### <<<<< CAUTION: Don´t use the datavolume option for the mount options otherwise the execution <<<<< of some of the sqls files that are located on such drives will throw the b elow error ERROR 45 INITIALIZING SQL*PLUS INTERNAL ERROR Mount the formatted notes << On BOTH nodes xxxx> xxxx> mount -t mount -t mount -t ocfs2 -o datavolume.nointr 0 0 _netdev.nointr -L "archivelogs" /u02 ocfs2 -o nointr -L "ARCHIVELOGS" /arch mount -t ocfs2 -o datavolume.datavolume. OCFS2 cluster makes them availa ble for all the cluster nodes << On only ONE node mkfs.ocfs2 -b 4K -C 32K -N 4 -L ARCHIVELOGS /dev/xvdh mkfs.nointr -L "ggshome" /ggs ocfs2 -o nointr -L "GGSHOME" /ggs update the /etc/fstab file with the below entries LABEL=archivelogs xxxx> LABEL=ARCHIVELOGS LABEL=ggshome xxxx> LABEL=GGSHOME /u02 /u02 /ggs /ggs ocfs2 ocfs2 ocfs2 ocfs2 << On BOTH nodes 0 0 0 0 _netdev.datavolume.nointr 0 0 #################################################################### Check and change the permissions on the mounted devices chown -R oracle:oinstall /arch chmod -R 775 /arch chown -R oracle:oinstall /ggs chmod -R 775 /ggs #################################################################### << On BOTH nodes .