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

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s