DB: Oracle Home Cloning


To clone an existing Oracle_home, for example to move it from a DBsystem or DBcs service platform to a compute system located on a VM:

On the source system, stop all services then, for example:

zip -r dbhome11204.zip /u01/app/oracle/product/11.2.0.4/dbhome_1

On the target system, create the target ORACLE_HOME directory, transfer then unzip the zip file

mkdir -p /u01/app/oracle/product/11.2.0.4/dbhome_1

chown -R oracle:dba /u01/app/oracle

unzip -d / dbhome11204.zip

Then configure the ORACLE_HOME on the target system:

export ORACLE_HOME=/u01/app/oracle/product/11.2.0.4/dbhome_1
cd $ORACLE_HOME/clone/bin
$ORACLE_HOME/perl/bin/perl clone.pl ORACLE_BASE="/u01/app/oracle" ORACLE_HOME="/u01/app/oracle/product/11.2.0.4/dbhome_1"
OSDBA_GROUP=dba OSOPER_GROUP=osoper_privileged_group -defaultHomeName