Owner's Manual
68 Configuring Database Storage on the Host
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 Disks for Oracle Clusterware Using Raw
Devices and for Database and Recovery Files Using ASM
NOTE: Dell supports the configuration of Oracle Clusterware Disks on Raw
Devices and Database and Recovery Disks on ASM only on Red Hat Enterprise
Linux 4 or Oracle Enterprise Linux 4 operating systems. For configuring shared
storage disks on Red Hat Enterprise Linux 5 or Oracle Enterprise Linux 5 operating
systems, see the
“Configuring Shared Storage Disks for Oracle Clusterware Using
Block Devices and for Database and Recovery Files Using ASM” on page 71.
Configuring Shared Storage Disks for Oracle Clusterware Using Raw Devices
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, 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.