ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Rac convert to single instance

Rac convert to single instance

原创 Linux操作系统 作者:nokilled 时间:2009-02-20 13:07:10 0 删除 编辑
$ make -f ins_rdbms.mk rac_off
        rm -f /opt/app/oracle/product/10.2.0/db_2/lib/libskgxp10.a
        cp /opt/app/oracle/product/10.2.0/db_2/lib//libskgxpd.a /opt/app/oracle/product/10.2.0/db_2/lib/libskgxp10.a
        rm -f /opt/app/oracle/product/10.2.0/db_2/lib/libskgxn2.a
        cp /opt/app/oracle/product/10.2.0/db_2/lib//libskgxns.a  /opt/app/oracle/product/10.2.0/db_2/lib/libskgxn2.a
/bin/ar -X64 d /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/libknlopt.a kcsm.o
        /bin/ar -X64 cr /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/libknlopt.a /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/ksnkcs.o
$ make -f ins_rdbms.mk ioracle
        chmod 755 /opt/app/oracle/product/10.2.0/db_2/bin
         > /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/ksms.s
 - Linking Oracle 
        rm -f /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/oracle
        ld -b64 -o /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/oracle -L/opt/app/oracle/product/10.2.0/db_2/rdbms/lib/ -L/opt/app/oracle/product/10.2.0/db_2/lib/ -bnoerrmsg  -bbigtoc -bnoipath -bI:/opt/app/oracle/product/10.2.0/db_2/lib/ksms.imp /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/opimai.o /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/ssoraed.o /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/ttcsoi.o  -lperfsrv10 /opt/app/oracle/product/10.2.0/db_2/lib/nautab.o /opt/app/oracle/product/10.2.0/db_2/lib/naeet.o /opt/app/oracle/product/10.2.0/db_2/lib/naect.o /opt/app/oracle/product/10.2.0/db_2/lib/naedhs.o /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/config.o -bI:/usr/lib/aio.exp   -lserver10 /opt/app/oracle/product/10.2.0/db_2/lib/libodm10.so -lnnet10  -lskgxp10 -lsthasgen10 /opt/app/oracle/product/10.2.0/db_2/has/lib/clssgc.o /opt/app/oracle/product/10.2.0/db_2/lib/libstskgxn2.a -lstocr10 -lstocrb10  -lstocrutl10 -lsthasgen10 /opt/app/oracle/product/10.2.0/db_2/has/lib/clssgc.o /opt/app/oracle/product/10.2.0/db_2/lib/libstskgxn2.a   -lclient10  -lvsn10  -lcommon10 -lgeneric10 `if [ -f /opt/app/oracle/product/10.2.0/db_2/lib/libavserver10.a ] ; then echo "-lavserver10" ; else echo "-lavstub10"; fi` `if [ -f /opt/app/oracle/product/10.2.0/db_2/lib/libavclient10.a ] ; then echo "-lavclient10" ; fi`  /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/defopt.o -lknlopt  `if /bin/ar -X64 tv /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/libknlopt.a | grep xsyeolap.o > /dev/null 2>&1 ; then echo "-loraolap10 -bE:/opt/app/oracle/product/10.2.0/db_2/rdbms/lib/olap.exp" ; fi`  -lslax10 -lpls10  -lplp10 -bE:/opt/app/oracle/product/10.2.0/db_2/rdbms/lib/plsqlncomp.exp  /opt/app/oracle/product/10.2.0/db_2/lib/libstclsra10.a -lstdbcfg10 -lserver10 -lclient10  -lvsn10  -lcommon10 -lgeneric10  -lknlopt -lslax10 -lpls10  -lplp10  -ljox10 -bE:/opt/app/oracle/product/10.2.0/db_2/rdbms/lib//oracle.exp   `sed -e 's/-ljava//g' /opt/app/oracle/product/10.2.0/db_2/lib/ldflags`      -lncrypt10 -lnsgr10 -lnzjs10 -ln10  -lnnz10 -lnl10 -lnzjs10 -lnro10 `sed -e 's/-ljava//g' /opt/app/oracle/product/10.2.0/db_2/lib/ldflags`      -lncrypt10 -lnsgr10 -lnzjs10 -ln10  -lnnz10 -lnl10 -lnzjs10 -lclient10  -lvsn10  -lcommon10 -lgeneric10   -lmm -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 `sed -e 's/-ljava//g' /opt/app/oracle/product/10.2.0/db_2/lib/ldflags`      -lncrypt10 -lnsgr10 -lnzjs10 -ln10  -lnnz10 -lnl10 -lnzjs10 -lnro10 `sed -e 's/-ljava//g' /opt/app/oracle/product/10.2.0/db_2/lib/ldflags`      -lncrypt10 -lnsgr10 -lnzjs10 -ln10  -lnnz10 -lnl10 -lnzjs10 -lclient10  -lvsn10  -lcommon10 -lgeneric10 -lpls10   -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10  -lclient10  -lvsn10  -lcommon10 -lgeneric10 -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lserver10 `if /bin/ar -X64 tv /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/libknlopt.a | grep "kxmnsd.o" > /dev/null 2>&1 ; then echo " " ; else echo "-lordsdo10"; fi` -lctxc10 -lctx10 -lzx10 -lgx10 -lctx10 -lzx10 -lgx10 -lordimt10  -lsnls10 -lnls10  -lcore10 -lsnls10  -lnls10 -lcore10 -lsnls10 -lnls10 -lxml10  -lcore10 -lunls10 -lsnls10 -lnls10 -lcore10 -lnls10 -lsnls10 -lunls10  -bE:/opt/app/oracle/product/10.2.0/db_2/rdbms/lib//libcorejava.exp  -lld -lm `cat /opt/app/oracle/product/10.2.0/db_2/lib/sysliblist`  -lm  `if [ "\`/usr/bin/uname -v\`" = "4" ]; \
        then echo "-bI:/opt/app/oracle/product/10.2.0/db_2/lib/pw-syscall.exp"; fi;`  `if /bin/ar -X64 t /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/libknlopt.a | grep '^'kcsm.o > /dev/null 2>&1 ; then echo "-lha_gs_r -lha_em_r -lpthreads"; fi` -locijdbcst10  -lwwg  -bpT:0x100000000 -bpD:0x110000000 -bforceimprw
        mv -f /opt/app/oracle/product/10.2.0/db_2/bin/oracle /opt/app/oracle/product/10.2.0/db_2/bin/oracleO
        mv /opt/app/oracle/product/10.2.0/db_2/rdbms/lib/oracle /opt/app/oracle/product/10.2.0/db_2/bin/oracle     
        chmod 6751 /opt/app/oracle/product/10.2.0/db_2/bin/oracle
#varyonvg oravg
修改 init*.ora
SPFILE='/dev/rspfile_128m'
*.cluster_database=false
 

 

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/46907/viewspace-557210/,如需转载,请注明出处,否则将追究法律责任。

上一篇: rac的测试记录
下一篇: init.crs
请登录后发表评论 登录
全部评论

注册时间:2007-12-30

  • 博文量
    108
  • 访问量
    286659