Upload
tess98
View
176
Download
8
Tags:
Embed Size (px)
Citation preview
1Copyright © 2007 ITGAIN GmbH
Gateway Monitor
Speedgain for DB2 - being able to look into the past
October 7th, 2008
Florian Boldt, itgain, Product Manager
2Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
3Copyright © 2007 ITGAIN GmbH
The way to the DB2 z/OS
DB2 Gateway(DB2-Connect)
DB2 Server(DB2 for z/OS)
DB2 Client(DB2-Runtime-Client)
Client Network Server Network
4Copyright © 2007 ITGAIN GmbH
The way to the DB2 z/OS - in detail
DB2
CONNECT
APPLICATION
CLI
DRIVER
COMM
DRIVER
DEV
DRIVER
TCP/IP
USS
DDF
DB2MSTR
CLIENT
COMM
SERVER
COMM
DRDA
COMM
Client DB2 - Connect z/OS
5Copyright © 2007 ITGAIN GmbH
The Problem
6Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
7Copyright © 2007 ITGAIN GmbH
Available data sources from IBM
- Command Level Interface Trace (Application)
- JDBC Trace (Application)
- DB2PD (memory settings and sysplex information from DB2 connect )
- GET SNAPSHOT for DCS databases/applications (DB2 connect)
- DRDA trace (DB2 connect)
- DB2 PING (DB2 connect, Network, DB2 server)
- NETSTAT (TCP/IP)
- DIS DDF DETAIL (DDF)
- DIS THREAD DETAIL (DB2 z/OS)
- DIS DB LOCKS (DB2 z/OS)
- Accounting Trace (DB2 z/OS)
11 data sources!
Collect at the same time and
join the information
8Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
9Copyright © 2007 ITGAIN GmbH
The Speedgain for DB2 Gateway Monitor targets
Use all existing data sources to collect performance relevant data.
Collect within one snapshot and create a consistent view.
Store the data in a relational model to make analyzing for varying criteria easy (via SQL).
Keep the performance data available for days or weeks to make trend analysis possible.
Locate the bottleneck of a DRDA transaction and show the facts for each involved component
10Copyright © 2007 ITGAIN GmbH
The Speedgain for DB2 Gateway Monitor Design
Take a snapshot of all in a DRDA transaction involved components at the same time and store the performance data with an unique key/timestamp.
Store the performance data into a DB2 LUW database to support flexible visualization and reporting.
Speedgain for DB2 Gateway Monitor is a tool for DB2 administrators and uses DB2 access, query and communication Techniques for internal processing
It is too expensive and too difficult to monitor a running system via permanent traces
11Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
12Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor (DB2 Connect)
13Copyright © 2007 ITGAIN GmbH
The monitoring system – Speedgain for DB2
Collect 24/7
Store/compare
Analyze/ compute/ alert/ report
Speedgain collector
Speedgain performance
database (PDB)
Speedgain GUI
14Copyright © 2007 ITGAIN GmbH
Universal Driver Support (JDBC Type 4)
Application Server DB2 z/OS
DDF DBM1
Application Threads
DB2 Clients Aktive Connections
Inaktive Connections
Pooled DBATs
Aktive DBATs
Application Connection Pooling Thread Pooling
Spe
edgain
JDB
C T
ype
4
Collector
PDB(DB2)
LUW-ID
JRE
Spe
edgain U
DF
15Copyright © 2007 ITGAIN GmbH
Data Sources (DB2 z/OS)
- IFI Records (z/OS)• 0001 System Statistics (DDF)• 0148 Data Base Access Threads (DBAT)• 0148 Accounting (DBAT)• 0148 Lock statistics (DBAT)• 0316 Dynamic Statement Cache• 0124 Active Stements
- TCP/IP (netstat)
- USS (Thread information, BPXPARMS)
- MVS (RMF, CPU, SIO)
- MVS Enclaves (WLM-API, SMF type 30 und 72)
16Copyright © 2007 ITGAIN GmbH
Data Sources (DB2 connect, Network, Application)
- DCS Snapshot Data• DCS Gateway Database Data• DCS Application Data• DCS Statement Data• DCS Transmission Data
- DB2 PING
- Native Ping
- Universal Driver (JDBC Type 4)
17Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
18Copyright © 2007 ITGAIN GmbH
Cost of operation- Hardware for collector and Performance Data Base
- DB2 connect resources (snapshots) / JDBC exits and fetch process
- Network traffic
- Mainframe CPU time (DB2 trace and UDF)
19Copyright © 2007 ITGAIN GmbH
Cost of operation
20Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
21Copyright © 2007 ITGAIN GmbH
Benefits
- Easy to install and easy to maintain
- 24 x 7
- Threshold Control Center (threshold violations)
- User Exit for threshold violations
- Historic Mode
- High Level Monitoring (DCS information only)
- Data Sharing support
- Workload Graphs
- Hitratios
22Copyright © 2007 ITGAIN GmbH
Gateway Monitor Screenshots
23Copyright © 2007 ITGAIN GmbH
Gateway Monitor Screenshots
24Copyright © 2007 ITGAIN GmbH
Speedgain for DB2 Gateway Monitor
• DRDA – The way to the DB2 for z/OS
• Conventional Problem Determination
• Speedgain targets and design
• Speedgain architecture and data sources
• Cost of operation
• Benefits
• Recommendations for collector settings
Agenda
25Copyright © 2007 ITGAIN GmbH
Recommendations for collector settings
Problem determination
26Copyright © 2007 ITGAIN GmbH
Recommendations for collector settings
Monitor a well running system (save resources)
27Copyright © 2007 ITGAIN GmbH
Speedgain Gateway Monitor Trial is available
28Copyright © 2007 ITGAIN GmbH
Questions, Trial Request, Comments?
European Sales:
Nils Kaden
US Sales:
Stephen Rubin
further information: http://www.itgain.de
29Copyright © 2007 ITGAIN GmbH
Questions