Beruflich Dokumente
Kultur Dokumente
txt
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Rac Cloning step by step
=========================:
Source:
4 nodes Oracle 11.2.0.2 on Linux 64bit
nodeA1
nodeB1
nodeC1
nodeD1
database PROD
Target:
4 nodes Oracle 11.2.0.2 on Linux 64bit
nodeA2
nodeB2
nodeC2
nodeD2
database TEST
1. On the source side, backup the full database using RMAN. Sample here is shown
using control file to disk.
run {
backup format �/u1/df_%t_%s_%p� database
include current controlfile
plus archivelog;
release channel d1;
}
2. Copy all the backupset files to one of the target nodes to the same location of
backup
*.cluster_database=false
4. On the target node create a TNSNAME alias pointing to the source database
PROD =
(DESCRIPTION =
(ADDRESS = (PROTOCOL = TCP)(node = maverick)(PORT = 1521))
(CONNECT_DATA =
(SERVER = DEDICATED)
(SERVICE_NAME = PROD)
-Each node of the cluster has its own oracle home n u01 and shared filesystem u02
and u03 and therefore needed to make the following changes enable RAC
-Shutdown database on nodeA2 and move the spfile from $ORACLE_HOME/dbs to
/u03/oradata/TEST
-This is shared storage which all the 4 nodes can access
-srvctl modify database -d TEST -o /u01/app/oracle/product/11.2.0/db_1 -p
/u03/oradata/dupdb/spfileTEST.ora
nodeA2
TEST1:/u01/app/oracle/product/11.2.0/db_1:N
nodeB2
TEST2:/u01/app/oracle/product/11.2.0/db_1:N
nodeC2
TEST3:/u01/app/oracle/product/11.2.0/db_1:N
nodeD2
TEST4:/u01/app/oracle/product/11.2.0/db_1:N
http://managingoracle.blogspot.com/2011/01/service-xdb-is-down-alert-in-grid.html
To resolve the problem if the services are not relevant delete them
http://oraexplorer.com/2007/11/rman-duplicate/
http://www.colestock.com/blogs/2007/09/how-to-duplicate-rac-database-using.html
http://www.oracleracexpert.com/2009/12/duplicate-rac-database-using-rman.html
http://surachartopun.com/2009/11/duplicate-without-connection-to-target.html