Owner's Manual

Configuring Storage, Oracle User Equivalence, and Networking for Oracle RAC 57
6
On
any one node
, format the external storage devices with 4 K block size,
128 K cluster size, and 4 node slots by using the command line utility
mkfs.ocfs2
:
ocr.dbf and Voting Disk
mkfs.ocfs2-b 4K-C128K-N4-Lu01/dev/emcpowera1
Database Files
mkfs.ocfs2 -b 4K-C128K-N4-Lu02/dev/emcpowerb1
Flash Recovery Area
mkfs.ocfs2 -b 4K-C128K-N4-Lu03/dev/emcpowerc1
NOTE: Node slots refer to the number of cluster nodes.
NOTE: For more information about setting the format parameters of clusters,
see the OCFS2 frequently asked questions website at
oss.oracle.com/projects/ocfs2/dist/documentation/ocfs2_faq.html.
7
On
each node
, perform the following steps:
a
Create mount points for each OCFS2 partition. To perform this
procedure, create the target partition directories and set the
ownerships by typing:
mkdir -p /u02 /u03 /u04
chown -R oracle.dba /u02 /u03 /u04
b
On
each node
, modify the
/etc/fstab
by adding the following lines for
each device:
/dev/emcpowera1 /u02 ocfs2
_netdev,datavolume,nointr00
/dev/emcpowerb1 /u03 ocfs2
_netdev,datavolume,nointr00
/dev/emcpowerc1 /u04 ocfs2
_netdev,datavolume,nointr00
If the PowerPath pseudo devices do not appear with exactly the same
device name across all the nodes, modify the
/etc/fstab
file on each
node to ensure that all the shared directories on each node can access
the same disks.
Make appropriate entries for all the OCFS2 volumes.