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/

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

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

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/
cd $ORACLE_HOME/clone/bin
$ORACLE_HOME/perl/bin/perl clone.pl ORACLE_BASE="/u01/app/oracle" ORACLE_HOME="/u01/app/oracle/product/"
OSDBA_GROUP=dba OSOPER_GROUP=osoper_privileged_group -defaultHomeName