Review this information to install and configure the Oracle Automatic Storage Management library driver software manually.
Oracle ASMLIB is included with the Oracle Linux packages, and with SUSE Linux Enterprise Server. If you are a member of the Unbreakable Linux Network, then you can install the Oracle ASMLIB RPMs by subscribing to the Oracle Linux channel, and using
yum to retrieve the most current package for your system and kernel. For additional information, see the following URL:
To install and configure the Oracle Automatic Storage Management library driver software manually, perform the following steps:
Enter the following command to determine the kernel version and architecture of the system:
# uname -rm
If necessary, download the required Oracle Automatic Storage Management library driver packages from the Oracle Technology Network website:
You must install
oracleasm-supportpackage version 2.0.1 or later to use Oracle ASMLIB on Red Hat Enterprise Linux 5 Advanced Server. Oracle ASMLIB is already included with SUSE Linux Enterprise Server distributions.
My Oracle Support note 1089399.1 for information about Oracle ASMLIB support with Red Hat distributions:
Switch to the
$ su -
Install the following packages in sequence, where
versionis the version of the Oracle Automatic Storage Management library driver,
archis the system architecture, and
kernelis the version of the kernel that you are using:
oracleasm-support-version.arch.rpm oracleasm-kernel-version.arch.rpm oracleasmlib-version.arch.rpm
Enter a command similar to the following to install the packages:
# rpm -ivh oracleasm-support-version.arch.rpm \ oracleasm-kernel-version.arch.rpm \ oracleasmlib-version.arch.rpm
For example, if you are using the Red Hat Enterprise Linux 5 AS kernel on an AMD64 system, then enter a command similar to the following:
# rpm -ivh oracleasm-support-2.1.3-1.el5.x86_64.rpm \ oracleasm-2.6.18-194.26.1.el5xen-2.0.5-1.el5.x86_64.rpm \ oracleasmlib-2.0.4-1.el5.x86_64.rpm
Enter the following command to run the
oracleasminitialization script with the
# /usr/sbin/oracleasm configure -i
The oracleasm command in
/usr/sbinis the command you should use. The
/etc/init.dpath is not deprecated, but the
oracleasmbinary in that path is now used typically for internal commands.
Enter the following information in response to the prompts that the script displays:
Prompt Suggested Response
Default user to own the driver interface:
Standard groups and users configuration: Specify the Oracle software owner user (for example,
Job role separation groups and users configuration: Specify the Grid Infrastructure software owner (for example,
Default group to own the driver interface:
Standard groups and users configuration: Specify the OSDBA group for the database (for example,
Job role separation groups and users configuration: Specify the OSASM group for storage administration (for example,
Start Oracle ASM Library driver on boot (y/n):
yto start the Oracle Automatic Storage Management library driver when the system starts.
Scan for Oracle ASM disks on boot (y/n)
yto scan for Oracle ASM disks when the system starts.
The script completes the following tasks:
Mounts the ASMLIB driver file system
The Oracle ASMLIB file system is not a regular file system. It is used only by the Oracle ASM library to communicate with the Oracle ASMLIB.
Enter the following command to load the
# /usr/sbin/oracleasm init