節點2線上日誌生成歸檔日誌在節點1上的初步分析
oracle rac 2節點
昨天去客戶現場做資料庫安全方面的調研,客戶問到一個問題,怎麼節點2的線上日誌生成的歸檔日誌怎麼跑到節點1上去了
分析過程大概如下:
節點2down機:
lert_gzgjj2.log (0%)
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpwpost0
ORA-27303: additional information: ukid = 874057518489215114, errno = 22
LMON: terminating instance due to error 29702
Sat Jul 30 13:26:00 2011
Errors in file /oracle/admin/gzgjj/bdump/gzgjj2_lms2_4540.trc:
ORA-29702: error occurred in Cluster Group Service operation
Sat Jul 30 13:26:00 2011
Errors in file /oracle/admin/gzgjj/bdump/gzgjj2_lms0_4536.trc:
ORA-29702: error occurred in Cluster Group Service operation
Sat Jul 30 13:26:00 2011
System state dump is made for local instance
System State dumped to trace file /oracle/admin/gzgjj/bdump/gzgjj2_diag_4528.trc
Sat Jul 30 13:26:04 2011
Instance terminated by LMON, pid = 4532
lert_gzgjj2.log (0%)
ORA-27301: OS failure message: Invalid argument
ORA-27302: failure occurred at: sskgpwpost0
ORA-27303: additional information: ukid = 874057518489215114, errno = 22
LMON: terminating instance due to error 29702
Sat Jul 30 13:26:00 2011
Errors in file /oracle/admin/gzgjj/bdump/gzgjj2_lms2_4540.trc:
ORA-29702: error occurred in Cluster Group Service operation
Sat Jul 30 13:26:00 2011
Errors in file /oracle/admin/gzgjj/bdump/gzgjj2_lms0_4536.trc:
ORA-29702: error occurred in Cluster Group Service operation
Sat Jul 30 13:26:00 2011
System state dump is made for local instance
System State dumped to trace file /oracle/admin/gzgjj/bdump/gzgjj2_diag_4528.trc
Sat Jul 30 13:26:04 2011
Instance terminated by LMON, pid = 4532
節點1 13:26分日誌如下:
Started redo application at
Thread 2: logseq 9705, block 99429
Sat Jul 30 13:26:03 2011
Recovery of Online Redo Log: Thread 2 Group 6 Seq 9705 Reading mem 0
Mem# 0: +DG1/gzgjj/onlinelog/group_6.268.651752891
Sat Jul 30 13:26:03 2011
Recovery of Online Redo Log: Thread 2 Group 5 Seq 9706 Reading mem 0
Mem# 0: +DG1/gzgjj/onlinelog/group_5.267.651752889
Sat Jul 30 13:26:05 2011
Completed redo application
Sat Jul 30 13:26:06 2011
Completed instance recovery at
Thread 2: logseq 9706, block 49566, scn 1041346872
7450 data blocks read, 7479 data blocks written, 50484 redo blocks read
Switch log for thread 2 to sequence 9707
Sat Jul 30 13:26:09 2011
ARC1: Archiving disabled thread 2 sequence 9707
Thread 2: logseq 9705, block 99429
Sat Jul 30 13:26:03 2011
Recovery of Online Redo Log: Thread 2 Group 6 Seq 9705 Reading mem 0
Mem# 0: +DG1/gzgjj/onlinelog/group_6.268.651752891
Sat Jul 30 13:26:03 2011
Recovery of Online Redo Log: Thread 2 Group 5 Seq 9706 Reading mem 0
Mem# 0: +DG1/gzgjj/onlinelog/group_5.267.651752889
Sat Jul 30 13:26:05 2011
Completed redo application
Sat Jul 30 13:26:06 2011
Completed instance recovery at
Thread 2: logseq 9706, block 49566, scn 1041346872
7450 data blocks read, 7479 data blocks written, 50484 redo blocks read
Switch log for thread 2 to sequence 9707
Sat Jul 30 13:26:09 2011
ARC1: Archiving disabled thread 2 sequence 9707
節點1做例項恢復,生成了節點2 的9706和9707兩個歸檔日誌
-rw-rw---- 1 oracle dba 50755584 Jul 30 13:26 2_9706_658773440.dbf
-rw-rw---- 1 oracle dba 2048 Jul 30 13:26 2_9707_658773440.dbf
-rw-rw---- 1 oracle dba 2048 Jul 30 13:26 2_9707_658773440.dbf
分析總結如下:
節點2在2011.07.30 13:26 分發生down機,而這個時候業務漂移到節點1上,節點1做資料庫例項恢復,該前滾的前滾,
該回滾的回滾,所以節點2的歸檔日誌產生到節點1上。
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/7199859/viewspace-704009/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 【REDO】Oracle 日誌挖掘,分析歸檔日誌線上日誌主要步驟Oracle
- rman刪除指定節點指定sequence範圍的歸檔日誌
- 11【線上日誌分析】之redis-3.2.5 install(單節點)Redis
- 08【線上日誌分析】之Flume Agent(聚合節點) sink to kafka clusterKafka
- standby庫歸檔日誌路徑小節
- 【Mongodb】 replica set 兩種新增節點方法的日誌分析MongoDB
- RAC節點日誌目錄是必要的!
- 【RAC】節點2上不能完全識別節點1上的asmdiskASM
- oracle 歸檔日誌的小知識點Oracle
- rman 刪除指定時間點的歸檔日誌
- 歸檔日誌
- RAC 節點2刪除自己的歸檔指令碼指令碼
- 【Oracle】歸檔日誌管理-設定歸檔日誌路徑以及歸檔日誌冗餘Oracle
- logmnr分析歸檔重做日誌
- 使用歸檔日誌分析解決歸檔日誌迅速增長問題(logmnr)
- 單節點Windows上的ASM(1)WindowsASM
- oracle歸檔日誌Oracle
- Oracle 歸檔日誌Oracle
- 歸檔日誌挖掘
- PostgreSQL 歸檔日誌SQL
- 使用logminer分析歸檔日誌案例
- 聯機重做日誌、歸檔日誌、備用重做日誌
- 4.2 叢集節點初步搭建
- 日誌檔案和歸檔日誌檔案的關係以及如何切換日誌
- 歸檔日誌的刪除
- 手工rm刪除歸檔日誌對備份歸檔日誌的影響
- 控制檔案/歸檔日誌
- Archived Redo Logs歸檔重做日誌介紹及其優點Hive
- 歸檔oracle alert日誌Oracle
- 14. 日誌歸檔
- PostgreSQL歸檔日誌配置SQL
- rman清理歸檔日誌
- archive log 歸檔日誌Hive
- 備份歸檔日誌
- 歸檔日誌 現象
- Oracle歸檔日誌清理Oracle
- 【SQL】Oracle 歸檔日誌暴增原因分析SQLOracle
- 使用NFS共享RAC節點的歸檔目錄NFS