29
1 Copyright © 2007 ITGAIN GmbH Gateway Monitor Speedgain for DB2 - being able to look into the past October 7th, 2008 Florian Boldt, itgain, Product Manager

mehr

  • Upload
    tess98

  • View
    176

  • Download
    8

Embed Size (px)

Citation preview

Page 1: mehr

1Copyright © 2007 ITGAIN GmbH

Gateway Monitor

Speedgain for DB2 - being able to look into the past

October 7th, 2008

Florian Boldt, itgain, Product Manager

Page 2: mehr

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

Page 3: mehr

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

Page 4: mehr

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

Page 5: mehr

5Copyright © 2007 ITGAIN GmbH

The Problem

Page 6: mehr

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

Page 7: mehr

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

Page 8: mehr

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

Page 9: mehr

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

Page 10: mehr

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

Page 11: mehr

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

Page 12: mehr

12Copyright © 2007 ITGAIN GmbH

Speedgain for DB2 Gateway Monitor (DB2 Connect)

Page 13: mehr

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

Page 14: mehr

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

Page 15: mehr

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)

Page 16: mehr

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)

Page 17: mehr

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

Page 18: mehr

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)

Page 19: mehr

19Copyright © 2007 ITGAIN GmbH

Cost of operation

Page 20: mehr

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

Page 21: mehr

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

Page 22: mehr

22Copyright © 2007 ITGAIN GmbH

Gateway Monitor Screenshots

Page 23: mehr

23Copyright © 2007 ITGAIN GmbH

Gateway Monitor Screenshots

Page 24: mehr

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

Page 25: mehr

25Copyright © 2007 ITGAIN GmbH

Recommendations for collector settings

Problem determination

Page 26: mehr

26Copyright © 2007 ITGAIN GmbH

Recommendations for collector settings

Monitor a well running system (save resources)

Page 27: mehr

27Copyright © 2007 ITGAIN GmbH

Speedgain Gateway Monitor Trial is available

Page 28: mehr

28Copyright © 2007 ITGAIN GmbH

Questions, Trial Request, Comments?

European Sales:

Nils Kaden

[email protected]

US Sales:

Stephen Rubin

[email protected]

further information: http://www.itgain.de

Page 29: mehr

29Copyright © 2007 ITGAIN GmbH

Questions