RAC網路中斷後自動恢復過程日誌ORA-16198: ORA-16198:
在備庫dg2上停掉網路。此時主庫日誌中有出錯提示。將備庫網路恢復正常,過幾分鐘,ORACLE自動恢復歸檔的傳遞。
[oracle@dg1 ~]$ sqlplus / as sysdba
SYS@dg1>alter system switch logfile;
System altered.
SYS@dg1>alter system switch logfile;
System altered.
SYS@dg1>exit
日誌:
[oracle@dg1 ~]$ cat alert_dg.log
Sun Aug 04 19:19:21 2013
ORA-16198: LGWR received timedout error from KSR
LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16198)
LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
Errors in file /u01/diag/rdbms/dg1/dg/trace/dg_lgwr_2852.trc:
ORA-16198: Timeout incurred on internal channel during remote archival
Error 16198 for archive log file 1 to 'dg2'
Destination LOG_ARCHIVE_DEST_2 is UNSYNCHRONIZED
LGWR: Failed to archive log 1 thread 1 sequence 127 (16198)
Thread 1 advanced to log sequence 128 (LGWR switch)
Current log# 2 seq# 128 mem# 0: /u01/oradata/dg/redo02.log
Sun Aug 04 19:19:26 2013
Archived Log entry 245 added for thread 1 sequence 127 ID 0x6776473b dest 1:
Thread 1 advanced to log sequence 129 (LGWR switch)
Current log# 3 seq# 129 mem# 0: /u01/oradata/dg/redo03.log
Sun Aug 04 19:19:30 2013
Archived Log entry 246 added for thread 1 sequence 128 ID 0x6776473b dest 1:
備庫網路恢復後:
SYS@dg1>select sequence#,status,thread#,block# from v$managed_standby;
SEQUENCE# STATUS THREAD# BLOCK#
---------- ------------ ---------- ----------
129 CLOSING 1 1
128 CLOSING 1 1
0 CONNECTED 0 0
130 CLOSING 1 1
131 WRITING 1 140
SYS@dg2>select sequence#,status,thread#,block# from v$managed_standby;
SEQUENCE# STATUS THREAD# BLOCK#
---------- ------------ ---------- ----------
130 CLOSING 1 1
126 CLOSING 1 1
0 CONNECTED 0 0
129 CLOSING 1 1
0 IDLE 0 0
0 IDLE 0 0
0 IDLE 0 0
131 IDLE 1 14
131 APPLYING_LOG 1 14
主庫日誌:
[oracle@dg1 ~]$ cat alert_dg.log
Sun Aug 04 19:25:04 2013
ARC3: Standby redo logfile selected for thread 1 sequence 127 for destination LOG_ARCHIVE_DEST_2
Sun Aug 04 19:25:05 2013
NSS2 started with pid=29, OS id=3373
Sun Aug 04 19:25:08 2013
LGWR: Standby redo logfile selected to archive thread 1 sequence 130
LGWR: Standby redo logfile selected for thread 1 sequence 130 for destination LOG_ARCHIVE_DEST_2
Thread 1 advanced to log sequence 130 (LGWR switch)
Current log# 1 seq# 130 mem# 0: /u01/oradata/dg/redo01.log
Archived Log entry 249 added for thread 1 sequence 129 ID 0x6776473b dest 1:
Sun Aug 04 19:25:08 2013
ARC0: Standby redo logfile selected for thread 1 sequence 129 for destination LOG_ARCHIVE_DEST_2
Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
LGWR: Standby redo logfile selected to archive thread 1 sequence 131
LGWR: Standby redo logfile selected for thread 1 sequence 131 for destination LOG_ARCHIVE_DEST_2
Thread 1 advanced to log sequence 131 (LGWR switch)
Current log# 2 seq# 131 mem# 0: /u01/oradata/dg/redo02.log
Archived Log entry 252 added for thread 1 sequence 130 ID 0x6776473b dest 1:
備庫日誌:
[oracle@dg2 ~]$ cat alert_dg.log
Sun Aug 04 19:22:20 2013
db_recovery_file_dest_size of 3852 MB is 3.07% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Sun Aug 04 19:25:02 2013
RFS[5]: Assigned to RFS process 3584
RFS[5]: Identified database type as 'physical standby': Client is ARCH pid 2936
krsv_proc_kill: Killing 1 processes (idle RFS by thread/sequence)
Sun Aug 04 19:25:04 2013
RFS[6]: Assigned to RFS process 3588
RFS[6]: Identified database type as 'physical standby': Client is ARCH pid 2928
Sun Aug 04 19:25:04 2013
RFS[7]: Assigned to RFS process 3590
RFS[7]: Identified database type as 'physical standby': Client is ARCH pid 2940
RFS[6]: Opened log for thread 1 sequence 128 dbid 1735160627 branch 821829622
Archived Log entry 134 added for thread 1 sequence 128 rlc 821829622 ID 0x6776473b dest 2:
RFS[7]: Selected log 4 for thread 1 sequence 127 dbid 1735160627 branch 821829622
Sun Aug 04 19:25:04 2013
Media Recovery Log /u01/archivelog/arc_1_128_821829622.arc
Media Recovery Waiting for thread 1 sequence 129
Sun Aug 04 19:25:04 2013
Archived Log entry 135 added for thread 1 sequence 127 ID 0x6776473b dest 1:
Sun Aug 04 19:25:08 2013
RFS[8]: Assigned to RFS process 3597
RFS[8]: Identified database type as 'physical standby': Client is LGWR SYNC pid 2852
Primary database is in MAXIMUM AVAILABILITY mode
Changing standby controlfile to RESYNCHRONIZATION level
Standby controlfile consistent with primary
RFS[8]: Selected log 4 for thread 1 sequence 130 dbid 1735160627 branch 821829622
RFS[6]: Selected log 5 for thread 1 sequence 129 dbid 1735160627 branch 821829622
Sun Aug 04 19:25:08 2013
Archived Log entry 136 added for thread 1 sequence 129 ID 0x6776473b dest 1:
Media Recovery Log /u01/archivelog/arc_1_129_821829622.arc
Media Recovery Waiting for thread 1 sequence 130 (in transit)
Recovery of Online Redo Log: Thread 1 Group 4 Seq 130 Reading mem 0
Mem# 0: /u01/oradata/dg/standbyredo04.log
Archived Log entry 137 added for thread 1 sequence 130 ID 0x6776473b dest 1:
Changing standby controlfile to MAXIMUM AVAILABILITY level
Media Recovery Waiting for thread 1 sequence 131 (in transit)
RFS[8]: Selected log 4 for thread 1 sequence 131 dbid 1735160627 branch 821829622
Recovery of Online Redo Log: Thread 1 Group 4 Seq 131 Reading mem 0
Mem# 0: /u01/oradata/dg/standbyredo04.log
[oracle@dg1 ~]$ sqlplus / as sysdba
SYS@dg1>alter system switch logfile;
System altered.
SYS@dg1>alter system switch logfile;
System altered.
SYS@dg1>exit
日誌:
[oracle@dg1 ~]$ cat alert_dg.log
Sun Aug 04 19:19:21 2013
ORA-16198: LGWR received timedout error from KSR
LGWR: Attempting destination LOG_ARCHIVE_DEST_2 network reconnect (16198)
LGWR: Destination LOG_ARCHIVE_DEST_2 network reconnect abandoned
Errors in file /u01/diag/rdbms/dg1/dg/trace/dg_lgwr_2852.trc:
ORA-16198: Timeout incurred on internal channel during remote archival
Error 16198 for archive log file 1 to 'dg2'
Destination LOG_ARCHIVE_DEST_2 is UNSYNCHRONIZED
LGWR: Failed to archive log 1 thread 1 sequence 127 (16198)
Thread 1 advanced to log sequence 128 (LGWR switch)
Current log# 2 seq# 128 mem# 0: /u01/oradata/dg/redo02.log
Sun Aug 04 19:19:26 2013
Archived Log entry 245 added for thread 1 sequence 127 ID 0x6776473b dest 1:
Thread 1 advanced to log sequence 129 (LGWR switch)
Current log# 3 seq# 129 mem# 0: /u01/oradata/dg/redo03.log
Sun Aug 04 19:19:30 2013
Archived Log entry 246 added for thread 1 sequence 128 ID 0x6776473b dest 1:
備庫網路恢復後:
SYS@dg1>select sequence#,status,thread#,block# from v$managed_standby;
SEQUENCE# STATUS THREAD# BLOCK#
---------- ------------ ---------- ----------
129 CLOSING 1 1
128 CLOSING 1 1
0 CONNECTED 0 0
130 CLOSING 1 1
131 WRITING 1 140
SYS@dg2>select sequence#,status,thread#,block# from v$managed_standby;
SEQUENCE# STATUS THREAD# BLOCK#
---------- ------------ ---------- ----------
130 CLOSING 1 1
126 CLOSING 1 1
0 CONNECTED 0 0
129 CLOSING 1 1
0 IDLE 0 0
0 IDLE 0 0
0 IDLE 0 0
131 IDLE 1 14
131 APPLYING_LOG 1 14
主庫日誌:
[oracle@dg1 ~]$ cat alert_dg.log
Sun Aug 04 19:25:04 2013
ARC3: Standby redo logfile selected for thread 1 sequence 127 for destination LOG_ARCHIVE_DEST_2
Sun Aug 04 19:25:05 2013
NSS2 started with pid=29, OS id=3373
Sun Aug 04 19:25:08 2013
LGWR: Standby redo logfile selected to archive thread 1 sequence 130
LGWR: Standby redo logfile selected for thread 1 sequence 130 for destination LOG_ARCHIVE_DEST_2
Thread 1 advanced to log sequence 130 (LGWR switch)
Current log# 1 seq# 130 mem# 0: /u01/oradata/dg/redo01.log
Archived Log entry 249 added for thread 1 sequence 129 ID 0x6776473b dest 1:
Sun Aug 04 19:25:08 2013
ARC0: Standby redo logfile selected for thread 1 sequence 129 for destination LOG_ARCHIVE_DEST_2
Destination LOG_ARCHIVE_DEST_2 is SYNCHRONIZED
LGWR: Standby redo logfile selected to archive thread 1 sequence 131
LGWR: Standby redo logfile selected for thread 1 sequence 131 for destination LOG_ARCHIVE_DEST_2
Thread 1 advanced to log sequence 131 (LGWR switch)
Current log# 2 seq# 131 mem# 0: /u01/oradata/dg/redo02.log
Archived Log entry 252 added for thread 1 sequence 130 ID 0x6776473b dest 1:
備庫日誌:
[oracle@dg2 ~]$ cat alert_dg.log
Sun Aug 04 19:22:20 2013
db_recovery_file_dest_size of 3852 MB is 3.07% used. This is a
user-specified limit on the amount of space that will be used by this
database for recovery-related files, and does not reflect the amount of
space available in the underlying filesystem or ASM diskgroup.
Sun Aug 04 19:25:02 2013
RFS[5]: Assigned to RFS process 3584
RFS[5]: Identified database type as 'physical standby': Client is ARCH pid 2936
krsv_proc_kill: Killing 1 processes (idle RFS by thread/sequence)
Sun Aug 04 19:25:04 2013
RFS[6]: Assigned to RFS process 3588
RFS[6]: Identified database type as 'physical standby': Client is ARCH pid 2928
Sun Aug 04 19:25:04 2013
RFS[7]: Assigned to RFS process 3590
RFS[7]: Identified database type as 'physical standby': Client is ARCH pid 2940
RFS[6]: Opened log for thread 1 sequence 128 dbid 1735160627 branch 821829622
Archived Log entry 134 added for thread 1 sequence 128 rlc 821829622 ID 0x6776473b dest 2:
RFS[7]: Selected log 4 for thread 1 sequence 127 dbid 1735160627 branch 821829622
Sun Aug 04 19:25:04 2013
Media Recovery Log /u01/archivelog/arc_1_128_821829622.arc
Media Recovery Waiting for thread 1 sequence 129
Sun Aug 04 19:25:04 2013
Archived Log entry 135 added for thread 1 sequence 127 ID 0x6776473b dest 1:
Sun Aug 04 19:25:08 2013
RFS[8]: Assigned to RFS process 3597
RFS[8]: Identified database type as 'physical standby': Client is LGWR SYNC pid 2852
Primary database is in MAXIMUM AVAILABILITY mode
Changing standby controlfile to RESYNCHRONIZATION level
Standby controlfile consistent with primary
RFS[8]: Selected log 4 for thread 1 sequence 130 dbid 1735160627 branch 821829622
RFS[6]: Selected log 5 for thread 1 sequence 129 dbid 1735160627 branch 821829622
Sun Aug 04 19:25:08 2013
Archived Log entry 136 added for thread 1 sequence 129 ID 0x6776473b dest 1:
Media Recovery Log /u01/archivelog/arc_1_129_821829622.arc
Media Recovery Waiting for thread 1 sequence 130 (in transit)
Recovery of Online Redo Log: Thread 1 Group 4 Seq 130 Reading mem 0
Mem# 0: /u01/oradata/dg/standbyredo04.log
Archived Log entry 137 added for thread 1 sequence 130 ID 0x6776473b dest 1:
Changing standby controlfile to MAXIMUM AVAILABILITY level
Media Recovery Waiting for thread 1 sequence 131 (in transit)
RFS[8]: Selected log 4 for thread 1 sequence 131 dbid 1735160627 branch 821829622
Recovery of Online Redo Log: Thread 1 Group 4 Seq 131 Reading mem 0
Mem# 0: /u01/oradata/dg/standbyredo04.log
相關文章
- 通過警報日誌瞭解oracle斷電後重新啟動的恢復過程Oracle
- 【DATAGUARD】手工恢復備庫日誌中斷
- RAC 恢復(備份後建立的表空間(leviton)恢復後會自動重建)
- PostgreSQL啟動恢復過程中日誌源的切換SQL
- DG中模擬備庫斷檔並恢復過程
- oracle丟失inactive日誌檔案的恢復操作過程Oracle
- oracle redo 日誌刪除後的恢復Oracle Redo
- 恢復重做日誌
- Oracle DataGuard環境中主庫收到ORA-16198報錯Oracle
- oracle丟失active或current日誌檔案的恢復操作過程Oracle
- 11g RAC庫恢復過程小記
- ORA-16198: LGWR received timedout error from KSRError
- SQL利用資料庫日誌恢復資料到時間點的操作 -- 轉自網路SQL資料庫
- AIX系統儲存故障後的Oracle 10g RAC恢復過程AIOracle 10g
- 重做日誌的恢復
- oracle 恢復重做日誌Oracle
- 從丟失日誌組中恢復流程
- 教你自動恢復MySQL資料庫的日誌檔案(binlog)MySql資料庫
- RAC環境備份歸檔日誌和RMAN恢復啟動資料庫資料庫
- MySQL恢復過程MySql
- DG歸檔日誌斷檔時間過長如何處理(DG全庫恢復)
- 如何通過trn日誌檔案恢復SQL ServerSQLServer
- 跳過歸檔日誌的非常規恢復(一)
- 【備份恢復】 恢復重做日誌組成員
- 【恢復】Redo日誌檔案丟失的恢復
- 非歸檔模式下,丟失日誌檔案的一次恢復過程模式
- Sql server日誌損壞後的資料恢復(轉)SQLServer資料恢復
- 網路中斷導致RAC環境所有節點監聽lsnr自動關閉
- 通過Xtrabackup日誌來恢復檢查點檔案
- 恢復控制檔案後,沒有最後一個歸檔日誌的備份,也沒新增歸檔日誌資訊,怎麼恢復?
- 備份與恢復--從備份的歸檔日誌中恢復資料
- rman恢復--丟失聯機重做日誌的恢復
- DG歸檔日誌缺失恢復
- 損壞聯機日誌 恢復
- oracle日誌錯誤恢復(轉)Oracle
- 資料庫報ORA-16198故障的解決方法分析資料庫
- ORACLE主從中斷後,如何恢復(單例項)Oracle單例
- oracle歸檔日誌丟失後的資料庫恢復Oracle資料庫