Verifying that Oracle Disk Manager is Configured
To verify the configuration of the Oracle Disk Manager, make sure the following Prerequisites are satisfied.
Prerequisites
- The VRTSdbed license must be valid.
- The VRTSodm package must be installed.
- /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
To verify that Oracle Disk Manager is configured
-
Check the VRTSdbed license:
# /opt/VRTS/bin/vxlictest -n "VERITAS Storage Foundation for \ Oracle" -f "ODM"
Using VERITAS License Manager API Version 3.00, Build 2
ODM feature is licensed
# /opt/VRTS/bin/vxlictest -n "VERITAS Database Edition for \
Oracle" -f "ODM"
VERITAS License Manager vxlictest Utility Version 3.00, Build 2
Copyright (C) VERITAS Software Corp 2002. All Rights reserved.
Using VERITAS License Manager API Version 3.00, Build 2
ODM feature is licensed
Check that the VRTSodm package is installed:
# swlist VRTSodm
# VRTSodm 3.5-ga14 VERITAS Oracle Disk Manager
VRTSodm.ODM-KRN 3.5-ga14 VERITAS ODM kernel files
VRTSodm.ODM-MAN 3.5-ga14 VERITAS ODM manual pages
VRTSodm.ODM-RUN 3.5-ga14 VERITAS ODM commands
-
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
-
Check that libodm.sl is linked:
For Oracle 10g
# cmp $ORACLE_HOME/lib/libodm10.sl /opt/VRTSodm/lib/libodm.sl
# echo $?
0
For Oracle9i
# cmp $ORACLE_HOME/lib/libodm9.sl /opt/VRTSodm/lib/libodm.sl
# echo $?
0
Note
You can also use the dbed_checkconfig command, which is installed with VERITAS Storage Foundation for Oracle to check these conditions. See Checking Oracle Configuration Environment Using dbed_checkconfig or the dbed_checkconfig(1M) manual page for more information.
To verify that Oracle Disk Manager is running:
-
Start the Oracle database.
-
Check that the instance is using the Oracle Disk Manager function:
# cat /dev/odm/stats
# echo $?
0
-
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 4.1 ODM Library, Version 1.1
|