Professional Documents
Culture Documents
DFW Goals
First-failure diagnosis
Limiting damage and interruptions after a problem is
detected
Reducing problem diagnostic and resolution time
Simplifying customer interaction with Oracle Support
Definitions
Problem: A problem is a critical error in the product. Each problem
has a unique problem id and a key.
Problem key : A text string that includes an error code
Definitions (contd..)
WLDF
consists of a set of components that work together to collect, archive,
and access diagnostic information about a WebLogic Server instance
and its applications.
Harvester:
Definitions (contd..)
Automatic Diagnostic Repository (ADR): is a filebased repository for diagnostic data such as traces, dumps, the alert
log, health monitor reports, and more.
DFW Components
10
11
12
Threads
Execution Context (all active ones)
Active HTTP requests
Class histogram
DMS Metrics
Logs (by ECID)
Logs (by timestamp up to -/+ 5 minutes)
WLDF Server Image
13
14
Incident creation
Default set of dumps to execute
Rule based dump execution
15
16
17
Management Beans
18
19
listProblems()
Problem Id Problem Key
1
BEA-101020 [HTTP]
listIncidents(id=1)
Incident Id Problem Key
2 BEA-101020 [HTTP]
1 BEA-101020 [HTTP]
Incident Time
Fri Feb 26 13:42:01 PDT 2010
Tue Feb 23 06:17:39 PDT 2010
20
showIncident(id='1')
Incident Id: 1
Problem Id: 1
Problem Key: BEA-101020 [HTTP]
Incident Time: Tue Feb 23 06:17:39 PDT 2010
Error Message Id: BEA-101020
Execution Context: 0000IExqUvyAhKB5JZ4Eyf1Afdj600009i
Flood Controlled: false
Dump Files : dms_ecidctx1_i1.dmp jvm_threads2_i1.dmp
dms_metrics3_i1.dmp odl_logs4_i1.dmp odl_logs5_i1.dmp
diagnostic_image_AdminServer_2010_02_23_06_17_42.zip
readme.txt
21
executeDump(name='dms.metrics',
outputFile='/tmp/dumpout.txt', id='1')
Dump file dms_metrics1_i1.dmp added to incident 1
22
J.U.L/ODL
log message
logging.xml
create
invoke
Execute
dumps
load
application
Rules/register
dumps
Write message
Incident Filter
Create incident?
DDE
create incident
Execute
dumps
load
Default
rules
Register
Default
dumps
Server.log
ADR
23
24
WLDF Diagnostic
Watch
Notification
Register
Diagnostic
Rules
Image Bean
Write
Notify
1
Register
Invoke
Execute
Execute
Create
Incident
ADR
Component Dump
Application Dump
Write
25
26
28
EM Support Workbench
Manage reported problems
System alerted or user-reported
Manage life-cycle and history of problems found
Single target view, group view, stack view, enterprise view
30
31
Workbench - Problems
32
33
34
Workbench - Package
35
ADRCI Commands
HELP
SET BASE
SET HOMEPATH
SHOW ALERT
SHOW PROBLEM
SHOW INCIDENT
SHOW TRACEFILE
IPS CREATE PACKAGE
IPS GENERATE PACKAGE
PURGE
36
createIncident(messageId='MDS-50500',
description='sample incident')
Incident Id: 1 Problem Id: 4 Problem Key: MDS-50500 [MANUAL]
Incident Time: 23rd February 2010 11:55:45 GMT Error Message Id: MDS-50500
Flood Controlled: false
MW_HOME/wlserver_10.3/server/adr/adrci
Set ADR BASE and ADR HOMEPATH variables
IPS CREATE PACKAGE INCIDENT 1
Created package 1 based on incident id 1, correlation level typical
37
38
Additional References
DFW Links
FMW Diagnostics
39
40