Clone database home (clone.pl) deprecated in Oracle 19c
- Get link
- X
- Other Apps
- Install Oracle binaries using GUI or command line
- Apply the latest patchset (PSU/CPU patches)
STEP 1: Create gold image zip file
Once the 19c software is installed and patched, use the below command to create the gold image zip file:
$ $ORACLE_HOME/runInstaller -silent -createGoldImage -destinationLocation <DESTINATION_DIRECTORY>
Launching Oracle Database Setup Wizard...
Successfully Setup Software.
Gold Image location: <DESTINATION_DIRECTORY>/db_home_2020-
STEP 2: Copy gold image to the target location
$ rsync -aS <DIRECTORY_OF_GOLD_IMAGE_ZIP>/db_home_2020-
STEP 3: Unzip the gold image under $ORACLE_HOME
Unzip the gold image under the ORACLE_HOME directory (/oracle/product/19.0.0):
$ cd $ORACLE_HOME
$ unzip
-d $ORACLE_HOME <DESTINATION_DIRECTORY>/db_home_2020-03-30_07-38-54AM.
STEP 4: Execute runInstaller to clone the target ORACLE_HOME
Execute runInstaller command to clone the target ORACLE_HOME. Ensure to use the runInstaller binary directly under $ORACLE_HOME.
$ ${ORACLE_HOME}/runInstaller -silent -responseFile <PATH_TO_RESPONSE_FILE>
$ ${ORACLE_HOME}/runInstaller -silent -responseFile install.rsp
RESPONSE FILE CONTENTS:
$ cat install.rsp
oracle.install.
oracle.install.option=INSTALL_
UNIX_GROUP_NAME=dba
INVENTORY_LOCATION=<ACTUAL_INVENTORY_LOCATION>
ORACLE_HOME=<ACTUAL_ORACLE_HOME_LOCATION>
ORACLE_BASE=<ACTUAL_ORACLE_BASE_LOCATION>
oracle.install.db.
oracle.install.db.OSDBA_GROUP=dba
oracle.install.db.OSOPER_
oracle.install.db.OSBACKUPDBA_
oracle.install.db.OSDGDBA_
oracle.install.db.OSKMDBA_
- 19.x:Clone.pl script is deprecated and how to clone using gold-image (Doc ID 2565006.1) -
https://support.oracle.com/
epmos/faces/DocumentDisplay?_ afrLoop=252857563164733&id= 2565006.1&displayIndex=1&_ afrWindowMode=0&_adf.ctrl- state=9nwr2zyml_72#GOAL
- Get link
- X
- Other Apps
Comments