How to Install and Configure asmlib on OEL7

How to Install and Configure asmlib on OEL7

to use ASMLIB you need to download and install these 2 packages.

oracleasmlib-2.0.12-1.el7.x86_64.rpm
oracleasm-support-2.1.8-3.el7.x86_64.rpm

you can download them here

Install Oracle AMSLIB

use rpm command to install the packages.

rpm -ivh oracleasmlib-2.0.12-1.el7.x86_64.rpm 
rpm -ivh oracleasm-support-2.1.8-3.el7.x86_64.rpm


Configure Oracle ASMLIB

once you are done with the package Installation you can configure asm libraries using below command

/etc/init.d/oracleasm configure



How to Create ASM disk Using ASMLIB Utility


oracleasm createdisk disk1 /dev/sdb5



How to find the Disks created using ASM Lib


oracleasm listdisks

 ls -lrt /dev/oracleasm/disk*



How to discover or scan ASM disks


oracleasm scandisks



No comments:

Post a Comment