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:
http://www.oracle.com/technetwork/topics/linux/asmlib/index-101839.html
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:
http://www.oracle.com/technetwork/server-storage/linux/downloads/index-088143.html
Note:
You must install oracleasm-support
package 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.
See Also:
My Oracle Support note 1089399.1 for information about Oracle ASMLIB support with Red Hat distributions:
Switch to the root
user:
$ su -
Install the following packages in sequence, where version
is the version of the Oracle Automatic Storage Management library driver, arch
is the system architecture, and kernel
is 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 oracleasm
initialization script with the configure
option:
# /usr/sbin/oracleasm configure -i
Note:
The oracleasm command in /usr/sbin
is the command you should use. The /etc/init.d
path is not deprecated, but the oracleasm
binary 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): |
Enter |
Scan for Oracle ASM disks on boot (y/n) |
Enter |
The script completes the following tasks:
Creates the /etc/sysconfig/oracleasm
configuration file
Creates the /dev/oracleasm
mount point
Mounts the ASMLIB driver file system
Note:
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 oracleasm
kernel module:
# /usr/sbin/oracleasm init