Verifying that Oracle Disk Manager is configured

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

Prerequisites

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

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

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:
    # pkginfo -l 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
    # 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

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.1.10.00,REV=MP1u)
    
  4. In the Oracle 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