11.07.2015 Views

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

Oracle Database 11 g - Online Public Access Catalog

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

62 CHAPTER 2 ■ DATABASE DIAGNOSABILITY AND FAILURE REPAIRFor example, if you set the diagnostic_dest parameter to /u05/app/oracle, the ADR homefor an <strong>Oracle</strong> database with an identical SID and database name of prod1, would be as follows:/u05/app/oracle/diag/rdbms/prod1/prod1/In the previous example, product_type is rdbms since you’re dealing with a database. Ineach ADR home directory, you’ll find subdirectories where <strong>Oracle</strong> stores diagnostic data forthat instance. The following are the important subdirectories in the ADR home directory:• alert: Contains the alert log for the instance (in XML format)• cdump: Contains the core files• hm: Contains Health Monitor reports• incident: Contains subdirectories for each incident, containing all trace dumps foran incident• incpkg: Contains the incident packages you create for uploading to <strong>Oracle</strong> Support• ir: Contains the incident reports for the instance• trace: Stores user session trace filesYou can query the V$DIAG_INFO view to find out where all the ADR-related locations are:SQL> select name, value from v$diag_info;NAMEVALUE------------------- ---------------------------Diag EnabledTRUEADR Base/u01/app/oracleADR Home/01/app/oracle/diag/rdbms/prod/prod1Diag Trace/u01/app/oracle/diag/rdbms/prod/prod1/traceDiag Alert/u01/app/oracle/diag/rdbms/ prod/prod1/alertDiag Incident/u01/app/oracle/diag/rdbms/prod/prod1/incidentDiag Cdump/u01/app/oracle/diag/rdbms/ prod/prod1/cdumpHealth Monitor/u01/app/oracle/diag/rdbms/ prod/prod1/hmDefault Trace File /u01/app/oracle/diag/rdbms/ prod/prod1/trace/eleven_ora_9417.trcActive Problem Count 3Active Incident Count 8SQL>As you can see, the V$DIAG_INFO view also shows the number of active problems andincidents in the database.Now that you have learned about the basic structure of the new fault diagnosability infrastructure,you can turn your attention to investigating and resolving problems by using thisdiagnostic framework.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!