Viewing Incidents Viewing Problems and Incidents

Diagnosing Problems 13-21 ■ packageName consists of a portion of the problem key followed by a timestamp. ■ mode is either COM or INC, for complete or incremental. ■ sequence is an integer. For example, to package an incident, take the following steps: 1. Set the ORACLE_HOME and LD_LIBRARY_PATH environment variables to point to the following directory: MW_HOMEwlserver_10.3serveradr 2. Invoke ADRCI. For example: MW_HOMEwlserver_10.3serveradradrci 3. Use the SET BASE command to specify the ADR Base and the SET HOMEPATH command to specify the ADR home that contains the incident. The path for the HOMEPATH is relative to the ADR Base. SET BASE scratchoracle1OracleMiddlewareuser_projectsdomainssoa_ domainserverssoa_server1adr SET HOMEPATH diagofmsoa_domainsoa_server1 4. Generate the logical package: IPS CREATE PACKAGE INCIDENT incident_number For example, the following command creates a package based on incident 1: IPS CREATE PACKAGE INCIDENT 1 Created package 1 based on incident id 1, correlation level typical ADRCI assigns the logical package a number. 5. Optionally, you can add diagnostic information to the logical package. You can add the following types of information: – All diagnostic information for a particular incident. For example, you can add another incident that you think might be related to the incident you are packaging, using the following command: IPS ADD INCIDENT incident_number PACKAGE package_number – A named file within the ADR. For example, if an incident is related to an application, you can add the .ear file for the application. You can also add a readme file with notes you provide to Oracle Support. For example, to add a file to the package, use the following command: IPS ADD FILE filespec PACKAGE package_number 6. Generate the physical package using the following command: IPS GENERATE PACKAGE package_number IN path For example, to generate a package with the number 1, use the following command: IPS GENERATE PACKAGE 1 in tmp Generated package 1 in file tmpBEA337Web_20100223132315_COM_1.zip, mode complete This generates a complete physical package zip file in the designated path. 13-22 Oracle Fusion Middleware Administrators Guide

13.4.4.3 Generating an RDA Report

You can use the Remote Diagnostic Agent RDA, a command-line diagnostic tool, to provide a comprehensive picture of your environment. Additionally, RDA can provide recommendations on various topics, for example configuration and security. This aids you and Oracle Support in resolving issues. RDA is designed to be as unobtrusive as possible; it does not modify systems in any way. A security filter is provided if required. For more information about RDA, see the readme file, which is located at: UNIX ORACLE_HOMErdaREADME_Unix.txt Windows ORACLE_HOME\rda\README_Windows.txt

13.4.4.4 Purging Incidents

By default, incidents are purged when the total size of all incidents exceed 500 MB. You can use the maxTotalIncidentSize MBean parameter to change this value, as described in Section 13.3.1 . You can manually purge incidents using the ADRCI command. You can purge based on an ID or range of IDs, the age of the incident, or the type of incident. For example, to purge incidents that are older than 60 minutes, use the following command: purge -age 60 See the ADRCI: ADR Command Interpreter chapter of the Oracle Database Utilities. See Also: The ADRCI: ADR Command Interpreter chapter of the Oracle Database Utilities