aix下11gR1下raw racdb搭建asm active dataguard時要注意
直接透過duplicate target database for standby from active database
是搭建不成功的。
直接透過duplicate target database for standby from active database
錯誤如下:
.......此處省略n行
executing command: SET NEWNAME
Starting backup at 12-OCT-12
using channel ORA_DISK_1
channel ORA_DISK_1: starting datafile copy
input datafile file number=00011 name=/dev/rtbs_big1
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 10/12/2012 20:35:
16
ORA-19504: failed to create file "+DATA/rtbs_big1"
channel ORA_DISK_1 disabled, job failed on it will be run on another channel
RMAN-00571: ===========================================================
RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS ===============
RMAN-00571: ===========================================================
RMAN-03002: failure of Duplicate Db command at 10/12/2012 20:35:16
RMAN-03015: error occurred in stored script Memory Script
RMAN-03009: failure of backup command on ORA_DISK_1 channel at 10/12/2012 20:35:
16
ORA-19504: failed to create file "+DATA/rtbs_big1"
RMAN>
控制檔案可以restore,standby db也可以mount上,但是在恢復datafile時報錯,找不到原因,感覺和raw device有關,最後還是透過常規辦法:
先備份了db,然後把備份片複製到standby機器上執行:alter database recover managed standby database dorecover成功了。搭建之後dg也是可以active的:
SQL> startup
ORACLE instance started.
Total System Global Area 8551575552 bytes
Fixed Size 2139912 bytes
Variable Size 6308235512 bytes
Database Buffers 2214592512 bytes
Redo Buffers 26607616 bytes
Database mounted.
Database opened.
SQL> alter database recover managed standby database using current logfile disco
nnect ;
Database altered.
SQL>
SQL>
在open下資料可以過來,dg的這一特性確實不錯。
SQL> select * from t;
ID
----------
1
SQL> select status,open_mode,database_role from v$database,v$instance;
STATUS OPEN_MODE DATABASE_ROLE
------------ ---------- ----------------
OPEN READ ONLY PHYSICAL STANDBY
在11gR1下只能看到read only,不能看到11gR2下的•READ ONLY WITH APPLY - A physical standby database is open in real-time query mode
10g的時侯在standby機器上口令檔案我接的直接建立就可以,11gR1下口令檔案需要幾臺機器都統一,否則日誌不能傳到standby上,在那臺機器做的備份,把這臺機器的口令檔案複製到rac的其它節點上重新命名,同時也要複製到standby機器上,也就是所有的口令檔案只能使用這一個了。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/19602/viewspace-1059595/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- AIX下使用ASMAIASM
- RAC環境下dataguard的搭建
- linux下如何使用raw device來建立管理asm diskLinuxdevASM
- Oracle11g RAC (ASM) 及Active Dataguard開啟與關閉 [final]OracleASM
- 11g Active DataGuard初探
- Oracle 11g Active DataguardOracle
- AIX平臺下磁碟的PVID對ASM磁碟的破壞AIASM
- 搭建dataguard時,錯誤處理
- Oracle ASM Active Change DirectoryOracleASM
- Oracle11gR2下搭建DataGuard主備同步詳解Oracle
- 虛擬機器下搭建Linux Oracle10g DataGuard虛擬機LinuxOracle
- RAC+ASM+DATAGUARDASM
- 主庫RAC,備庫單節點ASM的dataguard搭建ASM
- Oracle11gR2 Active DataGuardOracle
- 11g新特性--active dataguard
- asm-windows下安裝asmASMWindows
- windows下建立asmWindowsASM
- Solaris下配置ASMASM
- RAC 下做Active 和standby 模式模式
- 【AIX】AIX 下磁碟 I/O 效能分析AI
- Oracle10g RAC環境下DataGuard備庫搭建例項Oracle
- Debian下配置Oracle DataGuardOracle
- Oracle active dataguard ORA-01555Oracle
- lsof for aix下載地址AI
- aix 下nfs solaris mountAINFS
- DataGuard搭建
- oracle11g dataguard完全手冊--failover &active dataguard(完)OracleAI
- linux下raw與基於lvm的raw的用法LinuxLVM
- Oracle10g RAC環境下DataGuard備庫搭建例項-eygleOracle
- (轉)RAC 下做Active 和standby 模式模式
- ASM下遷移spfileASM
- ASM下更換磁碟ASM
- linux下ASM配置LinuxASM
- ASM using ASMLib and Raw DevicesASMdev
- Oracle 11g Active Dataguard Switchover實驗Oracle
- 【DataGuard】11g 新特性:Active Data Guard
- 【AIX】AIX系統下檢視磁碟陣列AI陣列
- aix下hacmp解除安裝AIACM