• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

How to Enable or Disable Veritas ODM for Oracle database 12.1.0.1

by admin

This post describes the procedures for Enable/Disable Oracle Disk Manager driver for Oracle Database 12.1.0.1.

We assume the Veritas ODM driver is already installed, mounted, and available. Follow the steps outlined below to enable/disable ODM for the Oracle database (note that with different versions of the Solaris OS, the path may change to the ODM files).

Example of vendor ODM library on some platforms:

For Linux: /opt/VRTSodm/lib64/libodm.so
For Solaris SPARC: /usr/lib/sparcv9/libodm.so
For Solaris x86: /usr/lib/amd64/libodm.so

The example given here below is for the Linux platform.

Enable ODM

1. Log in as RDBMS Home Owner OS user.

2. Shut down the database.

3. Change directories:

$ cd $ORACLE_HOME/lib

4. Take a backup of existing original ODM library (if this is an old setup).

$ mv $ORACLE_HOME/rdbms/lib/odm/libodm[software_version].so $ORACLE_HOME/rdbms/lib/odm/libodm[software_version].so.org

For example, in 12c [software_version] = 12:

$ mv $ORACLE_HOME/rdbms/lib/odm/libodm12.so $ORACLE_HOME/rdbms/lib/odm/libodm12.so.org

5. create a symbolic link to veritas ODM library:

$ ln -s /opt/VRTSodm/lib64/libodm.so $ORACLE_HOME/lib/libodm[software_version].so

For example, in 12c [software_version] = 12:

$ ln -s /opt/VRTSodm/lib64/libodm.so $ORACLE_HOME/lib/libodm12.so

6. Start the database and check the alert.log for the below message:

Oracle instance running with Veritas 6.0.500.100 ODM Library, Version 2.0

7. Also validate the DBWR is opening /dev/odm/ctl files:

$ ps -aef | grep -i ora_dbw0_t12
oracle 19706 1 0 12:44 ? 00:00:00 ora_dbw0_t12101
$ lsof -p 19706 | grep -i odm
ora_dbw0_ 19706 oracle mem REG 8,3 69205 20259040 /opt/VRTSodm/lib64/libodm.so
ora_dbw0_ 19706 oracle 8r REG 0,19 0 3 /dev/odm/ctl
ora_dbw0_ 19706 oracle 10r REG 0,19 0 3 /dev/odm/ctl
ora_dbw0_ 19706 oracle 25r REG 0,19 0 3 /dev/odm/ctl

Disable ODM

Just remove the symbolic link from the respective directory so that the link to the Veritas ODM library present at the OS directory is broken.

1. Log in as a Home Owner OS user. Shut down the database.

2. Remove the soft link we created.

$ cd $ORACLE_HOME/lib
$ rm libodm12.so

3. Copy the original $ORACLE_HOME/lib/libodm12.so file back to disable the ODM library:

$ cp $ORACLE_HOME/lib/libodm12.so.oracle $ORACLE_HOME/lib/libodm12.so
$ ls -l libodm12.*

4. Start the database and check the alert.log.

How to Enable or Disable Veritas ODM for Oracle database 11g
How to Enable or Disable Veritas ODM for Oracle database 12.1.0.2, 18c and 19c

Filed Under: oracle, oracle 12c, VCS

Some more articles you might also be interested in …

  1. How to Use real-time query to access data on a physical standby database
  2. vcs basics – Communication faults, jeopardy, split brain, I/O fencing
  3. How to Failover a Service During Instance Shutdown Using SRVCTL
  4. How to Install and configure OSWatcher Black Box (OSWbb)
  5. Oracle Database : Performing Incomplete Recovery from a missing archivelog file (Change-Based, Cancel-Based, Time-Based)
  6. New Oracle Net features in version 12c
  7. VCS cluster 6.2 LAB : Installing VCS
  8. ASM background processes in 11gR2
  9. Oracle Database Basics – User Accounts
  10. How to Create or Remove Restore Point on Oracle Standby database

You May Also Like

Primary Sidebar

Recent Posts

  • ncat Command Examples in Linux
  • ncat: command not found
  • nautilus Command Examples in Linux
  • namei: command not found

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright