09-08-2008 01:32 PM
I understand that /opt/ORCLcluster/lib/libskgxn2.so has to be replaced if its diff from /opt/VRTSvcs/rac/lib as this lib is responsible for Oracle’s communication with Clusterware. One of my customer also mentioned that in 9i it was necessary to copy Veritas’s libskgxn into $ORACLE_HOME. I did not know why they were doing this. In 10.2.0.1, there was no $ORACLE_HOME/lib/libskgxn2.so so there was no copy required. It looks like in 10.2.0.3, Oracle changed things and started placing libskgxn2.so into $ORACLE_HOME/lib which is different from /opt/ORCLcluster/lib. I am not sure if $ORACLE_HOME/lib/libskgxn2.so has to be replaced or not. I can’t find any reference to replacing $ORACLE_HOME/lib/libskgxn2.so in the 4.1 install guide or MP release documents so I guess we don’t have to replace this. But, many of my peers recommanded copying this library over but don't have a reference doc. or technote that explains why.
$ ls -l /opt/VRTSvcs/rac/lib/libskgxn*
lrwxrwxrwx 1 root other 19 Feb 2 2007 /opt/VRTSvcs/rac/lib/libskgxn2_32.so -> ./libskgxn2_32.so.1
-rwxrwxr-x 1 root sys 40284 Nov 22 2006 /opt/VRTSvcs/rac/lib/libskgxn2_32.so.1
lrwxrwxrwx 1 root other 19 Feb 2 2007 /opt/VRTSvcs/rac/lib/libskgxn2_64.so -> ./libskgxn2_64.so.1
-rwxrwxr-x 1 root sys 52496 Nov 22 2006 /opt/VRTSvcs/rac/lib/libskgxn2_64.so.1 $ ls -l /opt/ORCLcluster/lib/libskgxn*
-r-xr-xr-x 1 oracle other 52496 Aug 30 20:37 /opt/ORCLcluster/lib/libskgxn2.so $ ls -l $ORACLE_HOME/lib/libskgxn*
-rw-r--r-- 1 oracle oinstall 11264 Dec 1 2006 /pdbs/oracle10g/oracle/product/10.2.0.3a/lib/libskgxn2.so
-rw-r--r-- 1 oracle oinstall 11328 Dec 20 2006 /pdbs/oracle10g/oracle/product/10.2.0.3a/lib/libskgxns.so
$ ls -l $ORA_CRS_HOME/lib/libskgxn*
lrwxrwxrwx 1 oracle other 33 Sep 2 13:27 /pdbs/oracle10g_crs/product/10.2.0.4/lib/libskgxn2.so -> /opt/ORCLcluster/lib/libskgxn2.so
-r-xrw-r-- 1 oracle oinstall 12528 Apr 4 04:29 /pdbs/oracle10g_crs/product/10.2.0.4/lib/libskgxns.so
Thanks,
Jawahar Mohan
02-15-2009 02:31 PM
Hi Jawahar,
My understanding about libskgxn2 is that it needed for Oracle DB communication withing the cluster. VCS provides the channel for Oracle to send messages to the other DB and you need that library at place for Oracle to call it, should it want to talk to the other DB.
You can find out from the alert.log if it could establish a communication to the other side.
If everything's working OK, then the message you find should be similar to the following:
| cluster interconnect IPC version:
| VERITAS IPC 2.2.1.0.1.0 32 17:11:49 Dec 12 2002
| IPC Vendor 86 proto 76 Version 1.0