Subscribe YouTube Channel For More Live Tutorials

How to Install asmlibs for Red Hat Enterprise Linux 5

How to Install asmlibs for Red Hat Enterprise Linux 5

Note: All ASMLib installations require the oracleasmlib and oracleasm-support packages appropriate for their machine. The driver packages are named after the kernel they support. Run the "uname -r" command on your machine to determine your kernel version. The corresponding package has the name oracleasm-<kernel_version>.

The Oracle ASMLib kernel driver packages are installed using the YUM tool. To configure a server to be able to install install and update Oracle ASMLib kernel drivers, create a file named /etc/yum.repos.d/oracleasm.repo with the following content:

[oracleasm]
name=Oracle ASMLib Kernel Drivers for Red Hat Enterprise Linux Server 5
baseurl=https://yum.oracle.com/repo/OracleASM/RHEL5/$basearch/
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-oracle
gpgcheck=1
enabled=1

Once created, the corresponding kernel driver for the currently running kernel can be installed as root using the YUM tool:

# yum install oracleasm-`uname -r`

Intel EM64T (x86_64) Architecture

Download following lib and install the rpm

#rpm -ivh oracleasmlib-2.0.4-1.el5.x86_64.rpm