140 likes | 284 Views
Cross-Component Problem Determination Based on Logs and Common Base Events Dr. Friedemann Schwenkreis. Outline. What is problem determination? The interaction of multiple components. Log files and correlating them Common Base Events: A canonical means to transport information
E N D
Cross-Component Problem Determination Based on Logs and Common Base EventsDr. Friedemann Schwenkreis HPTS
Outline • What is problem determination? • The interaction of multiple components. • Log files and correlating them • Common Base Events: A canonical means to transport information • The eclipse TPTP project • Questions HPTS
What is a Problem? • Invocation is rejected (non-availability problem) • Service is incorrectly performed (failure problem) • Service is correctly performed with some exceptions or additional information (potential problem) • Service is correctly performed • Quality of service requirements (e.g. timing problem) HPTS
Problem Determination • Problem Detection • Simple in case of failures or non-availability • Difficult in case of potential problem cases • Hard when applications do not detect the problem • Localizing the cause • Relatively easy in a single component because all problem information is in a single log. • Difficult if the problem is caused by of other components because log information needs to be correlated first. HPTS
BPC Log Component Interaction DB2Log Process Choreographer WebSphereProcess Server DB2 Universal Database AppServer Log WebSphereApplication Server AIXLog AIX HPTS
Example: Disk Full • AIX: file system full error • DB2: tablespace full error • WebSphere Application Server: transaction rollback exception • Process Choreographer: audit log exception HPTS
Correlating Log File Information • Problem: • Propriatory log formats • Non-uniform/component specific log content • Idea: • Introduce common format (skeleton / basis) • Agree on common content • Agree on common usage of values HPTS
Common Base Events (CBEs) • Eclipse Hyades project (now: Test and Performance Tools Platform) • Fixed content: • Name, time, identification, severity • Source component identification • Situation • Variable content: • Extended context elements • Extended data elements • Extended properties HPTS
Advantages of Common Base Events • Analysis tools from multiple sources/vendors • Enable Cross-component analysis • Extensible: Generate CBEs in your application HPTS
Generic Log Adapter CBEbasedlog file entry Componentspecificlog file entry Transformation Rules Component specificadapterplugin HPTS
Example: DB2 log HPTS
Example: DB2 log HPTS
Log and Trace Analyzer AIX Log & TraceAnalyzer Visualization Flow DB2 WAS Correlation Rules BPC ... HPTS
Questions? www.eclipse.org/tptp/home/documents/eclipseCon2005/index.htmlwww.ibm.com/software/awdtools/architect/swarchitect/index.html Friedemann Schwenkreis - fschwenk@de.ibm.com HPTS