Owner's Manual
Deployment Guide 21
Configuring the Storage Using the RAW Device Interface
1
Edit the
/etc/sysconfig/rawdevices
file and add the following lines for a Fibre Channel cluster:
/dev/raw/ASM1 /dev/emcpowerb1
/dev/raw/ASM2 /dev/emcpowerc1
2
Ty p e
udevstart
to create the RAW devices.
3
Ty p e
service rawdevices restart
to restart the RAW Devices Service.
4
To add an additional ASM disk (for example,
ASM3
), edit the
/etc/udev/scripts/raw-dev.sh
file on all
the nodes and add the appropriate bold entries as shown below:
MAKEDEV raw
mv /dev/raw/raw1 /dev/raw/votingdisk
mv /dev/raw/raw2 /dev/raw/ocr.dbf
mv /dev/raw/raw3 /dev/raw/spfile+ASM.ora
mv /dev/raw/raw4 /dev/raw/ASM1
mv /dev/raw/raw5 /dev/raw/ASM2
mv /dev/raw/raw6 /dev/raw/ASM3
chmod 660
/dev/raw/{votingdisk,ocr.dbf,spfile+ASM.ora,ASM1,ASM2,ASM3}
chown oracle.dba
/dev/raw/{votingdisk,ocr.dbf,spfile+ASM.ora,ASM1,ASM2,ASM3}
To add additional ASM disks type
udevstart
on all the nodes and repeat step 4.
Configuring the Storage Using the ASM Library Driver
1
Log in as
root
.
2
Open a terminal window and perform the following steps on all nodes:
a
Ty p e
service oracleasm configure
b
Type the following inputs for all the nodes:
Default user to own the driver interface [ ]:
oracle
Default group to own the driver interface []:
dba
Start Oracle ASM library driver on boot (y/n) [n]:
y
Fix permissions of Oracle ASM disks on boot (y/n) [y]:
y
3
On node 1, in the terminal window, type the following and press <Enter>:
service oracleasm createdisk ASM1 /dev/emcpowerb1
service oracleasm createdisk ASM2 /dev/emcpowerc1
4
Repeat step 3 for any additional ASM disks that need to be created.