CRS 10gR2/ 11gR1/ 11gR2 Diagnostic Collection Guide (文件 ID 330358.1)
CRS 10gR2/ 11gR1/ 11gR2 Diagnostic Collection Guide (文件 ID 330358.1)
In this Document
Goal |
Solution |
Linux/UNIX 11gR2 |
Linux/UNIX 10gR2/11gR1 |
Windows 11gR2: |
Windows 10gR2/11gR1 |
CVU |
diagcollection options |
Scalability RAC Community |
References |
Applies to:
Oracle Database - Enterprise Edition - Version 10.2.0.1 to 11.2.0.3 [Release 10.2 to 11.2]Information in this document applies to any platform.
Oracle Clusterware
Goal
To document the logs that should be uploaded for diagnosing Oracle Clusterware issue.
For more information about diagcollection, check out "diagcollection.sh -help"
This note will be obsolete in future, it's strongly recommended to use tfa to prune and collect files from all nodes:
note 1513912.1 - TFA Collector - Tool for Enhanced Diagnostic Gathering
Solution
Linux/UNIX 11gR2
1. Execute the following as root user:
# id
# env
# cd
# $GRID_HOME/bin/diagcollection.sh
# exit
The following .gz files will be generated in the current directory and need to be uploaded along with /tmp/diag.log:
crsData_
ocrData_
oraData_
coreData_
os_
Please ensure all above information are provided from all the nodes.
Linux/UNIX 10gR2/11gR1
1. Execute the following as root user:
# script. /tmp/diag.log
# id
# env
# cd
# export CH=
# export ORACLE_HOME=
# export HOSTNAME=
# $OCH/bin/diagcollection.pl -crshome=$OCH --collect
# exit
The following .gz files will be generated in the current directory and need to be uploaded along with /tmp/diag.log:
crsData_
ocrData_
oraData_
coreData_
2. For 10gR2 and 11gR1, if getting an error while running root.sh, please collect /tmp/crsctl.*
Please ensure all above information are provided from all the nodes.
Windows 11gR2:
set GRID_HOME=<11gR2_GRID_HOME>
%GRID_HOME%\perl\bin\perl %GRID_HOME%\bin\diagcollection.pl --collect
The following .zip files will be generated in the current directory and need to be uploaded:
crsData_
ocrData_
oraData_
coreData_
Windows 10gR2/11gR1
set ORACLE_HOME=
set CH=
set ORACLE_BASE=
$OCH%\perl\bin\perl %OCH%\bin\diagcollection.pl --collect
CVU
Depend on whether CRS/GI is configured or not, run either one of the following as clusterware user:
(a) GI/CRS has been installed
$ script. /tmp/cluvfy.log
$ $GRID_HOME/bin/cluvfy stage -pre crsinst -n-verbose
$ $GRID_HOME/bin/cluvfy stage -post crsinst -n all -verbose
$ exit
(b) GI/CRS has not been installed
run runcluvfy.sh from the installation media or download from OTN http://www.oracle.com/technetwork/products/clustering/downloads/index.html
set the environment variables CV_HOME to point to the cvu home, CV_JDKHOME to point to the JDK home and an optional CV_DESTLOC pointing to a writeable area on all nodes (e.g /tmp/cluvfy)
$ cd $CV_HOME/bin
$ script. cluvfy.log
$ cluvfy stage -pre crsinst -n
$ exit
For more information about CVU, refer to note 986822.1 and note 316817.1
diagcollection options
o To collect only a subset of logs, --adr together with --beforetime and --aftertime can be used, i.e.:
This command will copy all logs contain timestamp 2012-02-18 05:00 - 10:00 to /tmp/collect directory. Time is specified with YYYYMMDDHHMISS24 format. --adr points to a directory where the logs are copied to.
o From 11.2.0.2 onwards, Cluster Health Monitor(CHM/OS) note 1328466.1 data can also be collected, i.e.:
This command will collect data from 2012-02-18 05:00 to 10:00 for 5 hours. incidenttime is specified as MM/DD/YYYY24HH:MM:SS, incidentduration is specified as HH:MM.
Scalability RAC Community
To discuss this topic further with Oracle experts and industry peers, we encourage you to review, join or start a discussion in the My Oracle Support Scalability RAC Community.
References
NOTE:314422.1 - Remote Diagnostic Agent (RDA) - Getting StartedNOTE:785907.1 - diagcollection.pl errors "Mandatory argument 'crshome' is missing"
NOTE:289690.1 - Data Collecting for Troubleshooting Oracle Clusterware (CRS or GI) And Real Application Cluster (RAC) Issues
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/17252115/viewspace-775305/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- Remote Diagnostic Agent (RDA) - RAC Cluster Guide (Doc ID 359395.1)REMGUIIDE
- Oracle 叢集 10gR2/ 11gR1/ 11gR2/ 12cR1 診斷資訊收集指南 (文件 ID 1623352.1)Oracle
- 安裝 11gR2 Grid Infrastructure(CRS)失敗的處理過程 (文件 ID 1946678.1)ASTStruct
- clean all Oracle 10gR2 CRS after a failed CRS installationOracle 10gAI
- 【官方文件】【Doc】oracle官方文件總彙(9i,10g,11gR1, 11gR2)Oracle
- 【官方文件 oracle documentation】oracle官方文件總彙(9i,10g,11gR1, 11gR2)Oracle
- Data Warehouse Guide文件筆記(四):dimensionGUIIDE筆記
- Checkpoint Tuning and Troubleshooting Guide (文件 ID 147468.1)GUIIDE
- CRS can not Start After Node Reboot (文件 ID 733260.1)boot
- Akka Stream文件翻譯:Quick Start Guide: Reactive TweetsGUIIDEReact
- Data Warehouse Guide文件筆記(三):RELY constraintsGUIIDE筆記AI
- 11gR2 叢集(CRS/GRID)新功能—— SCAN(Single Client Access Name)client
- ?Oracle文件閱讀指南-10gr2Oracle
- oracle 11gR2 對CRS dg做映象dgOracle
- Ionic2系列——Ionic 2 Guide 官方文件中文版GUIIDE
- ASM例項 10gR2升到11gR2ASM
- Oracle GoldenGate 11g官方文件Administrator’s GuideOracleGoGUIIDE
- SQLT Diagnostic Tool (Doc ID 215187.1)SQL
- 最常見的5個CRS/Grid Infrastructure 安裝問題 (文件 ID 1549192.1)ASTStruct
- A guide to this in JavaScriptGUIIDEJavaScript
- 11gR2和10gR2中crsctl/srvctl的區別
- Common Diagnostic Scripts for AUM problems (Doc ID 746173.1)
- 使用10gR2 CRS搭建HA環境 & 一些測試結果
- 指標GUIDE指標GUIIDE
- A Short Guide to DBIGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續四OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續三OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續二OracleGoGUIIDE
- Oracle GoldenGate 11g官方文件Administrator’s Guide續一OracleGoGUIIDE
- 11gR2 RAC DB switchover using DG broker (文件 ID 880017.1)
- AUM Common Analysis/Diagnostic Scripts (Doc ID 877613.1)
- oracle 11gR2與10gR2 rac安裝時不同點(z)Oracle
- 常見的 11gR2 Grid Infrastructure 升級問題 (文件 ID 1602048.1)ASTStruct
- Data Warehouse Guide文件筆記(一):Data warehouse和OLTP系統的對比GUIIDE筆記
- 最常見的 11gR2 RAC 安裝問題 (文件 ID 1549168.1)
- Squid - A quick start guide(轉)GUIIDE
- Meterpreter GuideGUIIDE
- Guide to app architectureGUIIDEAPP