Changes in Veritas Extension for ODM linking in Oracle 12.1.0.2 and above binaries

Article: 100014296
Last Published: 2018-01-17
Ratings: 2 1
Product(s): InfoScale & Storage Foundation

Problem

Oracle has changed the location of ODM library used for loading during database startup in version 12.1.0.2 and above. As a result, the Veritas ODM library is not used by the Oracle database even after linking the Oracle database with Veritas ODM.

Cause

Change in the location of Oracle ODM library.

Solution

To link the Veritas Extension for ODM with Oracle database 12.1.0.2 and above:

1. Log in as the Oracle user.
2. If the Oracle database is running, then shut down the Oracle database.
    Run the following on one node:
    $ srvctl stop database -db db_name
 
3.  Perform the following step before you link the Veritas ODM library with the Oracle binaries:
    a. Export the ORACLE_HOME environment variable, where Oracle database binaries are installed:
        
    b. For Oracle RAC database, disable direct NFS:
        $ cd $ORACLE_HOME/rdbms/lib
        where ORACLE_HOME is the location where Oracle database binaries are installed.
        $ make –f ins_rdbms.mk dnfs_off        OR   (make -f ins_rdbms.mk dnfs_off)
        For Oracle Single Instance database, create odm directory: 
        $ mkdir –p odm
c.    Change the present working directory:
       $ cd $ORACLE_HOME/rdbms/lib/odm
 
d. Link the Veritas ODM library with the Oracle binaries:
    For AIX:
    $ ln –s /opt/VRTSodm/lib/libodm64.so libodm12.so
    For HP-UX:
    # ln -s  /opt/VRTSodm/lib/libodm.so libodm12.so
    For Linux:
    $ ln –s /opt/VRTSodm/lib64/libodm.so libodm12.so
    For Solaris SPARC:
    $ ln –s /usr/lib/sparcv9/libodm.so libodm12.so
    For Solaris x86:
    $ ln –s /usr/lib/amd64/libodm.so libodm12.so
4. Start the database.
    Run the following on one node:
    $ srvctl start database -db db_name
 
5. To confirm that the Oracle database starts with Veritas Extension for ODM, check the alert log for the following text:
          Veritas  <version>  ODM Library
   where  <version> is the ODM library version shipped with the product.
   The alert log location depends on the Oracle version used.
   For more information on the exact location of the alert log, see the Oracle documentation.

To unlink the Veritas Extension for ODM with Oracle database 12.1.0.2 and above:

1. Log in as the Oracle user.
2. Export the ORACLE_HOME environment variable, where Oracle database binaries are installed:
3 . If the Oracle database is running, then shut down the Oracle database.
    Run the following on one node:
    $ srvctl stop database -db db_name
 
4.  Unlink the Veritas ODM:
       a. $ cd $ORACLE_HOME/lib
           $ ln -sf $ORACLE_HOME/lib/libodmd12.so libodm12.so
        b. $ cd $ORACLE_HOME/rdbms/lib/odm
          $ rm libodm12.so
        c. For Oracle RAC database: 
           $ cd $ORACLE_HOME/rdbms/lib
          $ make –f ins_rdbms.mk dnfs_on
5.  Start the database.
     Run the following on one node:
     $ srvctl start database -db db_name

Additional changes for SFDB tools (for pre-7.0):

The /opt/VRTS/bin/dbed_codm_adm command fails with the following error even after linking the VRTSodm library:

SFDB vxsfadm ERROR V-81-0034 The Oracle Home /ora_base/db_home is not linked with the Veritas ODM library.
Action: SFDB vxsfadm ERROR V-81-0064 Follow the instructions in the Administrator's Guide to link with the Veritas ODM library

In addition to linking ODM to the VRTSodm library at $ORACLE_HOME/rdbms/lib/odm, maintain an ODM link to the VRTSodm lib at $ORACLE_HOME/lib as well.

Perform the following steps to link to the VRTSodm library at $ORACLE_HOME/lib:

  1. Change the present working directory :
    # cd $ORACLE_HOME/lib
  2. Link ODM to the VRTSodm library at $ORACLE_HOME/lib:
    For Linux:
    $ ln –s /opt/VRTSodm/lib64/libodm.so libodm12.so
    For Solaris SPARC:
    $ ln –s /usr/lib/sparcv9/libodm.so libodm12.so
    For Solaris x86:
    $ ln –s /usr/lib/amd64/libodm.so libodm12.so

 

 

Applies To

Databases: Oracle RAC and Oracle Single Instance

Operating systems: AIX, HP-UX, Linux, Solaris

Was this content helpful?