To verify that Oracle Disk Manager (ODM) is functioning, perform the following steps:
1. Check the VRTSdbed license:
For Database Edition 3.0:
# /usr/sbin/vxlicense -t DATABASE_EDITION| egrep \ 'Feature name:|Expiration date:'
vrts:vxlicense: INFO: Feature name: DATABASE_EDITION [100]
vrts:vxlicense: INFO: Expiration date: No expiration date
For Database Edition 3.5:
# /sbin/vxlictest -n "VERITAS Database Edition for Oracle" -f "ODM"
ODM feature is licensed
2. Check that the VRTSodm package is installed:
For Database Edition 3.0 or Database Edition 3.5:
# pkginfo VRTSodm
system VRTSodm VERITAS Oracle Disk Manager
3. Determine whether the Oracle version is 32-bit or 64-bit:
# cd $ORACLE_HOME/bin
# file oracle
For a 32-bit version, the output is as follows:
oracle: ELF 32-bit MSB executable SPARC Version 1, dynamically linked, not stripped
For a 64-bit version, the output is as follows:
oracle: ELF 64-bit MSB executable SPARCV9 Version 1, dynamically linked, not stripped
4 . Check that libodm.so is present and linked correctly
For Database Edition 3.0 or Database Edition 3.5:
If running 32-bit Oracle, use the following command:
#ls -lL /usr/lib/libodm.so
-rw-r--r-- 1 root sys 13288 Apr 25 18:42 /usr/lib/libodm.so
# cmp $ORACLE_HOME/lib/libodm9.so /usr/lib/libodm.so
# echo $?
0
Alternatively, if you are running 64-bit Oracle, use the following command:
# ls -lL /usr/lib/sparcv9/libodm.so
-rw-r--r-- 1 root sys 16936 Apr 25 18:42 /usr/lib/sparcv9/libodm.so
# cmp $ORACLE_HOME/lib/libodm9.so /usr/lib/libodm.so
# echo $?
0
5. If the above link test fails, then check that the following links have been created correctly:
If running 32-bit Oracle, use the following command:
# ln -s /opt/VRTSodm/lib/libodm.so $ORACLE_HOME/lib/libodm9.so
Alternatively, if you are running 64-bit Oracle, use the following command:
# ln -s /opt/VRTSodm/lib/sparcv9/libodm.so $ORACLE_HOME/lib/libodm9.so
6. Check that the instance is using the Oracle Disk Manager function:
# cat /dev/odm/stats >/dev/null
# echo $?
0
The dbed_checkconfig command, which is installed with VERITAS Database Edition for Oracle can also be used to check these conditions.