The Oracle RAC and Veritas library locations for linking the Oracle libraries with SF Oracle RAC are listed in the following tables. You may use these tables as reference when you relink the libraries as described in this section.
Table: Oracle RAC and Veritas library locations for VCS IPC and ODM - Oracle RAC 10g Release 2 lists the Oracle RAC and Veritas library locations for Oracle RAC 10g Release 2.
Table: Oracle RAC and Veritas library locations for VCS IPC and ODM - Oracle RAC 10g Release 2
Table: Oracle RAC and Veritas library locations for VCSMM and ODM - Oracle RAC 11g Release 1 lists the Oracle RAC and Veritas library locations for Oracle RAC 11g Release 1.
Table: Oracle RAC and Veritas library locations for VCSMM and ODM - Oracle RAC 11g Release 1
Perform this step only for Oracle RAC 10g installations and if you are using VCS IPC.
Perform the steps in the procedure on each node if the Oracle libraries are on local storage. If the Oracle libraries are installed on shared storage, copy the libraries on one node only. Use the mount command to check that the file system containing the Oracle libraries are mounted.
To copy VCS IPC libraries
Perform the steps in the procedure on each node if the Oracle libraries are on local storage. If the Oracle libraries are installed on shared storage, copy the libraries on one node only. Use the mount command to check that the file system containing the Oracle libraries are mounted.
The steps vary for Oracle RAC 10g and Oracle RAC 11g.
To link the Veritas ODM library
Change to the $ORACLE_HOME/lib
directory:
$ cd $ORACLE_HOME/lib
$ mv libodm10.so libodm10.so.bkp
$ mv libodm11.so libodm11.so.bkp
Link the Veritas ODM library with Oracle's libodm
library:
$ ln -s /usr/lib/sparcv9/libodm.so libodm10.so
$ ln -s /usr/lib/amd64/libodm.so libodm10.so
$ ln -s /usr/lib/sparcv9/libodm.so libodm11.so
$ ln -s /usr/lib/amd64/libodm.so libodm11.so
After the relinking completes, confirm that the correct ODM library is used.
$ ldd $ORACLE_HOME/bin/oracle | grep odm
If the library is not linked correctly, no output is displayed. Sometimes, the Oracle ODM library may not be correctly linked with the Veritas ODM library because of the presence of a static ODM library at $ORACLE_HOME/rdbms/lib/libodm.a
. This is a known issue with Oracle.
To resolve this issue, run the following commands:
$ cd $ORACLE_HOME/rdbms/lib $ mv libodm10.a libodm10.a.backup $ /usr/ccs/bin/make -f ins_rdbms.mk ioracle
Verify that the correct ODM library is used:
$ ldd $ORACLE_HOME/bin/oracle | grep odm libodm10.so => /app/oracle/orahome/lib/libodm10.so
For more information, see the Oracle metalink document: 725903.1