Cloning(runInstaller -createGoldImage) new oracle home with goldimage - 19c


Go to existing oracle home (A new oracle home can be created with latest RU patch applied so that gold image has latest RU)

./runInstaller -createGoldImage -destinationLocation /home/oracle

This will start wizard and complete the image creation automatically. Wizard  will show the status

This will create image in a zipped format in the /home/oracle directory

ex:     /home/oracle/19_hm_2/db_home_2021-09-14_11-42-14AM.zip



extract the newly created image.zip file in the target location to create a new oracle home

cd /home/oracle

mkdir 19_hm_2

cd 19_hm_2

unzip  /home/oracle/19_hm_2/db_home_2021-09-14_11-42-14AM.zip

pwd

/home/oracle/19_hm_2



then run the runInstaller from the newly extracted home (target home)



./runInstaller -silent -debug -force oracle.install.option=INSTALL_DB_SWONLY UNIX_GROUP_NAME=dba ORACLE_HOME=/home/oracle/19_hm_2 ORACLE_BASE=/u01/app/oracle oracle.install.db.InstallEdition=EE oracle.install.db.DBA_GROUP=dba oracle.install.db.OPER_GROUP=dba oracle.install.db.OSBACKUPDBA_GROUP=dba oracle.install.db.OSDGDBA_GROUP=dba oracle.install.db.OSKMDBA_GROUP=dba oracle.install.db.OSRACDBA_GROUP=dba DECLINE_SECURITY_UPDATES=true


this will install new oracle home and register in the central inventory

Verify the central inventory for registration

Note: $NEW_ORACHE_HOME/root.sh script needs to be executed as root user at the end up on successful completion of above command

If previous home needs to be detached from inventory the detachHome.sh /home/oracle/19_hm_2/oui/bin can be used.


Ref: 2565006.1

Comments

Popular posts from this blog

Error processing request - Contact your application administrator apex 20.1

APP-FND-01436: List of Values cannot find any values for you to choose error from concurrent request program parameter (R12 12.1.3)

WEB ADI - issues encountered during initial access