重庆思庄Oracle、Redhat认证学习论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

搜索
查看: 4696|回复: 0
打印 上一主题 下一主题

[体系架构] 12.1.0.2 Oracle Clusterware Diagnostic and Alert Log Moved to ADR

[复制链接]
跳转到指定楼层
楼主
发表于 2016-4-21 23:33:27 | 只看该作者 回帖奖励 |正序浏览 |阅读模式
[size=130%]12.1.0.2 Oracle Clusterware Diagnostic and Alert Log Moved to ADR (文档 ID 1915729.1)

                               
登录/注册后可看大图



                               
登录/注册后可看大图

In this Document
Purpose
Details
Log Data
More space required in ORACLE_BASE
Upload to Oracle Support
Example output
References

Applies to:   Oracle Database - Enterprise Edition - Version 12.1.0.2 and later
Information in this document applies to any platform.
PurposeOracle Clusterware (12.1.0.2 onward) uses Oracle Database fault diagnosability infrastructure to manage diagnostic data and its alert log, this is a quick reference of this new feature.

DetailsOracle Clusterware (part of Grid Infrastructure) uses Oracle Database fault diagnosability infrastructure to manage diagnostic data and its alert log. As a result, most diagnostic data resides in the Automatic Diagnostic Repository (ADR), a collection of directories and files located under a base directory that you specify during installation. This section describes clusterware-specific aspects of how Oracle Clusterware uses ADR.

Log Data
More space required in ORACLE_BASEAs Clusterware logs are moved to ADR which is part of ORACLE_BASE, more space is needed to ensure the file system won't run out of space.


Upload to Oracle SupportWhen opening SR, instead of diagcollection.pl, TFA should be used to collect diagnostics, i.e.:
<GI_HOME>/bin/tfactl diagcollect -from "Aug/09/2014 08:00:00" -to "Aug/09/2013 13:00:00"
Without the fix for bug 19288396, diagcollection.pl in 12.1.0.2 base release will not collect all diagnostics.



Example outputMost clusterware daemons/processes pid and output file are in <ORACLE_BASE>/crsdata/<node>/output
crsdata/racnode1/output:
-rw-r--r-- 1 grid oinstall 1099 Aug 7 07:16 crsd_oraagent_gridOUT.trc
-rw-r--r-- 1 grid oinstall 5 Aug 7 07:16 crsd_oraagent_grid.pid
-rw-r--r-- 1 oracle oinstall 368 Aug 7 11:22 crsd_oraagent_oracleOUT.trc
-rw-r--r-- 1 oracle oinstall 5 Aug 7 11:22 crsd_oraagent_oracle.pid
-rw-r--r-- 1 root root 1123 Aug 7 07:16 crsd_orarootagent_rootOUT.trc
-rw-r--r-- 1 root root 5 Aug 7 07:16 crsd_orarootagent_root.pid
-rw-r--r-- 1 root root 1394 Aug 7 13:23 crsdOUT.trc
-rw-r--r-- 1 root root 6 Aug 7 13:23 crsd.pid
-rw-r--r-- 1 grid oinstall 373 Aug 6 16:09 crsd_scriptagent_gridOUT.trc
-rw-r--r-- 1 grid oinstall 6 Aug 6 16:09 crsd_scriptagent_grid.pid
-rw-r--r-- 1 root root 200 Aug 7 07:15 crswrapexece.log
-rw-r--r-- 1 root root 174 Aug 7 13:53 cssd_out.log
-rw-r--r-- 1 grid oinstall 1045 Aug 7 13:23 evmdOUT.trc
-rw-r--r-- 1 grid oinstall 6 Aug 7 13:23 evmd.pid
-rw-r--r-- 1 grid oinstall 1588 Aug 7 13:23 evmloggerOUT.trc
-rw-r--r-- 1 grid oinstall 6 Aug 7 13:23 evmlogger.pid
-rw-r--r-- 1 grid oinstall 700 Aug 7 07:15 gipcdOUT.trc
-rw-r--r-- 1 grid oinstall 5 Aug 7 07:15 gipcd.pid
-rw-r--r-- 1 grid oinstall 858 Aug 7 07:15 gpnpdOUT.trc
-rw-r--r-- 1 grid oinstall 5 Aug 7 07:15 gpnpd.pid
-rw-r--r-- 1 grid oinstall 860 Aug 7 07:15 mdnsdOUT.trc
-rw-r--r-- 1 grid oinstall 5 Aug 7 07:15 mdnsd.pid
-rw-r--r-- 1 grid oinstall 829120 Aug 7 14:03 ocssdOUT.trc
-rw-r--r-- 1 grid oinstall 6 Aug 7 13:53 ocssd.pid
-rw-r--r-- 1 root root 1057 Aug 7 13:23 octssdOUT.trc
-rw-r--r-- 1 root root 6 Aug 7 13:23 octssd.pid
-rw-r--r-- 1 root root 4066 Aug 7 14:03 ohasd_cssdagent_rootOUT.trc
-rw-r--r-- 1 root root 6 Aug 7 14:03 ohasd_cssdagent_root.pid
-rw-r--r-- 1 root root 3362 Aug 7 14:03 ohasd_cssdmonitor_rootOUT.trc
-rw-r--r-- 1 root root 6 Aug 7 14:03 ohasd_cssdmonitor_root.pid
-rw-r--r-- 1 grid oinstall 1468 Aug 7 07:15 ohasd_oraagent_gridOUT.trc
-rw-r--r-- 1 grid oinstall 5 Aug 7 07:15 ohasd_oraagent_grid.pid
-rw-r--r-- 1 root root 4131 Aug 7 13:36 ohasd_orarootagent_rootOUT.trc
-rw-r--r-- 1 root root 6 Aug 7 13:36 ohasd_orarootagent_root.pid
-rw-r--r-- 1 root root 1050 Aug 7 07:15 ohasdOUT.trc
-rw-r--r-- 1 root root 5 Aug 7 07:15 ohasd.pid
-rw-r--r-- 1 root root 2619481 Aug 8 14:21 ologgerdOUT.trc
-rw-r--r-- 1 root root 6 Aug 8 14:21 ologgerd.pid
-rw-r--r-- 1 root root 712 Aug 7 07:16 osysmondOUT.trc
-rw-r--r-- 1 root root 5 Aug 7 07:16 osysmond.pid



Most clusterware daemons/processes core dumps are in <ORACLE_BASE>/diag/crs/<node>/crs/cdump
diag/crs/racnode1/crs/cdump:
total 20
drwxr-x--- 2 grid oinstall 4096 Aug 7 13:33 core_12515
diag/crs/racnode1/crs/cdump/core_12515:
total 46124
-rw------- 1 grid oinstall 47226880 Aug 7 13:33 core.12515


Most clusterware daemons/processes incidents are in <ORACLE_BASE>/diag/crs/<node>/crs/incident
diag/crs/racnode1/crs/incident:
total 20
drwxrwxr-x 2 grid oinstall 4096 Aug 7 13:22 incdir_1
diag/crs/racnode1/crs/incident/incdir_1:
total 3720
-rw-rw---- 1 grid oinstall 3290956 Aug 7 13:22 ocssd_i1.trc
-rw-rw---- 1 grid oinstall 506552 Aug 7 13:22 ocssd_i1.trm


Most clusterware daemons/processes logs are in <ORACLE_BASE>/diag/crs/<node>/crs/trace

diag/crs/racnode1/crs/trace:
total 365000
-rw-rw---- 1 root oinstall 1272 Aug 6 16:07 acfsutil_17004.trc
-rw-rw---- 1 root oinstall 303 Aug 6 16:07 acfsutil_17004.trm
....
-rw-rw---- 1 grid oinstall 2204369 Aug 8 14:21 alert.log                                   ====>> the alert.log should be reviewed first as it contains critical information, pre-12.1.0.2, the location is <GI_HOME>/log/<node>/alert<node>.log
-rw-rw---- 1 root oinstall 2518 Aug 6 15:32 clscfg_2593.trc
-rw-rw---- 1 root oinstall 625 Aug 6 15:32 clscfg_2593.trm
....
-rw-rw---- 1 oracle oinstall 1019 Aug 7 10:27 crsctl_10186.trc
-rw-rw---- 1 oracle oinstall 248 Aug 7 10:27 crsctl_10186.trm
....
-rw-rw---- 1 grid oinstall 1512508 Aug 7 13:22 crsd_oraagent_grid.trc
-rw-rw---- 1 grid oinstall 242973 Aug 7 13:22 crsd_oraagent_grid.trm
-rw-rw---- 1 oracle oinstall 256317 Aug 7 13:22 crsd_oraagent_oracle.trc
-rw-rw---- 1 oracle oinstall 39236 Aug 7 13:22 crsd_oraagent_oracle.trm
-rw-rw---- 1 root oinstall 715198 Aug 7 13:22 crsd_orarootagent_root.trc
-rw-rw---- 1 root oinstall 130533 Aug 7 13:22 crsd_orarootagent_root.trm
-rw-rw---- 1 grid oinstall 100503 Aug 6 17:11 crsd_scriptagent_grid.trc
-rw-rw---- 1 grid oinstall 19526 Aug 6 17:11 crsd_scriptagent_grid.trm
-rw-rw---- 1 root oinstall 2908456 Aug 7 13:33 crsd.trc
-rw-rw---- 1 root oinstall 459124 Aug 7 13:33 crsd.trm
-rw-rw---- 1 grid oinstall 10486183 Aug 8 03:46 evmd_1.trc
-rw-rw---- 1 grid oinstall 1217898 Aug 8 03:46 evmd_1.trm
-rw-rw---- 1 grid oinstall 7411644 Aug 8 14:21 evmd.trc
-rw-rw---- 1 grid oinstall 849878 Aug 8 14:21 evmd.trm
-rw-rw---- 1 grid oinstall 1659 Aug 7 13:23 evmlogger.trc
-rw-rw---- 1 grid oinstall 696 Aug 7 13:23 evmlogger.trm
-rw-rw---- 1 grid oinstall 3373261 Aug 8 14:21 gipcd.trc
-rw-rw---- 1 grid oinstall 476321 Aug 8 14:21 gipcd.trm
-rw-rw---- 1 grid oinstall 39326 Aug 8 13:35 gpnpd.trc
-rw-rw---- 1 grid oinstall 5386 Aug 8 13:35 gpnpd.trm
-rw-rw---- 1 grid oinstall 603 Aug 6 17:05 gpnptool_15407.trc
-rw-rw---- 1 grid oinstall 207 Aug 6 17:05 gpnptool_15407.trm
....
-rw-rw---- 1 grid oinstall 24266 Aug 8 13:53 mdnsd.trc
-rw-rw---- 1 grid oinstall 4523 Aug 8 13:53 mdnsd.trm
-rw-rw---- 1 root oinstall 1423 Aug 7 11:40 oclumon_13545.trc
-rw-rw---- 1 root oinstall 368 Aug 7 11:40 oclumon_13545.trm
....
-rw-rw---- 1 root oinstall 1270 Aug 7 11:39 ocrcheck_12877.trc
-rw-rw---- 1 root oinstall 299 Aug 7 11:39 ocrcheck_12877.trm
....
-rw-rw---- 1 root oinstall 393 Aug 6 15:43 ocrconfig_10509.trc
-rw-rw---- 1 root oinstall 147 Aug 6 15:43 ocrconfig_10509.trm
....
-rw-rw---- 1 grid oinstall 3145 Aug 6 17:04 ocrdump_13883.trc
-rw-rw---- 1 grid oinstall 228 Aug 6 17:04 ocrdump_13883.trm
....
-rw-rw---- 1 grid oinstall 18122956 Aug 7 14:03 ocssd.trc
-rw-rw---- 1 grid oinstall 2650776 Aug 7 14:03 ocssd.trm
-rw-rw---- 1 root oinstall 10486262 Aug 7 09:46 octssd_1.trc
-rw-rw---- 1 root oinstall 1718270 Aug 7 09:46 octssd_1.trm
-rw-rw---- 1 root oinstall 10486146 Aug 7 12:21 octssd_2.trc
-rw-rw---- 1 root oinstall 1718981 Aug 7 12:21 octssd_2.trm
-rw-rw---- 1 root oinstall 4117657 Aug 7 13:23 octssd.trc
-rw-rw---- 1 root oinstall 675098 Aug 7 13:23 octssd.trm
-rw-rw---- 1 root oinstall 10486038 Aug 7 18:36 ohasd_1.trc
-rw-rw---- 1 root oinstall 2141760 Aug 7 18:36 ohasd_1.trm
-rw-rw---- 1 root oinstall 10486052 Aug 8 00:58 ohasd_2.trc
-rw-rw---- 1 root oinstall 2198523 Aug 8 00:58 ohasd_2.trm
-rw-rw---- 1 root oinstall 10486033 Aug 8 07:23 ohasd_3.trc
-rw-rw---- 1 root oinstall 2214587 Aug 8 07:23 ohasd_3.trm
-rw-rw---- 1 root oinstall 10486228 Aug 8 13:54 ohasd_4.trc
-rw-rw---- 1 root oinstall 2254281 Aug 8 13:54 ohasd_4.trm
-rw-rw---- 1 root oinstall 1061190 Aug 7 14:03 ohasd_cssdagent_root.trc
-rw-rw---- 1 root oinstall 236399 Aug 7 14:03 ohasd_cssdagent_root.trm
-rw-rw---- 1 root oinstall 10486575 Aug 7 16:19 ohasd_cssdmonitor_root_1.trc
-rw-rw---- 1 root oinstall 1042075 Aug 7 16:19 ohasd_cssdmonitor_root_1.trm
-rw-rw---- 1 root oinstall 10486981 Aug 7 18:51 ohasd_cssdmonitor_root_2.trc
-rw-rw---- 1 root oinstall 895465 Aug 7 18:51 ohasd_cssdmonitor_root_2.trm
-rw-rw---- 1 root oinstall 7631634 Aug 8 14:21 ohasd_cssdmonitor_root.trc
-rw-rw---- 1 root oinstall 651875 Aug 8 14:21 ohasd_cssdmonitor_root.trm
-rw-rw---- 1 grid oinstall 3829561 Aug 8 14:21 ohasd_oraagent_grid.trc
-rw-rw---- 1 grid oinstall 691989 Aug 8 14:21 ohasd_oraagent_grid.trm
-rw-rw---- 1 root oinstall 7099633 Aug 8 14:21 ohasd_orarootagent_root.trc
-rw-rw---- 1 root oinstall 1264951 Aug 8 14:21 ohasd_orarootagent_root.trm
-rw-rw---- 1 root oinstall 721310 Aug 8 14:21 ohasd.trc
-rw-rw---- 1 root oinstall 154637 Aug 8 14:21 ohasd.trm
-rw-rw---- 1 grid oinstall 483 Aug 6 17:04 oifcfg_12443.trc
-rw-rw---- 1 grid oinstall 148 Aug 6 17:04 oifcfg_12443.trm
....
-rw-rw---- 1 root oinstall 9226104 Aug 8 14:21 ologgerd.trc
-rw-rw---- 1 root oinstall 3347192 Aug 8 14:21 ologgerd.trm
-rw-rw---- 1 root oinstall 334 Aug 8 06:19 olsnodes_10141.trc
-rw-rw---- 1 root oinstall 137 Aug 8 06:19 olsnodes_10141.trm
....
-rw-rw---- 1 root oinstall 10489054 Aug 7 17:08 osysmond_1.trc
-rw-rw---- 1 root oinstall 1484018 Aug 7 17:08 osysmond_1.trm
-rw-rw---- 1 root oinstall 10487112 Aug 7 20:31 osysmond_2.trc
-rw-rw---- 1 root oinstall 1429346 Aug 7 20:31 osysmond_2.trm
-rw-rw---- 1 root oinstall 3692366 Aug 8 14:21 osysmond.trc
-rw-rw---- 1 root oinstall 500803 Aug 8 14:21 osysmond.trm
-rw-rw---- 1 grid oinstall 508 Aug 6 15:58 racgevtf_15522.trc
-rw-rw---- 1 grid oinstall 151 Aug 6 15:58 racgevtf_15522.trm

-rw-rw---- 1 root oinstall 10486058 Aug 18 02:42 octssd_51.trc
-rw-rw---- 1 root oinstall 1674338 Aug 18 02:42 octssd_51.trm
-rw-rw---- 1 root oinstall 10486399 Aug 18 04:59 octssd_52.trc
-rw-rw---- 1 root oinstall 1674548 Aug 18 04:59 octssd_52.trm
-rw-rw---- 1 root oinstall 10486269 Aug 18 07:17 octssd_53.trc                           ====>>>> instead of renaming all history files, while rotating, the active one will be renamed and oldest one will be deleted so the total is still 11
-rw-rw---- 1 root oinstall 1674360 Aug 18 07:17 octssd_53.trm
-rw-rw---- 1 root oinstall 10486245 Aug 18 09:34 octssd_54.trc
-rw-rw---- 1 root oinstall 1674452 Aug 18 09:34 octssd_54.trm
-rw-rw---- 1 root oinstall 10486036 Aug 18 11:51 octssd_55.trc
-rw-rw---- 1 root oinstall 1674353 Aug 18 11:51 octssd_55.trm
-rw-rw---- 1 root oinstall 10486569 Aug 18 14:08 octssd_56.trc
-rw-rw---- 1 root oinstall 1674465 Aug 18 14:08 octssd_56.trm
-rw-rw---- 1 root oinstall 10485997 Aug 18 16:25 octssd_57.trc
-rw-rw---- 1 root oinstall 1674408 Aug 18 16:25 octssd_57.trm
-rw-rw---- 1 root oinstall 10486786 Aug 18 18:43 octssd_58.trc
-rw-rw---- 1 root oinstall 1674488 Aug 18 18:43 octssd_58.trm
-rw-rw---- 1 root oinstall 10486793 Aug 18 21:00 octssd_59.trc
-rw-rw---- 1 root oinstall 1674557 Aug 18 21:00 octssd_59.trm






分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友
收藏收藏 支持支持 反对反对
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|手机版|小黑屋|重庆思庄Oracle、Redhat认证学习论坛 ( 渝ICP备12004239号-4 )

GMT+8, 2024-11-29 16:26 , Processed in 0.097238 second(s), 21 queries .

重庆思庄学习中心论坛-重庆思庄科技有限公司论坛

© 2001-2020

快速回复 返回顶部 返回列表