Monday, July 30, 2012

Verify ASMLIB configuration

Usually System Admin will install ASMLIB and create ASM disks Here are a few useful command to verify ASMLIB was configured properly
1 Verfiy rpm installation

rpm -qa|grep oracleasm


2. ASM mount point creation

df -ha|grep oracleasm
oracleasmfs              0     0     0   -  /dev/oracleasm

3 Query and liks ASM disk
/etc/init.d/oracleasm listdisks
/etc/init.d/oracleasm querydisk  


4. Discover asm disks using string 'ORCL:*'

/usr/sbin/oracleasm-discover 'ORCL:*' 

5. Simulate the disk discovery from the operating system level, using tool kfod.  ($ORACLE_HOME/bin). 

$ORACLE_HOME/bin/kfod asm_diskstring='ORCL:*' disks=all

No comments:

Post a Comment