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 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.

To verify that Oracle Disk Manager is configured

  1. Verify that the ODM feature is included in the license:
    # /opt/VRTS/bin/vxlicrep | grep ODM
    

    The output verifies that ODM is enabled.

    Note:

    Verify that the license key containing the ODM feature is not expired. If the license key has expired, you will not be able to use the ODM feature.

  2. Check that the VRTSodm package is installed:
    # rpm -qa | grep VRTSodm
    VRTSodm-5.1.100.000-SP1_Axx_platform

    platform can be SLES10, SLES11, or RHEL5. For example, on a RHEL5 system, the output can be as follows:

    # rpm -qa | grep VRTSodm
    VRTSodm-5.1.100.000-SP1_A37_RHEL5
  3. Check that libodm.so is present.
    # ls -lL /opt/VRTSodm/lib64/libodm.so
    -rwxr-xr-x 1 bin bin 49808 Sep 1 18:42 
    /opt/VRTSodm/lib64/libodm.so

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:
    # lsmod | grep odm
    vxodm   164480  1
    fdd 78976 1 vxodm
  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 5.1.100.00 ODM Library, 
    Version 2.0