diagcollection.sh 日志打包功能

11.2起提供了一个日志打包功能。也是方便开SR的。
我们可以打包然后拿出来,在windows下分析了。

[root@node1 ~]# /u01/app/grid/bin/diagcollection.sh
Production Copyright 2004, 2008, Oracle.  All rights reserved
Cluster Ready Services (CRS) diagnostic collection tool
The following CRS diagnostic archives will be created in the local directory.
crsData_node1_20120808_1705.tar.gz -> logs,traces and cores from CRS home. Note: core files will be packaged only with the --core option.
ocrData_node1_20120808_1705.tar.gz -> ocrdump, ocrcheck etc
coreData_node1_20120808_1705.tar.gz -> contents of CRS core files in text format

osData_node1_20120808_1705.tar.gz -> logs from Operating System
Collecting crs data
/bin/tar: log/node1/agent/ohasd/oraagent_grid/oraagent_grid.log: file changed as we read it
/bin/tar: log/node1/gpnpd/gpnpd.log: file changed as we read it
/bin/tar: log/node1/cssd/ocssd.log: file changed as we read it
Collecting OCR data
Collecting information from core files
No corefiles found
Collecting OS logs
[root@node1 ~]# ls
anaconda-ks.cfg                     install.log                         oracleasm-2.6.18-274.el5-2.0.5-1.el5.x86_64.rpm            oracleasm-2.6.18-274.el5xen-2.0.5-1.el5.x86_64.rpm  osData_node1_20120808_1705.tar.gz
crsData_node1_20120808_1705.tar.gz
标签: 暂无标签
oraask2

写了 49 篇文章,拥有财富 561,被 72 人关注

转播转播 分享分享 分享淘帖
回复

使用道具

成为第一个吐槽的人

您需要登录后才可以回帖 登录 | 加入社区

本版积分规则

意见
反馈