您好,登錄后才能下訂單哦!
這篇文章主要講解了“怎么處理11g RAC節(jié)點(diǎn)二MMON進(jìn)程異常”,文中的講解內(nèi)容簡(jiǎn)單清晰,易于學(xué)習(xí)與理解,下面請(qǐng)大家跟著小編的思路慢慢深入,一起來(lái)研究和學(xué)習(xí)“怎么處理11g RAC節(jié)點(diǎn)二MMON進(jìn)程異?!卑?!
一早發(fā)現(xiàn)核心系統(tǒng)的DBtime監(jiān)控閾值一直在某一個(gè)點(diǎn)平移,感覺(jué)有點(diǎn)不對(duì)勁。
因?yàn)槲覀兊哪_本依托dba_hist_snapshot試圖的SNIP來(lái)做的。遂進(jìn)行AWR報(bào)告的生成查看其SNAP_ID是否有異常;
21220 19 Sep 2018 09:00 1 21221 19 Sep 2018 10:00 1 21222 19 Sep 2018 11:00 1 21223 19 Sep 2018 12:00 1 21224 19 Sep 2018 13:00 1 21225 19 Sep 2018 14:00 1 21226 19 Sep 2018 15:00 1 21227 19 Sep 2018 16:00 1 21228 19 Sep 2018 17:00 1 21229 19 Sep 2018 18:00 1 21230 19 Sep 2018 19:00 1
Specify the Begin and End Snapshot Ids
Enter value for begin_snap: 昨天晚上系統(tǒng)確實(shí)是有CBC相關(guān)的等待,不過(guò)很快就恢復(fù)了。這是什么情況,難道是數(shù)據(jù)庫(kù)歸檔滿(mǎn)了,或者是mm進(jìn)程down了?試著手動(dòng)生成個(gè)SNAP_ID試試。發(fā)現(xiàn)是可以的。 [oracle@bapdb2 trace]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.4.0 Production on Thu Sep 20 10:40:33 2018 Copyright (c) 1982, 2013, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP, Data Mining and Real Application Testing options 10:40:33 SYS@bapdb2(bapdb2)> set line 300 pages 1000 10:40:35 SYS@bapdb2(bapdb2)> BEGIN 10:40:37 2 DBMS_WORKLOAD_REPOSITORY.CREATE_SNAPSHOT (); 10:40:37 3 END; 10:40:37 4 / PL/SQL procedure successfully completed. 系統(tǒng)內(nèi)的歸檔目錄也很充足,不存在歸檔異常導(dǎo)致進(jìn)程異常的情況; 10:43:57 SYS@b2(db2)> select group_number,block_size,name,allocation_unit_size,state,type,total_mb,free_mb,offline_disks from v$asm_diskgroup; GROUP_NUMBER BLOCK_SIZE NAME ALLOCATION_UNIT_SIZE STATE TYPE TOTAL_MB FREE_MB OFFLINE_DISKS ------------ ---------- ------------------------------ -------------------- ----------- ------ ---------- ---------- ------------- 1 4096 SAS_ARCH 1048576 CONNECTED EXTERN 1024000 617921 0 節(jié)點(diǎn)一查看進(jìn)程: [oracle@db1 ~]$ ps -ef |grep mm grid 6634 1 0 2017 ? 00:33:47 asm_mman_+ASM1 grid 6648 1 0 2017 ? 01:52:06 asm_mmon_+ASM1 grid 6650 1 0 2017 ? 2-00:53:46 asm_mmnl_+ASM1 oracle 8610 1 0 2017 ? 00:33:56 ora_mman_db1 oracle 8650 1 0 2017 ? 3-11:28:35 ora_mmon_db1 oracle 8655 1 1 2017 ? 4-07:20:56 ora_mmnl_db1 節(jié)點(diǎn)二查看進(jìn)程: [oracle@bapdb2 ~]$ ps -ef |grep mm oracle 54354 53982 0 11:09 pts/1 00:00:00 grep mm grid 105256 1 0 2017 ? 00:23:52 asm_mman_+ASM2 grid 105295 1 0 2017 ? 01:15:06 asm_mmon_+ASM2 grid 105312 1 0 2017 ? 1-03:49:26 asm_mmnl_+ASM2 oracle 106889 1 0 2017 ? 00:28:00 ora_mman_db2 oracle 106927 1 0 2017 ? 3-04:47:42 ora_mmnl_db2 發(fā)現(xiàn)節(jié)點(diǎn)二的MMON進(jìn)程DOWN了。從ALERT日志進(jìn)行搜索: Tue Sep 19 03:49:00 2017 MMON started with pid=36, OS id=8650 Tue Sep 19 03:49:00 2017 MMNL started with pid=37, OS id=8655 Tue Sep 19 04:01:47 2017 MMON started with pid=36, OS id=106923 Tue Sep 19 04:01:47 2017 MMNL started with pid=37, OS id=106927 這個(gè)id為106923的進(jìn)程確實(shí)是異常了。之前處理過(guò)類(lèi)似的情況,可以在節(jié)點(diǎn)二直接啟動(dòng)MMON相關(guān)進(jìn)程; SQL> alter system enable restricted session; System altered. SQL> alter system disable restricted session; System altered. 同時(shí)Alert日志也給出了反饋; Thu Sep 20 11:10:28 2018 Stopping background process MMNL Starting background process MMON Starting background process MMNL Thu Sep 20 11:10:29 2018 MMON started with pid=37, OS id=55936 Thu Sep 20 11:10:29 2018 MMNL started with pid=236, OS id=55938 ALTER SYSTEM enable restricted session; minact-scn: Inst 2 is a slave inc#:16 mmon proc-id:55936 status:0x2 minact-scn status: grec-scn:0x0026.4dcf0d36 gmin-scn:0x0026.4dcf0d36 gcalc-scn:0x0026.4dcf1208 Thu Sep 20 11:11:05 2018 ALTER SYSTEM disable restricted session; Thu Sep 20 11:13:25 2018 LGWR: Standby redo logfile selected for thread 2 sequence 154126 for destination LOG_ARCHIVE_DEST_3 再次查看進(jìn)程啟動(dòng)正常 11:10:29 SYS@db2(xxxdb2)> !ps -ef |grep mm oracle 55936 1 0 11:10 ? 00:00:00 ora_mmon_db2 oracle 55938 1 0 11:10 ? 00:00:00 ora_mmnl_db2 grid 105256 1 0 2017 ? 00:23:52 asm_mman_+ASM2 grid 105295 1 0 2017 ? 01:15:06 asm_mmon_+ASM2 grid 105312 1 0 2017 ? 1-03:49:26 asm_mmnl_+ASM2 oracle 106889 1 0 2017 ? 00:28:00 ora_mman_db2 追查了一下MMON進(jìn)程的trc文件,發(fā)現(xiàn)最下面有這一條: *** 2018-09-19 18:46:41.432 minact-scn slave-status: grec-scn:0x0026.4db016c0 gmin-scn:0x0026.4db016c0 gcalc-scn:0x0026.4db0273c minact-scn slave-status: grec-scn:0x0026.4dbdde59 gmin-scn:0x0026.4dbdde59 gcalc-scn:0x0026.4dbdf492 *** 2018-09-19 18:56:44.302 minact-scn slave-status: grec-scn:0x0026.4dca45db gmin-scn:0x0026.4dca45db gcalc-scn:0x0026.4dca5990 *** 2018-09-19 19:01:37.026 error 28 detected in background process OPIRIP: Uncaught error 447. Error stack: ORA-00447: fatal error in background process ORA-00028: your session has been killed
感謝各位的閱讀,以上就是“怎么處理11g RAC節(jié)點(diǎn)二MMON進(jìn)程異?!钡膬?nèi)容了,經(jīng)過(guò)本文的學(xué)習(xí)后,相信大家對(duì)怎么處理11g RAC節(jié)點(diǎn)二MMON進(jìn)程異常這一問(wèn)題有了更深刻的體會(huì),具體使用情況還需要大家實(shí)踐驗(yàn)證。這里是億速云,小編將為大家推送更多相關(guān)知識(shí)點(diǎn)的文章,歡迎關(guān)注!
免責(zé)聲明:本站發(fā)布的內(nèi)容(圖片、視頻和文字)以原創(chuàng)、轉(zhuǎn)載和分享為主,文章觀點(diǎn)不代表本網(wǎng)站立場(chǎng),如果涉及侵權(quán)請(qǐng)聯(lián)系站長(zhǎng)郵箱:is@yisu.com進(jìn)行舉報(bào),并提供相關(guān)證據(jù),一經(jīng)查實(shí),將立刻刪除涉嫌侵權(quán)內(nèi)容。