+ All Categories
Home > Documents > DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2:...

DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2:...

Date post: 06-Mar-2018
Category:
Upload: phammien
View: 234 times
Download: 7 times
Share this document with a friend
60
MICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO Gunning Technology Solutions, LLC
Transcript
Page 1: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2: ALL Platforms

DB2 CONNECT: Installation and

Configuration

Philip K. Gunning

President and CEO

Gunning Technology Solutions, LLC

Page 2: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 ™ is a registered trademark of IBM Corporation.

Oracle is a registered trademark of Oracle Corporation

and SQL Server is a registered trademark of Microsoft.

DB2 Universal Database (DB2 UDB) is a registered

trademark of International Business Machines Corp.

Other logos and product/trade names are registered

trademarks or trademarks of their respectivecompanies.

Page 3: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

Planning Steps

Use a methodology

Build project plan to support application development

project or separate plan if stand - alone project

Set-up kickoff meeting with all team players

Coordinate the plan

Agree on target dates

Page 4: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Outline Planning

Architecture

Types of DB2 connect

Installation and configuration

Performance

Distribution

What’s new in v7.1

What’s new in v8

Problem determination

Workload manager and stored procedures

Page 5: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect implements Distributed Relational Database

Architecture (DRDA)

DB2 Connect provides access as an Application Requester (AR)

to DRDA Application Servers (AS) on OS/390, MVS, AS/400, VM,

and VSE platforms

Supports distributed computing with access from Visual Basic,

PowerBuilder, Excel, MS Access, and other applications via

ODBC and CLI interfaces

DB2 Connect

Page 6: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

ODBC

DB2 CLI

JDBC

SQLJ

OLE DB

DB2 Connect APIs

Hmm…

How do I do this?

Page 7: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect Options

DB2 Connect Personal Edition (PE)

Single user

TCP/IP or SNA

As of v7.1, no integrated SNA stack

DB2 Connect Enterprise Edition

Concurrent users

TCP/IP or SNA

Need SNA stack

Page 8: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

Windows 95/98/ME / NT/2000/XP (FP5)

OS/2 Warp

LINUX

HP-UX

Solaris

AIX (-DB2 Connect PE)

DB2 Connect Platforms

Page 9: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Typical Environment

Client

System Database Directory

Node Directory

Server (Gateway)

System Database Directory

DCS Directory

Node Directory

Page 10: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Typical Environment

DB2 Connect EE and on Windows NT/2000

Prod and test servers

Hundreds to thousands of users

DB2 Connect PE (For PeopleSoft) on Windows

workstation

Hundreds to thousands of workstations

Page 11: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Components

Client Application Enabler (CAE)

Runtime Client in v6.1 and above

Provides ODBC driver and some utilities on client

machine

Control Center

Administration client in v6.1

Monitoring of DB2 Connect performance and users

Page 12: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Components (EE)

Communication to host database requires either

TCP/IP or SNA stack

IBM Communication Server for Windows NT

MS SNA Server

Etc.

Page 13: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Setup

Install EE on server

Installer is SYSADM and must have an ID that meets

DB2 requirements, EE installed as a service

Enable communications protocols that you want to

use

DB2SET DB2COMM=TCPIP, NPIPE, APPC,

IPXSPX,NETBIOS

No longer supported in v8

Page 14: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Setup Next step is to catalog the OS/390 database using the command

line: CATALOG TCPIP NODE DB2DSNP REMOTE hera SERVER 446

CATALOG DB DSNP AS DB2DSNP AT NODE DB2DSNP AUTHENTICATION DCS

CATALOG DCS DB DSNP AS BOSCOV_BOSDSNP

Create a configuration checklist to use to aid in setting up servers/clients

Can use Client Configuration Assistant (CCA)

Page 15: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Setup

Make sure your SNA stack starts up automatically

Change default TCP/IP stack settings

Generate client profile

Page 16: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Client Setup

If Windows NT/2000/XP must be local administrator

Windows 95/98/ME user ID not needed

Install Runtime Client

Page 17: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Client Setup

Can customize the install

Can configure several different ways:

CCA (manually or discover)

Import client profile

Through the command line

Lightweight Directory Access Protocol (LDAP)

IBM Secure Way Directory Services

Microsoft Active Directory

Page 18: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Client Setup

Client footprint was 35MB to 100 MB in v5.2

Runtime Client is now 25MB in v7.1

Administration Client in v7.1 is 125MB

Page 19: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Directory Structure

Windows

Workstation

S

E

R

V

E

R

z/OS

DB2 UDB for

OS/390 & z/OS

RUNTIME CLIENT

ADMIN CLIENT

SQLNODIR

SQLDBDIR

SQLNODIR

SQLDBDIR

SQLGWDIR

DB2

PRIVATE

PROTOCOL TCP/IP

SNA

EE

DRDA in V8

Page 20: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect Flow

SQL Directories Authentication DB2 Connect

RACF OS/390

DDF DBAS IRLM SSAS

DB2 for OS/390

BSDS A/P

OEMVS

Communication

Component

Communications

Component

Workload Manager

Page 21: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Last Step Bind utilities using either the command line or CCA

CONNECT TO DSNP USER TSODPKG USING PW

BIND DDSCMVS.LST BLOCKING ALL SQLERROR CONTINUE MESSAGES MVS.MSG GRANT PUBLIC

CONNECT RESET

CONNECT TO DSNP USER TSODPKG USING PW

BIND DDCSMVS.LST BLOCKING ALL SQLERROR CONTINUE MESSAGES MVS.MSG GRANT PUBLIC

CONNECT RESET

Page 22: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Last Step

Must have BINDADD and CREATIN authority

Must bind from each type of platform

NT/XP SERVER

NT/XP WORKSTATION

Windows 95, 98, 2000

Have different packages

Security aspects need to be considered

Page 23: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Notes

Can install more than one release in a subsystem as all

releases use different package names

Page 24: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

TCP/IP

CDB is not used for inbound requests

STEP 1

Define port and resport to TCP/IP on OS/390 in

profile dataset

Procedure name must be OMVS

Define service name and port in services dataset on

OS/390

Page 25: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

TCP/IP

STEP 2

Update bootstrap dataset using DSNTIJUZ with new

port numbers (Note: specify 0 if not using TCP/IP to

prevent messages)

Optionally enable extended security to allow users to

change passwords

Page 26: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

TCP/IP

STEP 3

Define DDF user ID for open edition as a super user

Setup DDF

Setup RACF

Test in a checkout or tech subsystem

Can use SNA and TCP/IP access to a subsystem

concurrently

Page 27: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

TCP/IP

Look for tuning opportunities

Cancel DDF threads

Test applications

Page 28: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

TCP/IP

TCP tuning on Windows

Send/receive space

Get Microsoft Technical Support article Q120642 for NT and Q158474 for Win 95/98

Default only 8192K

Set it to 64K for both

MTU

Ethernet range is from 60 to 1500

Page 29: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Tuning Blocking All

Deferred Prepare

RQRIOBLK

Pacing

DSESSLIM, DMINWNL and DMINWNR ON VBUILD TYPE=APPL

Commit On Return

Don’t forget the TCP/IP stack

Network cards

Page 30: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problems

CODEPAGE with DB2 v4.1

Might have to set manually on client

Might have to change on host

Read the readme doc with each release or Fix Pack

DB2COMM variable not set properly

Not making installation a coordinated effort

Page 31: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Distribution Challenges

Code server install

Possible performance issues

CCA files still need to be on the workstation

Ease of installing new releases

Systems management package to build a push package

Response file

Need a strategy with 100’s - 1,000’s of users

Page 32: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

Testing Methodology

TEST

SERVER

FIXPACK?

README

DOC! 9672-XX

DB2 FOR OS/390

DBA/TECH

SUBSYSTEM

DB2

CONNECT

EE PTFs?

APPLICATION

Page 33: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v7.1

What’s New

Connection Pooling*

Connection Concentration

Native OLE DB Provider

Integrated Data Joiner

ODBC File DSN AND Windows 2000 Active Directory Support

Static SQL Profiling

Single Sign-on Using Kerberos

Page 34: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v7.1

What’s New

Improved Administration For DB2 OS/390

Support For Tightly-coupled X/OPEN XA Transactions

Page 35: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 CONNECT EE NUM_POOLAGENTS

DB2 Connect v7.1

Connection Pooling

MAX_COORDAGENTS

DB2CONNECT_IN_AP_PROCESS

Idle Agent Pool

NUM_INITAGENTS

Page 36: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

WHAT HAS TO BE DONE IN DB2 FOR OS/390?

DSNZPARMS:

POOL THREAD TIMEOUT

POOLINAC= > 0, (0-1999)

DDF THREADS

CMTSTAT=INACTIVE

NEW TYPE 2 INACTIVE THREAD USES

LESS STORAGE

OLD TYPE 1 FOR PRIVATE PROTOCOL

DB2 CONNECT V7.1

CONNECTION POOLING

Page 37: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

ENGINE DISPATCHABLE UNIT(EDU)

USED TO MAP 1 TO 1

NOW CONNECTION CONCENTRATOR

USES M TO 1 RELATIONSHIP BETWEEN

CONNECTIONS AND EDUs

WORKER AGENTS ARE PHYSICAL EDUs

THAT EXECUTE APPLICATION REQUESTS

BUT NO SPECIAL ATTACHMENT TO ANY

GIVEN APPLICATION

DB2 CONNECT V7.1

CONNECTION CONCENTRATION

Page 38: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v7.1

DDF Suspend

New command to suspend DDF so that DDL work can

be done

STOP DDF MODE(SUSPEND)

Page 39: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 CONNECT V7.1 SQL PROFILING

Hmm.. What do we have here?

[DSN1]

STATICMODE=CAPTURE

STATICPACKAGE=PHIL.MYPACKAGE

STATICCAPFILE=E:\Shared\MyApp.cpt

db2cli.ini file

UPON COMPLETION OF CAPTURE CHANGE

STATICMODE TO DISABLED OR JUST REMOVE

THE KEYWORD.

GENERATE STATIC PACKAGE WITH STATIC

PROFILING BIND TOOL, DB2CAP.

1.

2.

3.

CHANGE STATICMODE TO MATCH

STATICMODE=MATCH

STATICCAPFILE=E:\Shared\MyApp.CPT

4.

www.ibm.com/software/data/db2/udb/staticcli

Page 40: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v8

What’s New

New Client Architecture streamlines code and offers greatly

improved performance for all APIs

New DB2 Connect Application Server Edition

Dynamic Configuration of parameters

Improved performance for large result set transfers

Can use Health Center and Health Monitor to monitor performance

Enhanced OLE DB provider supports for LOB data types

New Type 4 JDBC driver

Development Center

WebSphere Studio Integration

Microsoft Visual Studio Integration

Page 41: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v8

OLD Driver Implementation

CLI

ODBC

JDBC

SQLJ

OLE DB

Page 42: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v8

Improved Drivers and Network

Layer Interface

CLI

ODBC

JDBC

SQLJ

OLE DB

.NET

Page 43: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v8

Relational Connect

Relational Connect will not be upgraded to V8

IBM’s stated direction is to launch a new product along with the

Life Services component

If you are running this now, have to stay on v7 until new

product ready

Page 44: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v8

NO SNA SUPPORT

Only connectivity option to Z/OS and iseries is TCP/IP

SNA support to be added back in Fixpack

Page 45: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v8

Application Server Edition

DB2 Connect Application Server Edition

Identical to DB2 Connect Enterprise Edition

Designed for large-scale, demanding environments

License charges are based on number of processors

used by the Web servers or application servers

Page 46: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

What is the error?

Where is it occurring?

When did it happen?

What has changed?

Can it be recreated?

What type of problem is it?

Page 47: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

Most often it is either a connection problem or a long -

running query

FIRST STEP

Rerun query on host to isolate the problem

Often overlooked first step but can isolate the problem

very quickly

Page 48: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

MSTR LOG

DB2DIAG.LOG

DB2.LOG (Install Error Messages)

DDCS Trace

SYS1.LOGREC

ODBC Trace

CLI Trace

Application Error Messages

Page 49: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

DB2DIAG.LOG

First Failure Data Capture (FFDC)

DB2ALERT.LOG

Contains serious error information messages identified by a DIAXXXXX and the location in which they have been reported

Matching entries in DB2DIAG.LOG and OS error logging (Event Viewer/SYSLOG)

Pointers to dump files

Page 50: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

DB2 for OS/390 MSTR Address Space Log

Connection Error Messages

Abends

DISPLAY THREAD(*) OUTPUT

Startup Errors

Page 51: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

CLI Trace

[COMMON]

;Trace=0 sets tracing off

Trace=1

TraceFileName=C:\TRACE\CLI9910.TXT

ODBC Trace

Select control panel icon

Define trace output file and start trace

Page 52: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

Problem Determination

DDCS Trace

DDCSTRC ON

DB2 Connect to HOSTDB2

Default output file is DDCSTRC.DMP

DDCSTRC OFF

Edit DDCSTRC.DMP

EXCSAT Blocks

EXCSATRD Blocks

Page 53: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect v7.1

Relational Connect

Allows native read-only access to Oracle, Sybase, and

SQL Server databases

No need to change SQL as DB2 Relational Connect

does it for you under the covers!

Separate Product

Page 54: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

“Let’s control them there enclaves and store procedures”

DB2 Connect v7.1

Workload Manager

REDBOOK, SG24-5326-00, OS/390 WORKLOAD

MANAGER IMPLEMENTATION AND EXPLOITATION

Page 55: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect Summary

Migrate to new versions for performance, feature, and

manageability improvements

Plan a distribution strategy before installing

Monitor => Tune => Monitor => Get It?

Look for new monitoring tools

Keep track of the CDs !

Get network folks involved

Learn troubleshooting methods

Page 56: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

References

GC09-2953-00, DB2 Connect EE Quick Beginnings for Windows

NT v7

GC09-2957-00, Installation and Configuration Supplement v7

GG24-3376-04, TCP/IP Tutorial and Technical Overview

SG24-2212-00, Wow! DRDA Supports TCP/IP: DB2 Server for

OS/390 and DB2 Universal Database

Page 57: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

References

A Complete Guide to DB2 Universal Database, Don Chamberlain

SC09-2915-00, DB2 Universal Database v6.1 Certification Guide

SC09-2791-00, The DB2 Universal DRDA Certification Guide

DB2 Universal Database Call Level Interface Developer’s Guide, Roger Sanders

Page 58: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

References

SC09-2954-00, DB2 Connect User’s Guide v7

GC09-2967-00, DB2 Connect PE Quick Beginnings v7

SG24-4894-00, The Universal Connectivity Guide To DB2

DB2 for OS/390, Development For Performance, Gabrielle

Wiorkowski

DB2 Developers Guide, 3rd Edition, Craig Mullins

http://www.ibmlink.ibm.com/usalets&parms=H_202-215

Page 59: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

MICHIGAN DB2 User’s Group

DB2 Connect

References

DB2 Answers!, Certified Tech Support, RYC, Inc.

SC23-2365, AIX v4 Performance And Tuning Guide

Download Fixpacks and clients at below URL:

http://www-4.ibm.com/cgi-

bin/db2www/data/db2/udb/winos2unix/support/fixflas

h.d2w/report

http://www.ibmlink.ibm.com/usalets&parms=H_202-215

DB2 Connect V8 Announcement

Page 60: DB2 CONNECT: Installation and Configuration · PDF fileMICHIGAN DB2 User’s Group DB2: ALL Platforms DB2 CONNECT: Installation and Configuration Philip K. Gunning President and CEO

Phil Gunning

Gunning Technology

Solutions, LLC

[email protected]

888.241.1070

Copyright 1999


Recommended