Owner's Manual
Deployment Guide 29
Configuring ASM Storage Using the RAW Device Interface
1
Edit the
/etc/sysconfig/rawdevices
file and add the following lines:
/dev/raw/ASM1 /dev/sdb1
/dev/raw/ASM2 /dev/sdc1
2
Ty p e
service rawdevices restart
to restart the RAW Devices Service.
Configuring Database Storage Using the Oracle ASM Library Driver
This section provides procedures for configuring the storage using Automatic Storage Management
(ASM).
NOTE: Before you configure the ASM Library Driver, disable SELinux.
To temporarily disable SELinux, perform the following steps:
1
Log in as user
root
.
2
At the command prompt, type:
setenforce 0
To permanently disable SELinux, perform the following steps:
1
Open your
grub.conf
file.
2
Locate the kernel command line and add the following option:
selinux=0
For example:
kernel /vmlinuz-2.6.9-22.0.1ELsmp ro root=LABEL=/ apic rhgb quiet
selinux=0
3
Reboot your system.
4
Open a terminal window and log in as
root
.
5
Perform the following steps:
a
Ty p e
service oracleasm configure
b
Type the following input for all cluster 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
6
In the terminal window, type the following:
service oracleasm createdisk ASM1 /dev/sdb1
service oracleasm createdisk ASM2 /dev/sdc1