05 Set Up Shared Disk Storage

References

Mount Options for Oracle files when used with NAS devices [ID 359515.1]

Overview

Because NFS is part of the OCM 11G objectives, I have decided to use NFS as the shared storage for the PENRITH cluster.

Procedure

Set Up Physical Storage on NFS Server

The procedure for setting up the NFS Server Volumes is at 03 Create NFS Volumes .

Create Mount Points for CRS

Create the mount points for CRS datasets as follows using root user:

mkdir /u02 /u03 /u04 /u05 /u06
chown crs:oinstall /u02
chown crs:oinstall /u03
chown crs:oinstall /u04
chown crs:oinstall /u05
chown crs:oinstall /u06

Select NFS Client Options

From Mount Options for Oracle files when used with NAS devices [ID 359515.1] , the options for NFS clients are recommended for Linux x86 (2.6 kernel and up) to be:

rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,vers=3,timeo=600

Update /etc/fstab

Add the following lines to /etc/fstab on both PENRITH1 and PENRITH2 :

freenas-nas:/mnt/PENRITH/OCR1   /u02            nfs     rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,vers=3,timeo=600
freenas-nas:/mnt/PENRITH/OCR2   /u03            nfs     rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,vers=3,timeo=600
freenas-nas:/mnt/PENRITH/VOTE1   /u04            nfs     rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,vers=3,timeo=600
freenas-nas:/mnt/PENRITH/VOTE2   /u05            nfs     rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,vers=3,timeo=600
freenas-nas:/mnt/PENRITH/VOTE3   /u06            nfs     rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,vers=3,timeo=600

Mount NFS Volums

As root user on both PENRITH1 and PENRITH2 , do:

mount -t nfs

Check the result as follows by listing all NFS mounts:

[root@penrith2 ~]# mount -l -t nfs
freenas-nas:/mnt/PENRITH/OCR1 on /u02 type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,nfsvers=3,timeo=600,addr=192.168.2.1)
freenas-nas:/mnt/PENRITH/OCR2 on /u03 type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,nfsvers=3,timeo=600,addr=192.168.2.1)
freenas-nas:/mnt/PENRITH/VOTE1 on /u04 type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,nfsvers=3,timeo=600,addr=192.168.2.1)
freenas-nas:/mnt/PENRITH/VOTE2 on /u05 type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,nfsvers=3,timeo=600,addr=192.168.2.1)
freenas-nas:/mnt/PENRITH/VOTE3 on /u06 type nfs (rw,bg,hard,nointr,rsize=32768,wsize=32768,tcp,noac,actimeo=0,nfsvers=3,timeo=600,addr=192.168.2.1)