【RAC】Oracle Clusterware 诊断收集脚本

简介:
诊断收集脚本  
1.用于收集所有重要日志文件的脚本应满足以下条件:  
 – 必须以 root 身份执行  
 – 位于 $ORA_CRS_HOME/bin/diagcollection.pl  
2.将在本地目录中生成以下文件:  
 – basData_.tar.gz 
 - coreData__date.tar.gz
 – crsData __date.tar.gz 
 – ocrData __date.tar.gz  
 – oraData __date.tar.gz 
[root@rac1 ~]# perl /opt/rac/11.2.0/grid/bin/diagcollection.pl  -collect
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_rac1_20120428_2140.tar.gz -> logs,traces and cores from CRS home. Note: core files will be packaged only with the --core option. 
ocrData_rac1_20120428_2140.tar.gz -> ocrdump, ocrcheck etc 
coreData_rac1_20120428_2140.tar.gz -> contents of CRS core files in text format

osData_rac1_20120428_2140.tar.gz -> logs from Operating System
Collecting crs data
Collecting OCR data 
Collecting information from core files
No corefiles found 
Collecting OS logs
[root@rac1 ~]# ll -trs
总计 7976
3924 -rw-r--r-- 1 root root 4012196 04-28 21:40 crsData_rac1_20120428_2140.tar.gz
 116 -rw-r--r-- 1 root root  111837 04-28 21:40 osData_rac1_20120428_2140.tar.gz
  12 -rw-r--r-- 1 root root    9395 04-28 21:40 ocrData_rac1_20120428_2140.tar.gz
相关文章
|
7月前
|
存储 SQL Oracle
Oracle数据库批量删除表、视图、序列、存储过程、函数脚本
Oracle数据库批量删除表、视图、序列、存储过程、函数脚本
68 0
|
1月前
|
存储 运维 Oracle
Oracle系列十八:Oracle RAC
Oracle系列十八:Oracle RAC
|
2月前
|
Oracle 关系型数据库
oracle Hanganalyze no RAC
oracle Hanganalyze no RAC
15 0
|
2月前
|
Oracle 关系型数据库
oracle rac 手工安装补丁,不适用auto
oracle rac 手工安装补丁,不适用auto
25 3
|
3月前
|
Oracle 关系型数据库 Linux
RHEL7.9系统下一键脚本安装Oracle 11gR2单机版本
RHEL7.9系统下一键脚本安装Oracle 11gR2单机版本
63 1
|
6月前
|
Oracle 关系型数据库 Java
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
分享一个 Oracle RAC 模式下客户端建立JDBC初始连接时因ONS造成应用启动时卡顿30秒问题的排查分析案例
|
11月前
|
存储 XML SQL
Oracle 数据库自动诊断库 ADR(Automatic Diagnostic Repository)简介 发表在 数据和云
Oracle 数据库如果出现故障,我们的第一个反应是查看数据库的 alert log,但一些工程师对 alert log 不熟悉,实际上 alert log 位于Oracle 数据库自动诊断库(Automatic Diagnostic Repository,以下简称 ADR) 中,要熟悉 alert log,我们必需全面了解 ADR 的概念。
217 0
|
11月前
|
SQL 监控 Oracle
Oracle 性能监控统计工具 mystats脚本
看看这个工具的介绍就知道这个工具是很牛的,因为它是在两个牛人的工具是改进的,一出生就有贵族血统呀!
|
11月前
|
监控 Oracle 关系型数据库
oracle性能监控脚本 Mother Of All Tuning Scripts (MOATS)
这个名字牛吗?Mother Of All Tuning Scripts (MOATS) 下载地址: https://github.com/oracle-developer/moats,下载后
|
11月前
|
存储 Oracle 关系型数据库

推荐镜像

更多