Owner's Manual

58 Configuring Storage, Oracle User Equivalence, and Networking for Oracle RAC
c
On
each node
, type the following to mount all the volumes listed in
the
/etc/fstab
file:
mount -a -t ocfs2
d
On
each node
, add the following command to the
/etc/rc.local
file:
mount -a -t ocfs2
Configuring Shared Storage Using the RAW Device Interface for
Enterprise Linux 4 Only
1
On the first node, create six partitions on an external storage device with
the
fdisk
utility:
Ty p e :
fdisk /dev/emcpowerX
,
and create six partitions of 300 MB each for the Oracle Cluster
Repositories (OCR), Voting Disks, and the Oracle system parameter file.
2
Verify the new partitions by typing:
more /proc/partitions
If the new partitions do not appear in the
/proc/partitions
file, type the
following on all the nodes:
sfdisk -R /dev/<device name>
3
On all the nodes in a Fibre Channel cluster, perform the following steps.
Edit the
/etc/sysconfig/rawdevices
file and add the following lines:
/dev/raw/votingdisk1 /dev/emcpowera1
/dev/raw/votingdisk2 /dev/emcpowera2
/dev/raw/votingdisk3 /dev/emcpowera3
/dev/raw/ocr1.dbf /dev/emcpowera4
/dev/raw/ocr2.dbf /dev/emcpowera5
/dev/raw/spfile+ASM.ora /dev/emcpowera6
NOTE: If the three partitions on the PowerPath pseudo devices are not consistent
across the nodes, modify your /dev/sysconfig/rawdevices configuration file
accordingly.
Type: chkconfig networkwait off.
NOTE: Shared storage configuration using ASM can be done using either the RAW
device interface or the ORACLEASM library driver.
When using the RAW device interface for ASM disks, edit the
/etc/sysconfig/rawdevices file. Add an additional entry:
/dev/raw/ASM1/dev/emcpowerb1
/dev/raw/ASM2/dev/emcpowerc1
When using the ORACLEASM library driver, follow the instructions in
"Configuring Shared Storage Using ASM" on page 61