Owner's Manual

74 Configuring Database Storage on the Host
For example, if your ASM1 and ASM2 disk devices are
/dev/emcpowerc1
and
/dev/emcpowerd1
for Database and Recovery files respectively, then
the
permissions.ini
file
is modified as:
[asm]
asm1=/dev/emcpowerc1
asm2=/dev/emcpowerd1
To add an additional ASM disk device, ASM3, using
/dev/emcpowere1
,
add another entry to the session:
asm3=/dev/emcpowere1
4
After you set your
permissions.ini
file, run the
permissions.py
script
located under the
/dell-oracle-deployment/scripts/
folder:
./permissions.py
5
Run the following command to set the correct block device permissions:
/etc/rc.local
Configuring Disks for ASM Using the ORACLEASM 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
Perform step 3 only if the RAC configuration uses a shared storage and a
Linux Device Mapper Multipath driver. Set the
ORACLEASM_SCANORDER
parameter in
/etc/sysconfig/oracleasm
as
follows:
ORACLEASM_SCANORDER="dm"
Reboot the system for the change to take effect.
4
On the
first node
, in the terminal window, type the following and press
<Enter>:
service oracleasm createdisk ASM1 /dev/emcpowerb1
service oracleasm createdisk ASM2 /dev/emcpowerc1