Getting Started Guide

26 Preparing Shared Storage
Fix permissions of Oracle ASM disks on boot (y/n)
[y]: y
NOTE: In this setup the default user is set to grid and the default group is set to
asmadmin. Ensure that the oracle user is part of the asmadmin group. You can
do so by using the dell-validated and dell-oracle-utilities rpms.
The boot time parameters of the Oracle ASM library are configured and a
sequential text interface configuration method is displayed.
2
Set the ORACLEASM_SCANORDER parameter in
/etc/sysconfig/oracleasm
NOTE: When setting the ORACELASM_SCANORDER to a value, specify a
common string associated with your device mapper pseudo device name.
For example, if all the device mapper device had a prefix string of the word
"asm", (/dev/mapper/asm-ocr1, /dev/mapper/asm-ocr2), populate the
ORACLEASM_SCANORDER parameter as: ORACLEASM_SCANORDER="asm".
This would ensure that oracleasm will scan these disks first.
3
Set the ORACLEASM_SCANEXCLUDE parameter in
/etc/sysconfig/oracleasm
to exclude non-multipath devices.
For example:
ORACLEASM_SCANEXCLUDE=<disks to exclude>
NOTE: If we wanted to ensure to exclude our single path disks within /dev/
such as sda and sdb, our ORACLEASM_SCANEXCLUDE string would look like:
ORACLEASM_SCANEXCLUDE="sda sdb"
4
To create ASM disks that can be managed and used for Oracle database
installation, run the following command as root:
/usr/sbin/oracleasm createdisk DISKNAME
/dev/mapper/diskpartition
NOTE: The fields DISKNAME and /dev/mapper/diskpartition should be
substituted with the appropriate names for your environment respectively.
NOTE: It is highly recommended to have all of your Oracle related disks to be
within Oracle ASM. This includes your OCR disks, voting disks, database
disks, and flashback recovery disks.