Verifying that Oracle Disk Manager is configured

Before verifying that Oracle Disk Manager is configured, make sure that the following conditions are met:

Prerequisites

  • /opt/VRTSodm/lib64/libodm.so must exist.

  • If you are using 64 bit Oracle9i, $ORACLE_HOME/lib/libodm9.so is linked to /opt/VRTSodm/lib/sparcv9/libodm.so.

  • If you are using Oracle 10g, $ORACLE_HOME/lib/libodm10.so is linked to /opt/VRTSodm/lib/sparcv9/libodm.so.

  • If you are using Oracle 11g, $ORACLE_HOME/lib/libodm11.so is linked to /opt/VRTSodm/lib/sparcv9/libodm.so.

  • If you are using Oracle10g on Opteron Operating System, $ORACLE_HOME/lib/libodm10.so is linked to /opt/VRTSodm/lib/amd64/libodm.so.

Prerequisites

  • /opt/VRTSodm/lib64/libodm.so must exist.

  • If you are using Oracle9i, $ORACLE_HOME/lib/libodm9.so is linked to /opt/VRTSodm/lib64/libodm.so.

  • If you are using Oracle 10g, $ORACLE_HOME/lib/libodm10.so is linked to /opt/VRTSodm/lib64/libodm.so.

  • If you are using Oracle 11g, $ORACLE_HOME/lib/libodm11.so is linked to /opt/VRTSodm/lib64/libodm.so.

  • The VRTSdbed license must be valid.

  • The VRTSodm package must be installed.

Prerequisites

  • /opt/VRTSodm/lib/libodm64.so must exist.

  • If you are using Oracle9i, $ORACLE_HOME/lib/libodm9.so is linked to /opt/VRTSodm/lib/libodm64.so.

  • If you are using Oracle 10g, $ORACLE_HOME/lib/libodm10.so is linked to /opt/VRTSodm/lib/libodm64.so.

  • If you are using Oracle 11g, $ORACLE_HOME/lib/libodm11.so is linked to /opt/VRTSodm/lib/libodm64.so.

  • The VRTSdbed license must be valid.

  • The VRTSodm package must be installed.

To verify that Oracle Disk Manager is configured

  1. Check the VRTSdbed license:

    # /opt/VRTS/bin/vxlictest -n "VERITAS Storage Foundation for Oracle" \
    -f "ODM"
    ODM feature is licensed
  2. Check that the VRTSodm package is installed:

    # lslpp -L VRTSodm
    Fileset			Level		 State  Type  Description (Uninstaller)
    ------------------------------------------------------------
    VRTSodm			5.0.x.x			C	F		Veritas Extension for
    																									Oracle Disk Manager
    
    State codes:
    A -- Applied.
    B -- Broken.
    C -- Committed.
    O -- Obsolete.  (partially migrated to newer version)
    ? -- Inconsistent State...Run lppchk -v.
    
    
    
    Type codes:
    F -- Installp Fileset
    P -- Product
    C -- Component
    T -- Feature
    R -- RPM Package
  3. Check that libodm.so is present.

    # ls -lL /opt/VRTSodm/lib/libodm64.so
    -rw-r--r-- 1 root sys 14336 Apr 25 18:42 
    /opt/VRTSodm/lib/libodm.so

Note:

You can also use the dbed_checkconfig command, which is installed with Veritas Storage Foundation for Oracle to check these conditions. See the dbed_checkconfig(1M) manual page for more information.

To verify that Oracle Disk Manager is running

  1. Start the Oracle database.

  2. Check that the instance is using the Oracle Disk Manager function:

    # cat /dev/odm/stats
    # echo $?
    0
  3. Verify that the Oracle Disk Manager is loaded:

    modinfo | grep ODM | grep VRTS
    162 7b76c000  184a0  25   1  odm (VRTS ODM 5.0.10.00,REV=MP1u)
    
    # /usr/sbin/kcmodule -P state odm
    state loaded

    You can use the genkld or the genkex commands:

    # genkld |grep odm
    or
    # genkex |grep odm
    
  4. In the alert log, verify the Oracle instance is running. The log should contain output similar to the following:

    Oracle instance running with ODM: Veritas #.# ODM Library, 
    Version #.#

More Information

Checking the database configuration environment using dbed_checkconfig