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/lib/libodm.sl must exist.

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

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

  • The VRTSdbed license must be valid.

  • The VRTSodm package must be installed.

Note:

In addition to the following procedure, you can instead check the conditoins using the dbed_checkconfig command, which is installed with Veritas Storage Foundation for Oracle.

See the dbed_checkconfig(1M) manual page for more information.

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:

    (root@slias19)[/] swlist VRTSodm
    # Initializing...
    # Contacting target "slias19"...
    #
    # Target:  slias19:/
    #
    
    # VRTSodm             5.0.31.5.%20090322 Veritas Oracle Disk Manager 
      VRTSodm.ODM-KRN     5.0.31.5.%20090322 Veritas ODM kernel files 
      VRTSodm.ODM-MAN     5.0.31.5.%20090322 Veritas ODM manual pages 
      VRTSodm.ODM-RUN     5.0.31.5.%20090322 Veritas ODM commands
  3. Check that libodm.sl is present.

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

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:

    # /usr/sbin/kcmodule -P state odm
    state loaded
  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