This post describes the procedures for Enable/Disable Oracle Disk Manager driver for Oracle Database 11g.
We assume the Veritas ODM driver is already installed, mounted, and available. Follwo the steps outlined below to enable/disable ODM for Oracle database (note that with different versions of the Solaris OS, the path may change to the ODM files).
Enable ODM
1. Log in as oracle user.
2. Shut down the database.
3. Change directories:
$ cd $ORACLE_HOME/lib
4. Take a backup of existing original ODM library.
$ mv $ORACLE_HOME/lib/libodm11.so $ORACLE_HOME/lib/libodm11.so.org
5. create a soft link to veritas ODM library:
$ ln -s /opt/VRTSodm/lib/libodm.so $ORACLE_HOME/lib/libodm11.so
6. Start the database and check. Once the database instance is enabled with ODM, the following message is displayed in the Oracle alert log:
Oracle instance running with ODM: VERITAS 4.1 ODM Library, Version 1.1
Disable ODM
1. Log in as oracle user.
2. Shut down the database.
3. Change directories:
$ cd $ORACLE_HOME/lib
4. Remove the softlink:
$ cd $ORACLE_HOME/lib $ rm libodm11.so
5. Copy the orginal $ORACLE_HOME/lib/libodm11.sl or libodm11.so file back to disable the ODM library.
$ cp $ORACLE_HOME/lib/libodm11.so.oracle $ORACLE_HOME/lib/libodm11.so
6. Start the database.
How to Enable or Disable Veritas ODM for Oracle database 12.1.0.2, 18c and 19c