In this article, we will explain , how to clone 19c oracle home binary (including patches) , from one server to another server using gold image method.

Prior to oracle 19c, cloning was done using runInstaller – clone command or clone.pl script .But in oracle 19c, these methods has been deprecated.  Refer below link

SEE ALSO – > Cloning Oracle Home From One Server To Another Server

 

SOURCE DB SERVER           – >   SRCDB
TARGET DB SERVER           ->.  TRGDB
SOURCE ORACLE_HOME  – >  /u01/app/oracle/product/19.3.0/dbhome_1
TARGET ORACLE_HOME   ->.  /oracle/app/oracle/product/19.3.0/dbhome_1. ( make sure the this path is created before proceeding with the activity ) 

1. check oracle_home details [ SOURCE DB SERVER ]


oracle@SRCDB$ echo $ORACLE_HOME
/u01/app/oracle/product/19.3.0/dbhome_1



oracle@SRCDB$  /u01/app/oracle/product/19.3.0/dbhome_1/runInstaller -createGoldImage -destinationLocation /oradbtrace -silent



Launching Oracle Database Setup Wizard...




Successfully Setup Software.
Gold Image location: /oradbtrace/db_home_2021-04-06_01-33-46PM.zip


2. Copy the zip file to target db server:



oracle@SRCDB:~$ scp /oradbtrace/db_home_2021-04-06_01-33-46PM.zip oracle@TRGDB:/oracle/app/oracle/product/19.9.0.0/dbhome_1/


Password:
db_home_2021-04-06_01-33-46PM.zip 100% 6644MB 51.1MB/s 02:10

 

3. Unzip the zip file on target db server[ TARGET DB ]

TRGDB $ export ORACLE_HOME=/oracle/app/oracle/product/19.9.0.0/dbhome_1/
TRGDB $ cd $ORACLE_HOME
TRGDB $ unzip db_home_2021-04-06_01-33-46PM.zip

4. Run the runinstaller to install oracle binary: [ GUI METHOD]

TRGDB $ export ORACLE_HOME=/oracle/app/oracle/product/19.9.0.0/dbhome_1/
TRGDB $ cd $ORACLE_HOME
TRGDB $ ./runInstaller

 

 

 

 

 

 

 

 

 

 

 

 

Now installation is completed.