Oracle Binary Cloning
[@more@]
Source Server:
****************
steps 1:
ORACLE_HOME: /JASUATDB01//oracle/product/10.2.0.1
Tar the oracle home 10.2.0.1
$cd /JASUATDB01//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 /JASUATDB01//oracle/product
$cd /JASUATDB01//oracle/product
$sftp oracle@source
$cd /JASUATDB01//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:/JASUATDB01//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=/JASUATDB01//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=/JASUATDB01//oracle/product/10.2.0.1/oraInventory
Steps 6:
cd $ORACLE_HOME/oui/bin
edit *.sh(modify ORACLE_HOME if needed, i.e.: replace ECDSUAT to ECDSPRD)
# ORACLE_HOME_NAME should be diff in source/target in the same machine
./runInstaller -clone -silent -invPtrLoc /home/oracle/oraInst.loc -ignoreSysPrereqs ORACLE_HOME="/ECDSPRDDB01/oracle/product/10.2.0" 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; run the changeperm.sh file in $ORACLE_HOME/install
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/60325/viewspace-1038116/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Cloning An Oracle Database on Windows NT/2000OracleDatabaseWindows
- Oracle 之 Cloning $oracle_home (克隆安裝oracle軟體)Oracle
- oracle plsql(一)_binary_float_binary_doubleOracleSQL
- Oracle Appliactions 11i concepts(六) - Cloning(1)OracleAPP
- Oracle Executable Binary Mismatch DetectedOracle
- Two errors after cloning eBSError
- WARNING: Oracle executable binary mismatch detectedOracle
- Not Able To Open Forms Session After Cloning.ORMSession
- oracle 進位制轉換 HEX/DECIMAL/OCTAL/BINARYOracleDecimal
- How to Check and Enable/Disable Oracle Binary Options (文件 ID 948061.1)Oracle
- SRVCTL CHANGING GROUP OWNERSHIP FROM OINSTALL TO ASMADMIN FOR ORACLE BINARYASMOracle
- 筆記本+Vmware+USB 硬碟+EBS 11i Cloning筆記硬碟
- Convert string to binary and binary to string in C#C#
- MySQL Binary LogMySql
- SIRF binary protocolProtocol
- Binary Colouring
- 筆記本+Vmware+USB 硬碟+EBS 11i Cloning 成功..筆記硬碟
- oracle plsql_table of_index by binary_integer_for loop_批量賦值OracleSQLIndexOOP賦值
- Mysql Binary Log (1)MySql
- Mysql Binary Log (2)MySql
- B. Quasi Binary
- Convert DataFrame string complex i to j python // “Cloning” row or column vectorsPython
- 【Jenkins】data stream error|Error cloning remote repo ‘origin‘ 錯誤解決JenkinsErrorREM
- 【PL/SQL】IEEE浮點型別BINARY_FLOAT和BINARY_DOUBLESQL型別
- go Exercise: Equivalent Binary TreesGoUI
- the master's binary log is corruptedAST
- ACM Same binary weightACM
- Four-bit binary counter
- Leetcode Binary Tree PathsLeetCode
- 173. Binary Search Tree Iterator
- LeetCode Invert Binary TreeLeetCode
- mysql的binary-log操作MySql
- ACM Binary String MatchingACM
- Leetcode Add BinaryLeetCode
- Leetcode Balanced Binary TreeLeetCode
- MySQL binary 區分大小寫MySql
- B. Nezzar and Binary String
- WIN7下執行hadoop程式報:Failed to locate the winutils binary in the hadoop binary pathWin7HadoopAI