Install ASMLib on top of OEL 6.4

You need to install following pieces:

  • kmod-oracleasm
  • oracleasm-support
  • oracleasmlib
# yum install kmod-oracleasm
# yum install oracleasm-support
Dowload oracleasmlib from here and install package via

# rpm -iv oracleasmlib-2.0.4-1.el6.x86_64.rpm

Verify installation:
# rpm -q -i oracleasmlib
Name        : oracleasmlib                 Relocations: (not relocatable)
Version     : 2.0.4                             Vendor: Oracle Corporation
Release     : 1.el6                         Build Date: Mon 26 Mar 2012 10:22:44 PM CEST
Install Date: Sat 07 Sep 2013 09:20:32 AM CEST      Build Host: ca-build44.us.oracle.com
Group       : System Environment/Kernel     Source RPM: oracleasmlib-2.0.4-1.el6.src.rpm
Size        : 27192                            License: Oracle Corporation
Signature   : RSA/8, Mon 26 Mar 2012 10:22:51 PM CEST, Key ID 72f97b74ec551f03
Packager    : Joel Becker <joel.becker@oracle.com>
URL         : http://oss.oracle.com/
Summary     : The Oracle Automatic Storage Management library userspace code.
Description : The Oracle userspace library for Oracle Automatic Storage Management
# rpm -qa kmod-oracleasm
kmod-oracleasm-2.0.6.rh1-2.el6.x86_64
# rpm -qa  oracleasm-support
oracleasm-support-2.1.8-1.el6.x86_64

Initialize ASMLIB:
# /usr/sbin/oracleasm configure -i
Configuring the Oracle ASM library driver.
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
Scan for Oracle ASM disks on boot (y/n) [y]: y
Writing Oracle ASM library driver configuration: done

Verify :
$ modprobe -v oracleasm
insmod /lib/modules/2.6.39-400.109.6.el6uek.x86_64/kernel/drivers/block/oracleasm/oracleasm.ko 

Reference:
How to install ASMLib on Oracle Linux 6

One thought on “Install ASMLib on top of OEL 6.4”

Leave a Reply

Your email address will not be published. Required fields are marked *