RMAN Duplicate Database From RAC ASM To RAC ASM [ID 461479.1]
RMAN Duplicate Database From RAC ASM To RAC ASM [ID 461479.1] | |||||
| |||||
修改時間 22-JUN-2011 型別 HOWTO 狀態 MODERATED |
This document is being delivered to you via Oracle Support's Rapid Visibility (RaV) process and therefore has not been subject to an independent technical review. |
Applies to:
Oracle Server - Enterprise Edition - Version: 10.1.0.2 to 10.2.0.4 - Release: 10.1 to 10.2Information in this document applies to any platform.
Goal
RMAN Duplicate Database From RAC ASM to RAC ASMSolution
Assumptions
This note assumes the following:
You are using recovery catalog database catdb
The target database trgt is on host1 and contains ASM datafiles and online logs in diskgroup +DISK1
You want to duplicate the target to database dupdb on remote host host2.
host2 has diskgroup +DISK2
You want to store the datafiles for dupdb to +DISK2
You want to store two controlfiles in +DISK2
The backups and archivelogs created by host1 are accessible by host2
Procedure
1) Create an initialization parameter for auxiliary instance by copying the target database initialization parameter file. Change the parameters as follows:
Set DB_NAME to the new database name dupdb
Set CONTROL_FILES to store two copies of the control file in +DISK2
Set DB_FILE_NAME_CONVERT and LOG_FILE_NAME_CONVERT to convert the datafile and online log file names from +DISK1 to +DISK2
Set any other initialization parameters that end in _DEST, such as DB_CREATE_FILE_DEST and DB_CREATE_ONLINE_DEST_n, to reference +DISK2
Comment all the RAC related parameters in the dupdb parameter file. We will re-enable them once the duplicate is completed.
2) For an active production RAC environment, you must use a SET UNTIL clause, otherwise the archivelogs would not have been backed up and the duplicate would fail with RMAN-06025.
To get the sequence number, you need to look at the following:
RMAN> list backup of archivelog all;
We need to determine the most recent archivelog backed up from each thread, and then take the least recent of these.
Example
Parameter file (init.ora) would include:
CONTROL_FILES=+DISK2,+DISK2
DB_FILE_NAME_CONVERT=+DISK1,+DISK2
LOG_FILE_NAME_CONVERT=+DISK1,+DISK2
Create an SPFILE from the parameter file, and start the auxiliary instance:
SQL> CONNECT ;
SQL> CREATE SPFILE FROM PFILE='location of auxiliary instance pfile';
SQL> STARTUP NOMOUNT;
Then run the following RMAN commands to duplicate the database:
RMAN> CONNECT TARGET /;
RMAN> CONNECT CATALOG rman/cat@catdb;
RMAN> CONNECT AUXILIARY SYS/oracle@dupdb;
RMAN> run {
set until sequence x thread y;
DUPLICATE TARGET DATABASE TO dupdb;
}
==> replace the sequence and thread number as appropriate
When the DUPLICATE command completes, the duplicate database is created, with datafiles, online logs and control files in ASM disk group +DISK2.
Shutdown the database and add all the RAC related parameters and then start the database.
Note:- The only difference between duplicate from RAC ASM and standalone ASM is not to perform. the last step i.e. adding of the RAC related parameters
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/23135684/viewspace-703619/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- goldengate + asm + racGoASM
- RAC+ASM+DATAGUARDASM
- RMAN Duplicate RAC to Single Instance
- 【ASM】Oracle RAC css啟動報錯"Duplicate voting file found"ASMOracleCSS
- 【RAC】asm_diskgroups 引數ASM
- RAC安裝【AIX 7 + 11.2.0.4 + ASM】AIASM
- RAC+DG(asm單例項)ASM單例
- RAC和ASM環境下打patchASM
- Oracle RAC日常運維-ASM磁碟擴容Oracle運維ASM
- Oracle RAC環境下ASM磁碟組擴容OracleASM
- 【RMAN】RMAN備份至ASMASM
- 【ASM】RAC19C因引數設定不當,asm無法啟動ASM
- HowTo Restore RMAN Disk backups of RAC Database to Single Instance On Another NoRESTDatabase
- RAC之grid叢集安裝及ASM磁碟組配置ASM
- Overview of Oracle Flex ASM In Oracle 19c RAC-20220111ViewOracleFlexASM
- ORACLE RAC 11.2.0.4 ASM加盤導致叢集重啟之ASM sga設定過小OracleASM
- Oracle RAC ASM磁碟組擴容時遇到的VIP漂移OracleASM
- 虛擬機器搭建rac ASM盤啟動失敗虛擬機ASM
- RAC節點啟動失敗--ASM無法連線ASM
- oracle RAC+DG 擴容ASM和表空間(Linux)OracleASMLinux
- ORACLE11GR2 RAC檔案系統變更成ASM EXTEND RAC及高可用測試OracleASM
- 【ASK_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(一)ASMFD簡介OracleASMFilter
- ORACLE11GR2 RAC解除安裝ASM例項步驟OracleASM
- 如何檢視Oracle RAC的asm磁碟的udev對應關係OracleASMdev
- rac壞了asm盤進不去怎麼辦?amdu來辦幫你ASM
- 通過ORACLE VM virtualbox環境安裝oracle 11G RAC(ASM)OracleASM
- 【BUILD_ORACLE】Oracle RAC配置ASM Filter Driver(ASMFD)(二)詳細配置步驟UIOracleASMFilter
- ORACLE11.2.0.4 RAC+ ASM安裝方法 (作業系統CENTOS7.6)OracleASM作業系統CentOS
- 重建共享(db或asm)密碼檔案 in Oracle 19c RAC-20220209ASM密碼Oracle
- Oracle 19c rac安裝,只能啟動一個節點的ASMOracleASM
- Converting Oracle Database from Linux to Windows using RMANOracleDatabaseLinuxWindows
- Oracle 12c 使用RMAN搭建物理備庫(RAC to RAC)Oracle
- 【ASM】ORA-27504 ORA-27300 ORA-27303 while starting ASM (Doc ID 2281441.1)ASMWhile
- DG:11.2.0.4 RAC線上duplicate恢復DG
- 12c複製 RAC ASM中的密碼檔案到檔案系統ASM密碼
- Oracle 12C Database File Mapping for Oracle ASM FilesOracleDatabaseAPPASM
- ORA-15020:discoverd duplicate ASM disk "XXX_CJCDB_OCR_0002"ASM
- 紅色警報 ORACLE RAC 11.2.0.4 FOR SOLARIS 10 ASM 和DB因叢集心跳丟失重啟OracleASM
- ORACLE RAC ASM資料檔案遷移OMF檔案報錯ORA-01276解決OracleASM