In this Document (Doc ID 289690.1)
| Purpose |
| File Formats for Data Uploaded to Oracle Support |
| Troubleshooting Steps |
| 1. Data Gathering for All Oracle Clusterware Issues |
| 2. Data Gathering for Node Reboot/Eviction |
| 3. Data Gathering for All Real Application Cluster Issues |
| 4. Data Gathering for Real Application Cluster Performance/Hang Issues |
| 5. Data Gathering for Oracle Clusterware Installation Issues |
| 5.1. Failure before executing root script.: |
| 5.2. Failure while or after executing root script |
| Appendix A. RDA |
| Appendix B. OS logs |
| Appendix C. systemstate and hanganalyze in RAC |
| References |
This note lists what to collect for different type of Oracle Clusterware and Real Application Cluster issues, it's not mandatory to upload all the files to open a SR, however, it will speed up the resolution if all relevant info are uploaded.
Oracle Support requests that you upload compressed files grouped together by node and labeled as such in a standard format, such as .tar, .gz, .Z or .zip.
Older runs of diagcollection or any other files (i.e. if diagcollection was run a few days or weeks back) may not provide current log information which can delay the resolution.
Provide current diagcollection output from all nodes in the cluster.
Note 330358.1 - CRS 10gR2/ 11gR1/ 11gR2 Diagnostic Collection Guide
Note 272332.1 - CRS 10gR1 Diagnostic Collection Guide
Provide files in Section "Data Gathering for All Oracle Clusterware Issues" and the followings:
Note 301137.1 - OS Watcher User Guide
Note.433472.1 - OS Watcher For Windows (OSWFW) User Guide
From all nodes:
$ grep "2010-09-02 03" *.trc | awk -F: '{print $1}' | sort -u |xargs tar cvf trace.`hostname`.`date +%Y%m%d%H%M%S`.tar $ gzip trace*.tar
For pre-11g, execute the command in bdump and udump to identify the list of files.
For 11g+, execute the command in ${ORACLE_BASE}/diag/rdbms/$DBNAME/${ORACLE_SID}/trace to identify the list of files
Provide files in Section "Data Gathering for All Real Application Cluster Issues" and the following:
Note 301137.1 - OS Watcher User Guide
Note.433472.1 - OS Watcher For Windows (OSWFW) User Guide
For 11gR2: note 1056322.1 - Troubleshoot 11gR2 Grid Infrastructure/RAC Database runInstaller Issues
For pre-11.2: note 406231.1 - Diagnosing RAC/RDBMS Installation Problems
Provide files in Section "Data Gathering for All Oracle Clusterware Issues" and the following:
It's recommended to provide the latest RDA from for all issues from all nodes in the cluster
Note 314422.1 - Remote Diagnostics Agent (RDA)
OS logs are in the following directory depending on platform.:
Note: From 11gR2, OS logs are part of diagcollection on Linux, Solaris, HP-UX.
To collect hanganalyze and systemstate in RAC, execute the following on one instance to generate cluster wide dumps:
a - Connect to sqlplus as sysdba: "sqlplus / as sysdba";
if this does not work, use "sqlplus -prelim / as sysdba"
b - Execute the following commands:
SQL> oradebug setospid
SQL> oradebug unlimit
SQL> oradebug -g all hanganalyze 3
##..Wait about 2 minutes
SQL> oradebug -g all hanganalyze 3
SQL> oradebug -g all dump systemstate 258
If possible, take another one at level 266 instead of 258If SGA is large or fix for bug 11800959 (fixed in 11.2.0.2 DB PSU5, 11.2.0.3 and above) is not applied, level 266 could take very long time and generate a huge trace file and may not finish in hours.
SQL> oradebug setospid
SQL> oradebug unlimit
SQL> oradebug -g all dump systemstate 266##..Wait about 2 minutes
SQL> oradebug -g all dump systemstate 266
Please upload *diag* trace from either bdump or trace directory.
SQL> oradebug setmypid
SQL> oradebug unlimit
SQL> oradebug hanganalyze 3
##..Wait about 2 minutes
SQL> oradebug hanganalyze 3
SQL> oradebug dump systemstate 258
SQL> oradebug tracefile_name
Please upload the trace file listed above.
If ASM is involved, collect hanganalyze and systemstate from ASM with the instruction above.
Database - RAC/Scalability 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 Database - RAC/Scalability Community
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/15747463/viewspace-773297/ ,如需转载,请注明出处,否则将追究法律责任。