Friday, April 27, 2012

Oracle 11g Home Cloning


Oracle 11g Home Cloning
1- Shutdown the database and other services of the source database
2- Make a zip file of the source Oracle home (only home folder like DB_1, or DBHOME_1)
3- Copy it over to the target machine
4- Unzip the zipped file
5- Go to the $ORACLE_HOME/oui/bin directory
6- From the $ORACLE_HOME/oui/bin directory, run Oracle Universal Installer in clone mode for the unzipped Oracle home. Use the following syntax:
$ORACLE_HOME/oui/bin/runInstaller -silent -clone ORACLE_BASE="/app/administrator" ORACLE_HOME="/app/administrator/product/11.2.0/dbhome_2" ORACLE_HOME_NAME="dbhome_2"

It will clone the Oracle home, check Oracle Inventory to verify.

No comments:

Post a Comment