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

ORA-07445: exception encountered: core dump [qcpibfa()+235] [SIGSEGV] [ADDR:0x7FFF6A9C7C88] [PC:0x4BF0E4B] [Address not mapped to object

  After patching 19.26 , we received complain from Application team that they were facing below error while executing one particular SQL_ID ...