测试Oracle 11.2.0.4 + goldengate 11.2,需要两台LINUX测试环境都将安装oracle,
测试环境节点1机器名:RAC1 源端测试环境节点1机器名:RAC2目标端两台机器目录结构一致目前RAC1已经安装好ORACLE 11.2.0.4 SOFTAWRE,节点2 RAC2已经没有空间存放ORACLE安装介质,所以采取克隆方式安装,将RAC1安装好的克隆过来。[oracle@rac1 ~]$ echo $ORACLE_HOME/u01/oracle/product/11.2/db_1[oracle@rac1 ~]$ cd /u01/oracle/product/11.2[oracle@rac1 11.2]$ lsdb_1将ORACLE_HOME下面的文件scp到目标端:[oracle@rac1 ~]$ scp -rp db_1 oracle@192.168.3.201:/u01/oracle/product/11.2
使用clone.pl脚本克隆:
[oracle@rac2 ~]$ cd /u01/oracle/product/11.2/db_1/clone/bin
[oracle@rac2 bin]$ ls
clone.pl prepare_clone.pl
[oracle@rac2 bin]$ perl clone.pl ORACLE_BASE=/u01/oracle ORACLE_HOME=/u01/oracle/product/11.2/db_1 ORACLE_HOME_NAME=OraDb11g_home1
./runInstaller -clone -waitForCompletion "ORACLE_BASE=/u01/oracle" "ORACLE_HOME=/u01/oracle/product/11.2/db_1" "ORACLE_HOME_NAME=OraDb11g_home1" -silent -noConfig -nowait
Starting Oracle Universal Installer...
Checking swap space: must be greater than 500 MB. Actual 1023 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2013-10-28_02-45-44PM. Please wait ...Oracle Universal Installer, Version 11.2.0.4.0 Production
Copyright (C) 1999, 2013, Oracle. All rights reserved.
You can find the log of this install session at:
/u01/oracle/oraInventory/logs/cloneActions2013-10-28_02-45-44PM.log
................................................................................... 100% Done.
Installation in progress (Monday, October 28, 2013 2:46:23 PM CST)
.............................................................................. 78% Done.
Install successful
Linking in progress (Monday, October 28, 2013 2:46:42 PM CST)
Link successful
Setup in progress (Monday, October 28, 2013 2:49:39 PM CST)
Setup successful
End of install phases.(Monday, October 28, 2013 2:50:08 PM CST)
WARNING:
The following configuration scripts need to be executed as the "root" user.
/u01/oracle/product/11.2/db_1/root.sh
To execute the configuration scripts:
1. Open a terminal window
2. Log in as "root"
3. Run the scripts
The cloning of OraDb11g_home1 was successful.
Please check "/u01/oracle/oraInventory/logs/cloneActions2013-10-28_02-45-44PM.log" for more details.
使用root用户执行root.sh
[root@rac2 tmp]# sh /u01/oracle/product/11.2/db_1/root.sh
Check /u01/oracle/product/11.2/db_1/install/root_rac2_2013-10-28_14-50-29.log for the output of root script
到此位置克隆完成。
以前这台机器安装过ORACLE 10GR2 RAC,现在检查ORACLE 11G ORACLE_HOME_NAME是否添加到inventory.xml[root@rac2 ~]# cd /u01/oracle/oraInventory/ContentsXML[root@rac2 ContentsXML]# lscomps.xmlinventory.xmllibs.xml[root@rac2 ContentsXML]# more inventory.xml<?xml version="1.0" standalone="yes" ?><!-- Copyright (c) 1999, 2013, Oracle and/or its affiliates.All rights reserved. --><!-- Do not modify the contents of this file by hand. --><INVENTORY><VERSION_INFO> <SAVED_WITH>11.2.0.4.0</SAVED_WITH> <MINIMUM_VER>2.1.0.6.0</MINIMUM_VER></VERSION_INFO><HOME_LIST><HOME NAME="OraDb11g_home1" LOC="/u01/oracle/product/11.2/db_1" TYPE="O" IDX="3"/><HOME NAME="OraDb10g_home1" LOC="/u01/oracle/product/10.2/db_1" TYPE="O" IDX="2" REMOVED="T"/><HOME NAME="OraCrs10g_home" LOC="/u01/oracle/product/10.2/crs" TYPE="O" IDX="1" REMOVED="T"/></HOME_LIST><COMPOSITEHOME_LIST></COMPOSITEHOME_LIST></INVENTORY>可以看到已经添加下面内容HOME NAME="OraDb11g_home1" LOC="/u01/oracle/product/11.2/db_1"
推荐阅读:Linux操作系统中Oracle 11g数据库安装过程图文详解 http://www.linuxidc.com/Linux/2012-12/76814.htmCentOS 5.6 上安装 Oracle 11g R2 单实例数据库详解 http://www.linuxidc.com/Linux/2013-02/79189p4.htmOracle VM虚拟机中安装Oracle Clusterware 11g步骤 http://www.linuxidc.com/Linux/2008-11/17161.htmVM虚拟机下在Linux上安装Oracle 11G单实例数据库 http://www.linuxidc.com/Linux/2013-10/91192.htm更多Oracle相关信息见Oracle 专题页面 http://www.linuxidc.com/topicnews.aspx?tid=12RAC中通过设置服务名实现业务分割运行DBCA Exception in thread “main”错误相关资讯 Oracle 11g安装
- Ubuntu 16.04安装Oracle 11g (今 09:45)
- SUSE 11下安装 Oracle 11g图解及相 (01月25日)
- Linux 6下安装Oracle 11g(64bit) (08/28/2015 13:51:46)
| - RHEL 5.7下Oracle 11g 单实例安装 (08月13日)
- Oracle 11g+RAC+RHEL6.5+udev+ASM+ (12/04/2015 09:10:53)
- Ubuntu 14.04 LTS 64位安装Oracle (03/20/2015 19:30:08)
|
本文评论 查看全部评论 (0)