Oracle dataguard報錯:Error 1017 received logging on to the standby
1,狀態描述:
SQL> SELECT MESSAGE FROM V$DATAGUARD_STATUS;
MESSAGE
--------------------------------------------------------------------------------
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
MESSAGE
--------------------------------------------------------------------------------
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCi: Becoming the 'no FAL' ARCH
ARC1: Becoming the heartbeat ARCH
Error 1017 received logging on to the standby
MESSAGE
--------------------------------------------------------------------------------
FAL[client, ARC2]: Error 16191 connecting to PD for fetching gap sequence
ARCj: Archival started
Attempt to start background Managed Standby Recovery process
MRP0: Background Managed Standby Recovery process started
Managed Standby Recovery not using Real Time Apply
Media Recovery Waiting for thread 1 sequence 28870
28 rows selected.
SQL>
2,解決方案:將主庫的密碼檔案 copy到備份庫,然後重啟備份庫,解決。
參考文章地址:http://blog.itpub.net/26230597/viewspace-1224676/
3,恢復過程:
再啟動從庫
STARTUP MOUNT;
再應用redo應用
alter database recover managed standby database disconnect from session;
檢視是否有yes
select name,sequence#,applied from v$archived_log;
再去主庫上切換下日誌,看下新的24178歸檔日誌是否傳輸過來,是否應用成YES:
alter system switch logfile;
SQL> alter system switch logfile;
System altered.
SQL>
去從庫上面執行檢查
SQL> select sequence#,applied from v$archived_log;
SEQUENCE# APPLIED
---------- ---------
24170 YES
24169 YES
24173 YES
24176 YES
24177 YES
24178 IN-MEMORY
2800 rows selected.
再繼續檢查check下,applied就變成YES了
SEQUENCE# APPLIED
---------- ---------
24170 YES
24169 YES
24173 YES
24176 YES
24177 YES
24178 YES
2800 rows selected.
停止redo應用
alter database recover managed standby database cancel;
再開啟open模式,將從庫開啟供大家查詢資料
alter database open read only;
再起動redo應用
alter database recover managed standby database disconnect from session;
----------------------------------------------------------------------------------------------------------------
<版權所有,文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任!>
原部落格地址: http://blog.itpub.net/26230597/viewspace-1413077/
原作者:黃杉 (mchdba)
----------------------------------------------------------------------------------------------------------------
SQL> SELECT MESSAGE FROM V$DATAGUARD_STATUS;
MESSAGE
--------------------------------------------------------------------------------
ARC0: Archival started
ARC1: Archival started
ARC2: Archival started
ARC3: Archival started
ARC4: Archival started
ARC5: Archival started
ARC6: Archival started
ARC7: Archival started
ARC8: Archival started
ARC9: Archival started
ARCa: Archival started
MESSAGE
--------------------------------------------------------------------------------
ARCb: Archival started
ARCc: Archival started
ARCd: Archival started
ARCe: Archival started
ARCf: Archival started
ARCg: Archival started
ARCh: Archival started
ARCi: Archival started
ARCi: Becoming the 'no FAL' ARCH
ARC1: Becoming the heartbeat ARCH
Error 1017 received logging on to the standby
MESSAGE
--------------------------------------------------------------------------------
FAL[client, ARC2]: Error 16191 connecting to PD for fetching gap sequence
ARCj: Archival started
Attempt to start background Managed Standby Recovery process
MRP0: Background Managed Standby Recovery process started
Managed Standby Recovery not using Real Time Apply
Media Recovery Waiting for thread 1 sequence 28870
28 rows selected.
SQL>
2,解決方案:將主庫的密碼檔案 copy到備份庫,然後重啟備份庫,解決。
參考文章地址:http://blog.itpub.net/26230597/viewspace-1224676/
3,恢復過程:
再啟動從庫
STARTUP MOUNT;
再應用redo應用
alter database recover managed standby database disconnect from session;
檢視是否有yes
select name,sequence#,applied from v$archived_log;
再去主庫上切換下日誌,看下新的24178歸檔日誌是否傳輸過來,是否應用成YES:
alter system switch logfile;
SQL> alter system switch logfile;
System altered.
SQL>
去從庫上面執行檢查
SQL> select sequence#,applied from v$archived_log;
SEQUENCE# APPLIED
---------- ---------
24170 YES
24169 YES
24173 YES
24176 YES
24177 YES
24178 IN-MEMORY
2800 rows selected.
再繼續檢查check下,applied就變成YES了
SEQUENCE# APPLIED
---------- ---------
24170 YES
24169 YES
24173 YES
24176 YES
24177 YES
24178 YES
2800 rows selected.
停止redo應用
alter database recover managed standby database cancel;
再開啟open模式,將從庫開啟供大家查詢資料
alter database open read only;
再起動redo應用
alter database recover managed standby database disconnect from session;
----------------------------------------------------------------------------------------------------------------
<版權所有,文章允許轉載,但必須以連結方式註明源地址,否則追究法律責任!>
原部落格地址: http://blog.itpub.net/26230597/viewspace-1413077/
原作者:黃杉 (mchdba)
----------------------------------------------------------------------------------------------------------------
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/31520497/viewspace-2156782/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 主庫到standby報錯解決:Error 12154 received logging on to the standby ORA-12154Error
- 主庫報 Error 12154 received logging on to the standby PING[ARC2]Error
- Oracle DataGuard Standby database ID mismatch錯誤OracleDatabase
- oracle 之dataguard standby 切換Oracle
- Oracle 9I dataguard(standby)Oracle
- Oracle 11g DataGuard增加standby日誌組報錯"ORA-01156: recovery or flashback"Oracle
- Oracle安裝報錯syntax errorOracleError
- 【DataGuard】Oracle 11g physical standby switchoverOracle
- 【DataGuard】Oracle 11g DataGuard 新特性之 Snapshot Standby DatabaseOracleDatabase
- Dataguard Standby備份報錯RMAN-06820 ORA-17629解決
- oracle 12c 支援級聯 standby dataguardOracle
- ORACLE10g DataGuard 配置Physical Standby DatabaseOracleDatabase
- [轉帖]Oracle9i Standby (Dataguard) 建立Oracle
- DataGuard:Physical Standby Switchover
- Oracle Dataguard Standby Redo Log的兩個實驗Oracle
- oracle10g 物理standby dataguard 建立過程Oracle
- DataGuard搭建物理StandBy
- DataGuard搭建邏輯StandBy
- Dataguard(Standby) 後臺程式
- DataGuard:Physical Standby FailoverAI
- DataGuard:Logical Standby Switchover
- 配置 Oracle 10g RAC primary + RAC physical standby dataguardOracle 10g
- 【DataGuard】不能沒有你,我的Standby ——Oracle DataGuard最大保護模式 故障實驗Oracle模式
- DataGuard:Logical Standby FailoverAI
- Oracle 11g Data Guard (physical standby - active dataguard) [final]Oracle
- vipca報錯 Error 0PCAError
- 【DataGuard】Oracle 11g DataGuard 新特性之 Active Standby:Real-Time Apply+QueryOracleAPP
- MySQL報錯Slave: received end packet from server, apparent master shutdownMySqlServerAPPAST
- oracle實驗記錄 (oracle 10G dataguard(11)建立logical standby)Oracle
- oracle dataguard 配置錯誤彙總Oracle
- dataguard 搭建 oracle_sid不同 2節點 primary+standbyOracle
- dataguard 搭建 oracle_sid相同 2節點 primary+standbyOracle
- ORACLE 11G DataGuard Failover後如何修復standby庫OracleAI
- Oracle11g R2之Dataguard搭建物理standbyOracle
- 附錄A Oracle Dataguard 物理Standby跨平臺組合支援列表Oracle
- oracle dataguard standby log_archive_dest_state_n 中defer 含義OracleHive
- ERROR 1045 (28000): ProxySQL Error: 報錯ErrorSQL
- Dataguard物理Standby Switchover 角色轉換