Getting Started Guide

Preparing Shared Storage 25
Installing and Configuring ASMlib
1
Use
oracle.com/technetwork/server-storage/linux/downloads/rhel5-
084877.html
to download the following files:
oracleasm-support
oracleasmlib
oracleasm
NOTE: If your current OS distribution is Oracle Linux, you can obtain the
software from the Unbreakable Linux Network using ULN.
NOTE: Download the latest versions of oracleasm-support and oracleasmlib
but the version of oracleasm must match the current kernel used in your
system. Check this information issuing the command
uname -r.
2
Enter the following command as
root
:
rpm -Uvh oracleasm-support-* \
oracleasmlib-* \
oracleasm-$(uname -r)-*
NOTE: Replace * by the correct version numbers of the packages or you can
leave them in place of the command ensuring that there are no multiple
versions of the packages in the shell's current working directory.
Using ASMLib to Mark the Shared Disks as Candidate Disks
1
To configure ASM use the init script that comes with the oracleasm-
support package. The recommended method is to run the following
command as root:
# /usr/sbin/oracleasm configure -i
NOTE: Oracle recommends using the oracleasm command found under
/usr/sbin. The /etc/init.d path has not been deprecated, but the oracleasm
binary provided by Oracle in this path is used for internal purposes.
Default user to own the driver interface []: grid
Default group to own the driver interface []:
asmadmin
Start Oracle ASM library driver on boot (y/n) [n]:
y