Sample Configurations with SGeRAC and Oracle RAC 10gR2, March 2009

35
Configuring ODM
ODM is required when using Oracle RAC with SGeRAC and CFS. For this sample configuration, the
ODM libraries are included with the HP Serviceguard Storage Management Suite bundle for RAC.
Previously, there was a confirmed problem with creating an Oracle database with dbca after
enabling ODM (linking the ODM library). The Oracle bug # is 5103839. The workaround was to
create the database (see §4.2.8) first and then link ODM (§4.2.7). Starting with Oracle 10.2.0.3,
this problem has been resolved and the workaround is not needed.
Check ODM availability
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.
# swlist VRTSodm
VRTSodm 5.0.01.01 Veritas Oracle Disk Manager
VRTSodm.ODM-KRN 5.0.01.01 Veritas ODM kernel files
VRTSodm.ODM-MAN 5.0.01.01 Veritas ODM manual pages
VRTSodm.ODM-RUN 5.0.01.01 Veritas ODM commands
3. Check that libodm.sl is present.
# ls -lL /opt/VRTSodm/lib/libodm.sl
-r-xr-xr-x 1 root sys 81464 May 15 2006 /opt/VRTSodm/lib/libodm.sl
Configure Oracle to use ODM library
1. Login as Oracle user
2. Shutdown database (if running)
3. Link the Oracle Disk Manager library into Oracle home for Oracle 10g
For HP 9000 systems:
$ rm ${ORACLE_HOME}/lib/libodm10.sl
$ ln -s /opt/VRTSodm/lib/libodm.sl ${ORACLE_HOME}/lib/libodm10.sl
For HP Integrity systems:
$ rm ${ORACLE_HOME}/lib/libodm10.so
$ ln -s /opt/VRTSodm/lib/libodm.sl ${ORACLE_HOME}/lib/libodm10.so
Configure Oracle to stop using ODM library
1. Login as Oracle user
2. Shutdown database (if running)
3. Link the original Oracle Disk Manager library into Oracle home for Oracle 10g
Note:
Some versions of the SGeRAC manual incorrectly removed the installed
library (“libodmd10.sl”for HP 9000 systems and “libdodmd10.so
for HP Integrity systems). The correct behavior is to remove the link.