Disclaimer

Saturday, 10 July 2021

How to Install and Configure oracleasmlib

 

How to Install and Configure oracleasmlib

To use oracleasmlib to prepare disks for ASM 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

Installing Oracle ASMLIB and Oracle ASM-SUPPORT

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



Verify the Permission of ASM Disks

# ls -lrt /dev/oracleasm/disks/





No comments:

Post a Comment

How to recovery PDB when PDB database is dropped in Oracle

  How to recovery PDB when PDB database is dropped :) [oracle@rac01 ~]$ sqlplus '/as sysdba' SQL*Plus: Release 21.0.0.0.0 - Product...