On Source $ emctl stop dbconsole $ lsnrctl stop $ cd/u01/app/oracle/product tar -cvzf /tmp/ohome.tgz 11.2.0/ On Target Copy Oracle Home to target and extract $ cd /u01/app/oracle/product $ tar -xvzf /tmp/ohome.tar Execute the clone script. [oracle@canada ~]$ cd /u01/app/oracle/product/11.2.0/db_1/clone/bin/ [oracle@canada bin]$ perl clone.pl ORACLE_BASE=/u01/app/oracle ORACLE_HOME=/u01/app/oracle/ product/11.2.0/db_1 ORACLE_HOME_NAME=11GR2_HOME_TEST ./runInstaller -clone -waitForCompletion "ORACLE_BASE=/u01/app/oracle" "ORACLE_HOME=/u01/ app/oracle/product/11.2.0/db_1" "ORACLE_HOME_NAME=11GR2_HOME_TEST" -silent -noConfig -nowait Starting Oracle Universal Installer... Checking swap space: must be greater than 500 MB. Actual 2996 MB Passed Preparing to launch Oracle Universal Installer from /tmp/OraInstall2012-02-25_02-12-10PM. Please wait ...Oracle Universal Installer, Version 11.2.0.1.0 Production Copyright (C) 1999, 2009, Oracle. All rights reserved. You can find the log of this install session at: /u01/app/oraInventory/logs/cloneActions2012-02-25_02-12-10PM.log ............................................................................................ ........ 100% Done. Installation in progress (Saturday, February 25, 2012 2:13:11 PM IST) .............................................................................. 78% Done. Install successful Linking in progress (Saturday, February 25, 2012 2:13:49 PM IST) Link successful Setup in progress (Saturday, February 25, 2012 2:17:19 PM IST) Setup successful End of install phases.(Saturday, February 25, 2012 2:25:41 PM IST) Starting to execute configuration assistants The following configuration assistants have not been run. This can happen because Oracle Universal Installer was invoked with the -noConfig option. -------------------------------------- The "/u02/app/oracle/product/11.2.0/db_1/cfgtoollogs/configToolFailedCommands" script contains all commands that failed, were skipped or were cancelled. This file may be used to run these configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same. The "/u02/app/oracle/product/11.2.0/db_1/cfgtoollogs/configToolAllCommands" script contains all commands to be executed by the configuration assistants. This file may be used to run the configuration assistants outside of OUI. Note that you may have to update this script with passwords (if any) before executing the same. -------------------------------------- WARNING: The following configuration scripts need to be executed as the "root" user. /u02/app/oracle/product/11.2.0/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 11GR2_HOME_TEST was successful. Please check '/u01/app/oraInventory/logs/cloneActions2012-02-25_02-12-10PM.log' for more details. --Run the above script using root user [root@canada ~]# /u01/app/oracle/product/11.2.0/db_1/root.sh Check /u02/app/oracle/product/11.2.0/db_1/install/root_canada_2012-02-25_14-27-47.log for the output of root script
Search This Blog
Monday, February 27, 2012
Oracle Software Cloning.
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment