Clone and install Oracle 11G HOME

Source: Internet
Author: User

To test Oracle 11.2.0.4 + goldengate 11.2, you need to install oracle in both LINUX testing environments,
Test Environment Node 1 Machine name: RAC1 source end

Test Environment Node 1 Machine name: the directory structure of the two machines on the target side of RAC2 is consistent. Currently, ORACLE 11.2.0.4 SOFTAWRE has been installed on RAC1, and node 2 RAC2 has no space to store the ORACLE installation media, therefore, the clone method is used to clone the RAC1 installation. [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 scp the files under ORACLE_HOME to the target end:
[oracle@rac1 ~]$ scp -rp db_1 oracle@192.168.3.201:/u01/oracle/product/11.2

Clone using clone. pl script:
[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,201 3, Oracle. All rights reserved.

You can find the log of this install session:
/U01/oracle/oraInventory/logs/cloneActions2013-10-28_02-45-44PM.log
........................................ ........................................... 100% Done.



Installation in progress (Monday, October 28,201 3 2:46:23 pm cst)
........................................ ...................................... 78% Done.
Install successful

Linking in progress (Monday, October 28,201 3 2:46:42 pm cst)
Link successful

Setup in progress (Monday, October 28,201 3 2:49:39 pm cst)
Setup successful

End of install phases. (Monday, October 28,201 3 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.

Run root. sh as the root user.
[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

Cloning is completed at this location.

Previously, ORACLE 10GR2 RAC was installed on this machine. Now, check whether ORACLE 11G ORACLE_HOME_NAME is added to inventory. xml.
[Root @ rac2 ~] # Cd/u01/oracle/oraInventory/ContentsXML [root @ rac2 ContentsXML] # lscomps. xml inventory. xml libs. xml [root @ rac2 ContentsXML] # more inventory. xml <? Xml version = "1.0" standalone = "yes"?> <! -- Copyright (c) 1999,201 3, 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"

Recommended reading:

Detailed description of the installation process of Oracle 11g Database in Linux

How to install Oracle 11g R2 single-instance database on CentOS 5.6

To install Oracle Clusterware on an Oracle vmvm

Install Oracle 11 GB single-instance database on Linux under vmvm

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.