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 asm
$ srvctl stop instance -d db_unique_name
- Log in as
root
.
- Stop the Oracle Restart stack:
# cd Grid_home/bin
# crsctl stop has
- 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.