Owner's Manual
Deployment Guide 23
Configuring Shared Storage for Oracle Clusterware and the Database Using ASM
Configuring Shared Storage for Oracle Clusterware
This section provides instructions for configuring shared storage for Oracle Clusterware.
Configuring Shared Storage Using the RAW Device Interface
1
On the
first node
, create three partitions on an external storage device with the
fdisk
utility:
Ty p e
fdisk /dev/emcpowerx
and create three partitions of 150 MB each for the Cluster Repository,
Voting disk, and the Oracle system parameter file.
2
Verify the new partitions by typing:
more /proc/partitions
On all the nodes, if the new partitions do not appear in the
/proc/partitions
file, type:
sfdisk -R /dev/<device name>
3
On all the nodes, perform the following steps:
a
Edit the
/etc/sysconfig/rawdevices
file and add the following lines for a Fibre Channel cluster:
/dev/raw/votingdisk /dev/emcpowera1
/dev/raw/ocr.dbf /dev/emcpowera2
/dev/raw/spfile+ASM.ora /dev/emcpowera3
b
Ty p e
udevstart
to create the RAW devices.
c
Ty p e
service rawdevices restart
to restart the RAW Devices Service.
NOTE: If the three partitions on PowerPath pseudo devices are not consistent across the nodes,
modify your /dev/sysconfig/rawdevices configuration file accordingly.
Configuring Shared Storage for the Database Using ASM
To configure your cluster using ASM, perform the following steps on all nodes:
1
Log in as
root
.
2
On all the nodes, create one partition on each of the other two external storage devices with the
fdisk
utility:
a
Create a primary partition for the entire device by typing:
fdisk /dev/emcpowerx
Ty p e
h
for help within the
fdisk
utility.
b
Verify that the new partition exists by typing:
cat /proc/partitions
If you do not see the new partition, type:
sfdisk -R /dev/<device name>