Oracle installation: Oracle Binary Cloning
Clone the oracle software between two server.
Please check the OS compatibility are same between source & destination server.
Source Server:
****************
steps 1:
ORACLE_HOME: /apps/oracle/product/10.2.0.1
Tar the oracle home 10.2.0.1
$cd /apps/oracle/product
$tar -cvf 10.2.0.1.tar 10.2.0.1
Destination server:
******************
Steps 2:
Copy the oracle binary tar file from source server to Destination server.
$mkdir -p /apps/oracle/product
$cd /apps/oracle/product
$sftp oracle@source
$cd /apps/oracle/product
$get 10.2.0.1.tar
$bye
$tar -cvf 10.2.0.1.tar
Steps 3:
Create the oratab file in appropriate path.
Enter the detail first in oratab: Eg..
Cat Oratab
cd /var/opt/oracle/oratab
testdb:/apps/oracle/product/10.2.0.1:N
Steps 4:
Invoke the oraenv ( Optional method)
I need to create the testdb instance in dest server.
cd $ORACLE_HOME/bin
export ORACLE_HOME=/apps/oracle/product/10.2.0.1
Source the SID ----- Here it is testdb
. oraenv
testdb
Steps 5:
Create the oraInst.loc in appropriate path.
Edit the oraInst.loc
/var/opt/oracle/oraInst.loc
inventory_loc=/apps/oracle/product/10.2.0.1/oraInventory
Steps 6:
./runInstaller -clone -silent -ignoreSysPrereqs ORACLE_HOME="/apps/oracle/product/10.2.0.1" ORACLE_HOME_NAME="OHOME10"
Steps 7:
Execute the relink all
$Cd $ORACLE_HOME/bin
$ls -lart relink*
$relink all
Note:
changePerm.sh is a script that allows users that do not belong to the "dba" group to access and execute files in the ORACLE_HOME directory.
you need to run the changeperm.sh file in $ORACLE_HOME/install
I Hope this article helped to you. Suggestions are welcome.
Regards
Rajabaskar Thangaraj
WWW.dbarajabaskar.blogspot.com
Binary Cloning 安装ORACLE
最新推荐文章于 2024-08-24 23:33:05 发布