Relink des binaires oracle pour y inclure RAC (doc id ID 284785.1)
[ppr-mtlunt104:oracle:RADPPR1:/appl/oracle/11.2.0.2/rdbms/lib]# make -f ins_rdbms.mk rac_on ioracle
rm -f /appl/oracle/11.2.0.2/lib/libskgxp11.so
cp /appl/oracle/11.2.0.2/lib//libskgxpg.so /appl/oracle/11.2.0.2/lib/libskgxp11.so
- Use stub SKGXN library
rm -f /appl/oracle/11.2.0.2/lib/libskgxn2.so
cp /appl/oracle/11.2.0.2/lib//libskgxns.so \
/appl/oracle/11.2.0.2/lib/libskgxn2.so
/usr/ccs/bin/ar d /appl/oracle/11.2.0.2/rdbms/lib/libknlopt.a ksnkcs.o
/usr/ccs/bin/ar cr /appl/oracle/11.2.0.2/rdbms/lib/libknlopt.a /appl/oracle/11.2.0.2/rdbms/lib/kcsm.o
chmod 755 /appl/oracle/11.2.0.2/bin
- Linking Oracle
rm -f /appl/oracle/11.2.0.2/rdbms/lib/oracle
/usr/ccs/bin/ld -o /appl/oracle/11.2.0.2/rdbms/lib/oracle -L/appl/oracle/11.2.0.2/rdbms/lib/ -L/appl/oracle/11.2.0.2/lib/ -dy /appl/oracle/11.2.0.2/lib/prod/lib/v9/crti.o /appl/oracle/11.2.0.2/lib/prod/lib/v9/crt1.o /appl/oracle/11.2.0.2/rdbms/lib/opimai.o /appl/oracle/11.2.0.2/rdbms/lib/ssoraed.o /appl/oracle/11.2.0.2/rdbms/lib/ttcsoi.o -z allextract -lperfsrv11 -z defaultextract /appl/oracle/11.2.0.2/lib/nautab.o /appl/oracle/11.2.0.2/lib/naeet.o /appl/oracle/11.2.0.2/lib/naect.o /appl/oracle/11.2.0.2/lib/naedhs.o /appl/oracle/11.2.0.2/rdbms/lib/config.o -lserver11 -lodm11 -lcell11 -lnnet11 -lskgxp11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lclient11 -lvsn11 -lcommon11 -lgeneric11 -lknlopt `if /usr/ccs/bin/ar tv /appl/oracle/11.2.0.2/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap11" ; fi` -lslax11 -lpls11 -lplp11 -lserver11 -lclient11 -lvsn11 -lcommon11 -lgeneric11 `if [ -f /appl/oracle/11.2.0.2/lib/libavserver11.a ] ; then echo "-lavserver11" ; else echo "-lavstub11"; fi` `if [ -f /appl/oracle/11.2.0.2/lib/libavclient11.a ] ; then echo "-lavclient11" ; fi` -lknlopt -lslax11 -lpls11 -lplp11 -ljavavm11 -lserver11 -lwwg `cat /appl/oracle/11.2.0.2/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /appl/oracle/11.2.0.2/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lmm -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lztkg11 `cat /appl/oracle/11.2.0.2/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnro11 `cat /appl/oracle/11.2.0.2/lib/ldflags` -lncrypt11 -lnsgr11 -lnzjs11 -ln11 -lnl11 -lnnz11 -lzt11 -lztkg11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 `if /usr/ccs/bin/ar tv /appl/oracle/11.2.0.2/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo11"; fi` -L/appl/oracle/11.2.0.2/ctx/lib/ -lctxc11 -lctx11 -lzx11 -lgx11 -lctx11 -lzx11 -lgx11 -lordimt11 -lclsra11 -ldbcfg11 -lhasgen11 -lskgxn2 -lnnz11 -lzt11 -lxml11 -locr11 -locrb11 -locrutl11 -lhasgen11 -lskgxn2 -lnnz11 -lzt11 -lxml11 -loraz -llzopro -lorabz2 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lsnls11 -lunls11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lcore11 -lsnls11 -lnls11 -lxml11 -lcore11 -lunls11 -lsnls11 -lnls11 -lcore11 -lnls11 -lasmclnt11 -lcommon11 -lcore11 `cat /appl/oracle/11.2.0.2/lib/sysliblist` -R /opt/SUNWcluster/lib/sparcv9 -R/appl/oracle/11.2.0.2/lib -R /opt/ORCLcluster/lib/ -Y P,:/opt/SUNWcluster/lib/sparcv9:/opt/ORCLcluster/lib/:/usr/ccs/lib/sparcv9:/usr/lib/sparcv9 -Qy -lm /appl/oracle/11.2.0.2/lib/prod/lib/v9/crtn.o
ld: warning: symbol '_start' has differing types:
(file /appl/oracle/11.2.0.2/lib/prod/lib/v9/crt1.o type=FUNC; file /appl/oracle/11.2.0.2/lib//libserver11.a(skds.o) type=OBJT);
test ! -f /appl/oracle/11.2.0.2/bin/oracle ||\
mv -f /appl/oracle/11.2.0.2/bin/oracle /appl/oracle/11.2.0.2/bin/oracleO
mv /appl/oracle/11.2.0.2/rdbms/lib/oracle /appl/oracle/11.2.0.2/bin/oracle
chmod 6751 /appl/oracle/11.2.0.2/bin/oracle
[ppr-mtlunt104:oracle:RADPPR1:/appl/oracle/11.2.0.2/rdbms/lib]# sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Thu Feb 7 15:11:03 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to an idle instance.
SQL> startup
ORACLE instance started.
Total System Global Area 1.0693E+10 bytes
Fixed Size 2167736 bytes
Variable Size 6845107272 bytes
Database Buffers 3758096384 bytes
Redo Buffers 87293952 bytes
Database mounted.
Database opened.
SQL> SELECT * FROM PRODUCT_COMPONENT_VERSION;
PRODUCT
--------------------------------------------------------------------------------
VERSION
--------------------------------------------------------------------------------
STATUS
--------------------------------------------------------------------------------
NLSRTL
11.2.0.2.0
Production
Oracle Database 11g Enterprise Edition
11.2.0.2.0
64bit Production
PRODUCT
--------------------------------------------------------------------------------
VERSION
--------------------------------------------------------------------------------
STATUS
--------------------------------------------------------------------------------
PL/SQL
11.2.0.2.0
Production
TNS for Solaris:
11.2.0.2.0
PRODUCT
--------------------------------------------------------------------------------
VERSION
--------------------------------------------------------------------------------
STATUS
--------------------------------------------------------------------------------
Production
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Real Application Clusters, Automatic Storage Management, OLAP and Data Mining options
[ppr-mtlunt104:oracle:RADPPR1:/appl/oracle/11.2.0.2/rdbms/lib]# sqlplus / as sysdba
SQL*Plus: Release 11.2.0.2.0 Production on Thu Feb 7 15:14:11 2013
Copyright (c) 1982, 2010, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.2.0 - 64bit Production
With the Real Application Clusters, Automatic Storage Management, OLAP and Data Mining options
SQL>
Aucun commentaire:
Enregistrer un commentaire