DBA Hub

📋Steps in this guide1/4

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

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

oracle clusteringintermediate
by OracleDba
13 views
1

Overview

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 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 )
2

Section 2

1. check oracle_home details [ SOURCE DB SERVER ]
3

Section 3

2. Copy the zip file to target db server: 3. Unzip the zip file on target db server[ TARGET DB ]

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
oracle@SRCDB$ echo $ORACLE_HOME
/u01/app/oracle/product/19.3.0/dbhome_1



oracle@SRCDB$ <strong><span style="color: #800000;"> /u01/app/oracle/product/19.3.0/dbhome_1/runInstaller -createGoldImage -destinationLocation /oradbtrace -silent</span>
</strong>


Launching Oracle Database Setup Wizard...




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

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
4

Section 4

4. Run the runinstaller to install oracle binary: [ GUI METHOD] Now installation is completed.

Code/Command (click line numbers to comment):

1
2
3
4
5
6
7
8
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

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

Comments (0)

Please to add comments

No comments yet. Be the first to comment!