If Oracle ASM library driver (Oracle ASMLIB) is installed but you do not use it for device path persistence, then deinstall Oracle ASMLIB:
- Stop Oracle ASM and any running database instance:
$ srvctl stop database
$ srvctl stop asm
- Log in as
root
.
- Stop the Oracle Restart stack:
# cd Grid_home/bin
# crsctl stop has
Where, Grid_home is the Oracle Grid Infrastructure home directory path.
- Stop Oracle ASMLIB:
# /etc/init.d/oracleasm disable
- Remove the
oracleasm
library and tools RPMs:# rpm -e oracleasm-support
# rpm -e oracleasmlib
- Check if any
oracleasm
RPMs are remaining:# rpm -qa| grep oracleasm
- If any
oracleasm
configuration files are remaining, remove them:# rpm -qa| grep oracleasm | xargs rpm -e
Oracle ASMLIB and associated RPMs are now removed.
Start the Oracle Restart stack. Optionally, you can install and configure Oracle ASM Filter Driver (Oracle ASMFD) before starting the Oracle Restart stack.