ASM Command Line Utility(332180.1

Please download to get full document.

View again

of 3
All materials on our website are shared by users. If you have any questions about copyright issues, please report us to resolve them. We are always happy to assist you.
Information Report
Category:

Documents

Published:

Views: 3 | Pages: 3

Extension: PDF | Download: 0

Share
Related documents
Description
oracle
Tags
Transcript
  25/10/2017 Document 443529.1https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=f6dw77yhu_1525&id=443529.1 1/3 Database 11g / 12c: Quick Steps to Package and Send Critical Error Diagnostic Information toSupport [Video] (Doc ID 443529.1) In this Document  GoalSolutionReferences APPLIES TO: Oracle Database - Enterprise Edition - Version 11.1.0.6 and later Information in this document applies to any platform. ***Checked for relevance on 10-12-2015*** GOAL Starting with Oracle11g, alert and trace information is generated in a new format and stored in the Automatic DiagnosticRepository (ADR). Refer to Document 422893.1 to know the ADR in detail. This article explains how to find and send the alert.log and relevant trace files to Oracle Global Software Support when acritical error occurs in database, using the ADRCI tool. SOLUTION Oracle11g provides tools and methods to automatically identify and gather trace files related to a problem (a critical errorin the database environment) or an incident (an occurrence of a problem). This facility is known as the Incident PackagingServices (IPS). The Support Workbench (GUI) and ADRCI (command line) utilities are the two interfaces to the IncidentPackaging Services. Every occurrence of a critical error (problem) in the database creates an incident.  Steps in identifying and sending files to support.   1. You are notified of a critical error reported in the database environment:   SQL> select * from atab; select * from atab * ERROR at line 1: ORA-01578: ORACLE data block corrupted (file # 6, block # 11) ORA-01110: data file 6: '/opt/oracle/oradata/db11g/tt.dbf' 2. Check for the error reported in the instance alert file and in the ADR.  To check for the error reported in the ADR: With the 11g / 12c environment being set, from the OS command prompt invoke the ADRCI utility: $ adrci Let ADRCI know which Oracle environment to investigate: adrci> show home --show home will list all the ADR homes. Set the proper database ADR home for use with ADRCI. adrci> set homepath database_home  25/10/2017 Document 443529.1https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=f6dw77yhu_1525&id=443529.1 2/3 Check for the problems reported: adrci> show problem ADR Home = /opt/oracle/diag/rdbms/db11g/db11g: ************************************************************************* PROBLEM_ID PROBLEM_KEY LAST_INCIDENT LASTINC_TIME ------------ -------------- --------------- --------------------------------- 1 ORA 1578 18104 2009-06-01 22:06:19.501207 +10:00 1 rows fetched  You can have multiple problems reported. Create a package for the one which needs to be investigated.  3. Check for the incidents reported for the problem which needs to be packaged  Each occurrence of the problem is called an 'incident'. The instance alert file will show all the incidents reported. Eachincident will be associated with a unique incident id in the ADR. From the ADRCI prompt, execute the 󰁓󰁈󰁏󰁗󰁉󰁎󰁃󰁉󰁄󰁅󰁎󰁔        command for the problem to be investigated, by specifying theassociated problem key. You can get the problem key from the 󰁓󰁈󰁏󰁗󰁐󰁒󰁏󰁂󰁌󰁅󰁍 command: adrci> show incident -p problem_key='ORA 1578'  ADR Home = /opt/oracle/diag/rdbms/db11g/db11g: ************************************************************************* INCIDENT_ID PROBLEM_KEY CREATE_TIME --------------- ------------------------ ---------------------------------- 18147 ORA 1578 2009-06-01 22:02:08.805002 +10:00 1 rows fetched  You can see multiple incidents reported for the same problem. Note the incident number for which you need to create a package.  4. Package the trace files invoking IPS.  Generate the package using the 󰁉󰁐󰁓󰁐󰁁󰁃󰁋        command and store the generated package in a directory of your choice. Theexample below shows the package for the incident will be created in the /tmp directory. adrci> ips pack incident 18147 in /tmp Generated package 9 in file /tmp/ORA1578_20090602113045_COM_1.zip, mode complete If at this step the ADRCI utility complains that the incident was flood-controlled and that no package can be generated forit, then instead of choosing the most recent incident to be packaged, choose the first incident that occurred after aninstance startup. Examples of 󰁉󰁐󰁓󰁐󰁁󰁃󰁋        include: ips pack problem 100 in /tmp --Generates the package for the problem id 100 in /tmp ips pack incident 6439 in /tmp --Generates the package for the incident id 6439 in /tmp ips pack problemkey ORA 1578  --Generates the package for the problem with the problem_key 'ORA 1578' ips pack seconds 8 --Generates the package with the incidents occurred in last 8 seconds. ips pack time '2007-05-01 10:00:00.00' to '2007-05-01 23:00:00.00' --Generates the package with the incidents occurred between the times '2007-05-01 10:00:00.00'and '2007-05-01 23:00:00.00'  25/10/2017 Document 443529.1https://support.oracle.com/epmos/faces/DocumentDisplay?_adf.ctrl-state=f6dw77yhu_1525&id=443529.1 3/3 Upload the ZIP file generated to the Service Request you created on the My Oracle Support website . This file will includeall the trace files, instance alert file and other diagnostic information for the critical error. Make sure that the ZIP file isuploaded WITHOUT any post processing (such as TAR).  Video - Quick Steps to Create IPS Package (02:30)  REFERENCES NOTE:738732.1 - ADR Different Methods to Create IPS Package NOTE:422893.1 - Understanding Automatic Diagnostic Repository. NOTE:778.1 - Troubleshooting Video Issues in MOS Didn't find what you are looking for?
We Need Your Support
Thank you for visiting our website and your interest in our free products and services. We are nonprofit website to share and download documents. To the running of this website, we need your help to support us.

Thanks to everyone for your continued support.

No, Thanks