=========================================================================
Cloning of the Oracle Home
=========================================================================
>>>Here I am Going to clone oracle home on standalone database server .
The oracle clone functionality seems to be one of the best kept secrets around - its incredibly easy to use, saves hours of installation times. Makes all software installs the same. There doesn't seem to be a downside!
Get an existing home you know works, tar/zip it up and copy this to another host /New server
untar it ( "on target server anywhere you like - does not have to be same directory structure as source" )
So here goes:
Step -1
First up we tar up an existing GI install that we know works ok (it doesn't need to be stopped)
tar -cvf /tmp/ORACLE_HOME.tar /Oracle/Ora12c/Sw/
Step -2
untar the tar file on target server
tar -xvf /oracle/product/12.1.0/ORACLE_HOME.tar
Step -3
cd to new ORACLE_HOME/clone/bin
Note :- in my case new location on target server
cd /u01/Oracle/Ora12c/Sw/clone/bin
Step -4 Run the below following :
[oracle@farukh01 bin]$ ./clone.pl ORACLE_HOME=/u01/Oracle/Ora12c/Sw/ ORACLE_HOME_NAME=ORA12c ORACLE_BASE=/u01/Oracle/Ora12c/
Starting Oracle Universal Installer...
Checking Temp space: must be greater than 500 MB. Actual 5065 MB Passed
Checking swap space: must be greater than 500 MB. Actual 65219 MB Passed
Preparing to launch Oracle Universal Installer from /tmp/OraInstall2021-12-29_01-36-06PM. Please wait ...You can find the log of this install session at:
/u01/app/oraInventory/logs/cloneActions2021-12-29_01-36-06PM.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 ORA12c was successful.
Please check '/u01/app/oraInventory/logs/cloneActions2021-12-29_01-36-06PM.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. /u01/Oracle/Ora12c/Sw//root.sh
.................................................. 100% Done.
Step 5
As a root user, execute the following script(s):
1. /u01/Oracle/Ora12c/Sw//root.sh
[root@farukh01 oracle]# /u01/Oracle/Ora12c/Sw//root.sh
Check /u01/Oracle/Ora12c/Sw//install/root_farukh01_2021-12-29_13-38-36-543740549.log for the output of root script
[root@farukh01 oracle]# more /u01/Oracle/Ora12c/Sw//install/root_farukh01_2021-12-29_13-38-36-543740549.log
Performing root user operation.
The following environment variables are set as:
ORACLE_OWNER= oracle
ORACLE_HOME= /u01/Oracle/Ora12c/Sw/
Copying dbhome to /usr/local/bin ...
Copying oraenv to /usr/local/bin ...
Copying coraenv to /usr/local/bin ...
Entries will be added to the /etc/oratab file as needed by
Database Configuration Assistant when a database is created
Finished running generic part of root script.
Now product-specific root actions will be performed.
Oracle Trace File Analyzer (TFA) is available at : /u01/Oracle/Ora12c/Sw//suptools/tfa/release/tfa_home/bin/tfactl
[root@farukh01 oracle]#
Thank you to All ....
Thank you for giving your valuable time to read the above information.
No comments:
Post a Comment