Few Important steps of Oracle Database Clone

 Make Sure oraInst.loc location is correct and accessble.

[demantra@dsiddem ~]$ cat /etc/oraInst.loc

inventory_loc=/orastage/oraInventory

inst_group=dba

[demantra@dsiddem ~]$ cd /orastage/oraInventory

[demantra@dsiddem oraInventory]$ ls -ltr

total 16

drwxrwx---. 5 demantra dba 4096 Jul 22 19:37 backup

drwxrwx---. 2 demantra dba 4096 Jul 22 19:37 ContentsXML

drwxrwx---. 2 demantra dba 4096 Jul 22 19:37 locks

drwxrwx---. 3 demantra dba 4096 Jul 23 10:08 logs

Remove Oracle Home from Inventory

[demantra@dsiddem oraInventory]$ cd $ORACLE_HOME/oui/bin
[demantra@dsiddem bin]$ ./runInstaller -detachHome ORACLE_HOME=$ORACLE_HOME
Starting Oracle Universal Installer...

Checking swap space: must be greater than 500 MB.   Actual 3039 MB    Passed
The inventory pointer is located at /etc/oraInst.loc

Run Clone.pl


[demantra@dsiddem bin]$ echo $ORACLE_HOME
/dnbsid/demantra/oracle/19.0.0
[demantra@dsiddem bin]$ echo $ORACLE_BASE
/dnbsid/demantra
[demantra@dsiddem bin]$ E01=ORACLE_HOME=$ORACLE_HOME
[demantra@dsiddem bin]$ E02=ORACLE_HOME_NAME=Ora19c_orcl1
[demantra@dsiddem bin]$ E03=ORACLE_BASE=$ORACLE_BASE
[demantra@dsiddem bin]$ perl $ORACLE_HOME/clone/bin/clone.pl $E01 $E02 $E03


[INFO] [INS-32183] Use of clone.pl is deprecated in this release. Clone operation is equivalent to performing a Software Only installation from the image.
You must use /dnbsid/demantra/oracle/19.0.0/runInstaller script available to perform the Software Only install. For more details on image based installation, refer to help documentation.

Starting Oracle Universal Installer...

You can find the log of this install session at:
 /orastage/oraInventory/logs/cloneActions2023-07-23_10-29-25AM.log
..................................................   5% Done.
..................................................   10% Done.
..................................................   15% Done.
..................................................   20% Done.
..................................................   25% Done.
..................................................   30% Done.
..................................................   35% Done.
..................................................   40% Done.
..................................................   45% Done.
..................................................   50% Done.
..................................................   55% Done.
..................................................   60% Done.
..................................................   65% Done.
..................................................   70% Done.
..................................................   75% Done.
..................................................   80% Done.
..................................................   85% Done.
..........
Copy files in progress.

Copy files successful.

Link binaries in progress.
..........
Link binaries successful.

Setup files in progress.
..........
Setup files successful.

Setup Inventory in progress.

Setup Inventory successful.
..........
Finish Setup successful.
The cloning of Ora19c_orcl1 was successful.
Please check '/orastage/oraInventory/logs/cloneActions2023-07-23_10-29-25AM.log' for more details.

Setup Oracle Base in progress.

Setup Oracle Base successful.
..................................................   95% Done.

As a root user, execute the following script(s):
        1. /dnbsid/demantra/oracle/19.0.0/root.sh



..................................................   100% Done.
[demantra@dsiddem bin]$ su - root
Password:
Last login: Sat Jul 22 13:20:08 IST 2023 from 192.168.1.32 on pts/2
[root@dsiddem ~]# sh /dnbsid/demantra/oracle/19.0.0/root.sh
Check /dnbsid/demantra/oracle/19.0.0/install/root_dsiddem.appsol.com_2023-07-23_10-32-20-724362127.log for the output of root script

RAC node will have additional parameter.




Comments

Popular posts from this blog

How to fix Oracle SQL Developer connection issue "Got minus one from a read call"

How to autopopulate user_guid in fnd_user table ( EBS Blank Page)