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.

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:

    # pkginfo VRTSodm 
    system VRTSodm Veritas Oracle Disk Manager
  3. Check that libodm.so is present.

    If you are running 32-bit Oracle9i, use the following command:

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

    If you are running 64-bit Oracle9i, use the following command:

    # ls -lL /opt/VRTSodm/lib/sparcv9/libodm.so
    -rw-r--r-- 1 root sys 14336 Apr 25 18:42
    /opt/VRTSodm/lib/sparcv9/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)
    
  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