Ims09 ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

129
IMS in a Sysplex Environment: Challenges and Solutions © 2014 IBM Corporation Nick Griffin World Wide IMS Software Group Sales Advisor IBM Silicon Valley Lab

description

IMS coupled with Sysplex technologies can greatly improve IMS's scalability, availability and performance. However, running IMS in a Sysplex environment brings some configurational and operational challenges. CF structures and SQ monitoring, transaction affinity management, long lock detection, buffer overflow protection, and RM structure management are task that IMS administrators have not dealt with before. Learn how to effectively cope with these challenges with IMS Sysplex Manager.

Transcript of Ims09 ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Page 1: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS in a Sysplex Environment: Challenges and Solutions

© 2014 IBM Corporation

Nick Griffin

World Wide IMS Software Group Sales Advisor

IBM Silicon Valley Lab

Page 2: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Agenda

� Product Highlights

� IMS Sysplex Review

� IMS Sysplex Challenges and Solutions– Shared Queues

– Data Sharing

– RM Resources

© 2014 IBM Corporation

20141

� Q & A

Page 3: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Manager Highlights

– Real-time management of the IMS Sysplex Environment• Single system image thru local and aggregate view of data

• Simplified User Interface (TSO/ISPF)

• Structured displays of IMS resources and CF structures

• Global Type-1 command, OM Type-2 and IMS SPOC

• Basic z/OS performance information and SVC dump capture

• Statistics for CSL (OM, RM and SCI), IRLM, VSO, and CQS

• Dashboard with key system indicators and threshold monitoring

• Intercept System exceptions and generate Console alerts

© 2014 IBM Corporation

20142

• Intercept System exceptions and generate Console alerts

• Produce real-time IRLM Long Lock Report

• Browse, delete and recover messages on Shared Queues

• Delete RM resource structure entries

• Assign affinity for transactions in Shared Queues environment

• Protect against buffer overflow in Shared Queues environment

– Support IMS DB/TM, DBCTL, and DCCTL for IMS v11 and later

Page 4: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

MVS1MVS4MVS3MVS2

CQS1 CQS2

SCI1 RM1 OM1 SCI2 RM2 OM2

IMS Sysplex Manager Sample Configuration

IMSSM DC

IMSSM DC

IMS1 IMS2

IMS Connect IMS Connect

FDR1

© 2014 IBM Corporation

20143

IMSSM UIS

IMSSM UIS

FDR1 FDR2

Page 5: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Review

© 2014 IBM Corporation

20144

Source: IMS Redbook (SG24-6908-00)

Page 6: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Review - Components

V13V13

© 2014 IBM Corporation

20145

Source: IMS RedbookSource: IMS Redbook (SG24-6908-00)

IRLM

IRLM Lock

V13

Page 7: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMSplex Configuration

© 2014 IBM Corporation

20146

Source: IMS Redbook (SG24-6908-00)

Page 8: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

20147

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 9: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues

–Transaction affinity– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

20148

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 10: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Transaction affinity – The Challenges

�Force local affinity for efficiency

�Assign affinity to specific IMS due to resource availability

�Reduce false-scheduling overhead

�Reduce contention

© 2014 IBM Corporation

20149

�Reduce contention

Page 11: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Sysplex Manager Tool - Transaction Affinity Highlights

�Finer control of transaction scheduling

�Non-invasive to existing definition and operation– No omission of transaction definitions in sysgen– No stopping of transactions– No re-classing of dependent regions – No operational impact for loss of a system

© 2014 IBM Corporation

201410

�User defined affinity to route transaction messages– Any IMS in the shared queues group– Any subset of IMS systems– Equal or weighted distribution

Page 12: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Affinity Routing Statistics – System View

© 2014 IBM Corporation

201411

Page 13: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Affinity Routing Statistics – Update System

© 2014 IBM Corporation

201412

Page 14: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Affinity Routing Statistics – Destination View

© 2014 IBM Corporation

201413

Page 15: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Affinity Routing Statistics – Update Destination

© 2014 IBM Corporation

201414

Page 16: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Affinity Routing Statistics – Add Destination

© 2014 IBM Corporation

201415

Page 17: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

–CF structures and log streams– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201416

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 18: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Review – IMS CF structures and log streams

Log streams

(CQS, OM,

© 2014 IBM Corporation

201417

Source: IMS Redbook (SG24-6908-00)

(CQS, OM, RS)

Page 19: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS CF Structures and log streams – The Challenges

�Growing use of Coupling Facility Structures – Data Sharing, Shared Message Queues, Resource Manager, CQS log streams

– No single source for list of in use structures and details

�Check log stream attributes

© 2014 IBM Corporation

201418

�Monitor offload activities

Page 20: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - IMS CF Structures and log streams

�Real-time display of structure list

�Statistics, Connections, Coupling Facility information

�Structure rebuild and checkpoint stats

© 2014 IBM Corporation

201419

�Log streams attributes and offload monitoring

Page 21: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Coupling Facility Structures

© 2014 IBM Corporation

201420

Page 22: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Coupling Facility Structures

© 2014 IBM Corporation

201421

Page 23: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Shared VSO structures

© 2014 IBM Corporation

201422

Page 24: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Shared VSO structures

© 2014 IBM Corporation

201423

Page 25: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

CQS Structures

© 2014 IBM Corporation

201424

Page 26: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

CQS Structures

© 2014 IBM Corporation

201425

Page 27: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

CQS Structures

© 2014 IBM Corporation

201426

Page 28: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

CQS and System Logger

© 2014 IBM Corporation

201427

Source: IMS Redbook (SG24-6908-00)

Page 29: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - CQS Log Stream info

© 2014 IBM Corporation

201428

Page 30: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Dashboard

© 2014 IBM Corporation

201429

Page 31: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

–Queue monitoring and management– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201430

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 32: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Shared Queues

© 2014 IBM Corporation

201431 Source: IMS Redbook (SG24-6908-00)

Page 33: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Shared Queue Management – The Challenges

�Visualize queue content

�Browse, Delete, and Recover messages

�View CQS processing counters

© 2014 IBM Corporation

201432

Page 34: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - Shared Queue Management

�Filter based on Destination name or ID

�High level queue depth information, Drill down to levels of detail

�Browse, Delete and Recover messages from Cold queue

© 2014 IBM Corporation

201433

�CQS processing counters

Page 35: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Destination Queue Depth

© 2014 IBM Corporation

201434

Page 36: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Destination Queue Depth

© 2014 IBM Corporation

201435

Page 37: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Destination Queue Depth

© 2014 IBM Corporation

201436

Page 38: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Destination Queue Depth

© 2014 IBM Corporation

201437

Page 39: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Destination Queue Depth

© 2014 IBM Corporation

201438

Page 40: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

–Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201439

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 41: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Full Queue Protection Challenges

�Local Queue– Local buffer overflow can abend or stall IMS control region

�Shared queue structures– Full structures will stall IMS

© 2014 IBM Corporation

201440

Page 42: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - Full Queue Protection

�Local Queue– Real-time local queue buffer counts and stats

– Reject new messages by employing the Queue Space Notification Exit

(DFSQSSP0)

– Automatic actions for warning, critical or Severe thresholds

– Identify programs using large number of buffers

© 2014 IBM Corporation

201441

�Shared queue structures– Alert structure utilization exceeding predefined thresholds

– Unable to reject new messages (a possible future enhancement)

Page 43: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases

–Long lock detection

© 2014 IBM Corporation

201442

–Long lock detection– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 44: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Data Sharing Components

© 2014 IBM Corporation

201443

Source: IMS Redbook (SG24-6908-00)

Page 45: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Diagnosing Long Locks - The Challenges

� DB Lockouts by applications holding IRLM locks for an inordinate amount of

time

– Could go unrecognized until it becomes critical

– Lack of supported tools to assist in recognition and identification of problem

– Manual intervention required to resolve

© 2014 IBM Corporation

201444

Page 46: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - Data Sharing Long Locks

�Automatic real-time recognition when IRLM detects

� Information consolidated, analyzed for top blocker, and presented

� Information recorded in exceptions file and sent to z/OS console

�Messages can be sent to z/OS console using user exit so that

automated operations can resolve

© 2014 IBM Corporation

201445

automated operations can resolve

�Problem quickly resolved with automation

Page 47: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Data Sharing Long Lock Exceptions

© 2014 IBM Corporation

201446

Page 48: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Data Sharing Long Lock Exceptions

© 2014 IBM Corporation

201447

Page 49: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201448

– Long lock detection

–Investigate lock holders and waiters– IRLM statistics

– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 50: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Real-time IRLM / PI Locking Display – The Challenges

� Identify resource contention – Which IMS, dependent region, application is holding resources

– Untangle queue of holder/waiters

– Determine resources with contention

© 2014 IBM Corporation

201449

Page 51: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - Real-time IRLM / PI Locking Display

�Display of resources with contention– Select by dependent region and drill down to resource

– Select by resource and drill down to dependent region

© 2014 IBM Corporation

201450

Page 52: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Real-time IRLM Locking Display

© 2014 IBM Corporation

201451

Page 53: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Real-time IRLM Locking Display

© 2014 IBM Corporation

201452

Page 54: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

201453

Page 55: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201454

– Long lock detection

– Investigate lock holders and waiters

–IRLM statistics– VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 56: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IRLM Statistics – The challenges

�Managing the well being of IRLM(s) – Deadlocks, false contentions, storage utilization?

– Multiple IRLMs to check

© 2014 IBM Corporation

201455

Page 57: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - Aggregated IRLM Statistics

Information gathered from IRLMs across Sysplex– Aggregated into single system image

– Drill down for information from individual IRLMs

© 2014 IBM Corporation

201456

Page 58: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Aggregated IRLM Statistics

© 2014 IBM Corporation

201457

Page 59: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201458

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

–VSO stats

� Shared Resources– RM structure content, status, ownership, and removal

Page 60: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

VSO cache hit stats

© 2014 IBM Corporation

201459

Page 61: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

VSO cache hit stats

© 2014 IBM Corporation

201460

Page 62: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Sysplex Challenges and Solutions

� Shared Queues– Transaction affinity

– CF structures and log streams

– Queue monitoring and management

– Full Queue Protection

� Shared Databases– Long lock detection

© 2014 IBM Corporation

201461

– Long lock detection

– Investigate lock holders and waiters

– IRLM statistics

– VSO stats

� Shared Resources

–RM structure entries’ status, ownership, and removal

Page 63: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMSplex Resource Management

© 2014 IBM Corporation

201462 Source: IMS Redbook (SG24-6908-00)

Page 64: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMSplex Resource Management

© 2014 IBM Corporation

201463

Source: IMS Redbook (SG24-6908-00)

Page 65: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Structure Content

© 2014 IBM Corporation

201464

Page 66: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Sysplex Serialized Program Management – The Challenges

� The IMS who scheduled the serial program abnormally terminated and not

coming back for a while, the scheduled serial program is locked and no

other IMS in the Sysplex can use it.

© 2014 IBM Corporation

201465

Page 67: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM Solution - Sysplex Serialized Program Management

�Delete the locked RM entry to allow the serial program to be

scheduled by other IMS via ISPF

© 2014 IBM Corporation

201466

Page 68: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Structure Content

© 2014 IBM Corporation

201467

Page 69: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Structure Content

© 2014 IBM Corporation

201468

Page 70: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Structure Content

© 2014 IBM Corporation

201469

Page 71: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Structure Content

© 2014 IBM Corporation

201470

Page 72: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Structure Content

© 2014 IBM Corporation

201471

Page 73: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Summary

Challenges Sysplex Manager

Transaction Affinity management Seamless, persistent, dynamic update of

transaction affinity

CF Structures monitoring All IMS CF info in one place including VSO

Current utilization and checkpoint stats

Log streams offload monitoring Alert of too many offloads

Shared Queues Management Queue depths for destinations and message details

© 2014 IBM Corporation

201472

Long Lock Detection Real time WTO alerts

Lock Contention report Untangle Holder/Waiter queue for locks

Dependent Region activities

IRLM Statistics report Deadlock and false contention stats

VSO stats Buffer hit stats for shared and non-shared VSO

RM structure management Check ownership and removal of troubled entries

Page 74: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Q & A

© 2014 IBM Corporation

201473

Page 75: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Other Product Use Scenarios

© 2014 IBM Corporation

201474

Page 76: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenarios

� IMS– Scenario 1 – Taking Inventory and capture diagnostic data– Scenario 2 – Managing IMS System Parameters– Scenario 3 – Verifying IMS Resource Definitions– Scenario 4 – Issuing IMS Commands– Scenario 5 – Maintaining Command Audit Trail– Scenario 6 – Managing Dependent Regions– Scenario 7 – Viewing IMS CF Structures

� IMSplex

© 2014 IBM Corporation

201475

� IMSplex– Scenario 9 – Viewing Aggregate SCI, RM, OM Statistics

� Shared Queue and CQS– Scenario 10 - View local buffer utilization– Scenario 11 – Managing Destination Queue Depth– Scenario 12 – Viewing CQS Structures

� Dashboard– Scenario 13 – Dashboard and Thresholds

Page 77: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 1 – Taking Inventory and Capture Diagnostics

�Many address spaces – IMS Control Region, IMS DLI/SAS, IMS DBRC, IRLM, CQS, RM, OM, SCI, etc..

– How do you identify related IMS components across the Sysplex?– What is the status of these components?– What version of IMS components are involved?– How much resource are they using from z/OS perspective?– How do you collect diagnostic data to debug sysplex problem?

© 2014 IBM Corporation

201476

� IMS Sysplex Manger structured TSO/ISPF interface – Guided display of IMS components– Provides component id, task or job name, version, status and basic z/OS

information such as CPU time and EXCP counts– Drill-down to detailed component information– Easily capture console dumps for IMS components across the plex– Check DBRC RECON datasets placement and VSAM stats

Page 78: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Component List

© 2014 IBM Corporation

201477

Page 79: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Component List (cont)

© 2014 IBM Corporation

201478

Page 80: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Capture Console Dumps

© 2014 IBM Corporation

201479

Page 81: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Capture IMS CF structures Dump

© 2014 IBM Corporation

201480

Page 82: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

z/OS perspective for IMS address spaces

© 2014 IBM Corporation

201481

Page 83: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

DBRC RECON datasets and VSAM stats

� Show RECON datasets placement (COPY1, COPY2, SPARE) for all

IMS systems

� Built-in LISTCAT for RECONs when drill down

© 2014 IBM Corporation

201482

Page 84: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

DBRC RECON VSAM stats

© 2014 IBM Corporation

201483

Page 85: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 2 – Managing IMS System Parameters

�Many system run-time parameters – Sources: DFSPBxxx, overrides via Control Region PARM=

– Which ones are being used?

– Are the parameters the same across the Sysplex?

�System parameter display

© 2014 IBM Corporation

201484

�System parameter display – Real-time scrollable display of “resolved” values

– Parameter values across all IMS systems for easy comparison

– New – System Parameter Tutor for instant description

Page 86: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS System Parameters

© 2014 IBM Corporation

201485

Page 87: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS System Parameters

© 2014 IBM Corporation

201486

Page 88: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS System Parameters – Showing Unequal Parms

© 2014 IBM Corporation

201487

Page 89: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS System Parameters – Tutor

© 2014 IBM Corporation

201488

Page 90: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 3 – Verifying IMS Resource Definitions

� Resource definitions – Transactions, Programs, Data Bases, Nodes, LTERMS, etc. – Are the definitions the same across the Sysplex?– What is the resource status across the Sysplex?– How do you alter the status across the Sysplex?

� Resource definition display – Query resource by status or attribute– Real-time scrollable display of resources

© 2014 IBM Corporation

201489

– Real-time scrollable display of resources– Resource attributes and status across all IMS systems for easy comparison– Integrated IMS Type 1 / Type 2 command interface to alter resource status– Ability to drill-down to related resource (from transaction to PSB, from PSB to

databases… )

Page 91: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Definitions – Filter Specification

© 2014 IBM Corporation

201490

Page 92: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Definitions – Drill-down to PSB

© 2014 IBM Corporation

201491

Page 93: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Definitions – Drill-down to Database

© 2014 IBM Corporation

201492

Page 94: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Definitions – Databases for a PSB

© 2014 IBM Corporation

201493

Page 95: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Definitions – Manage Transactions

© 2014 IBM Corporation

201494

Page 96: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Resource Definitions – Manage Transactions

© 2014 IBM Corporation

201495

Page 97: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 4 – Issuing IMS Commands

� Issue Type 1 command to all IMS systems – Display same resource type across Sysplex

– Alter resource status across Sysplex

�Command issued to each IMS system– Output recorded to command file and logged history file

© 2014 IBM Corporation

201496

– Output recorded to command file and logged history file

– ISPF Browse(view) used to display result

– Scrollable, Primary and line commands (find, exclude, etc.)

– Retrievable list of previously entered commands

Page 98: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Commands

© 2014 IBM Corporation

201497

Page 99: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Commands – Type-1

© 2014 IBM Corporation

201498

Page 100: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

IMS Commands – Type-2

© 2014 IBM Corporation

201499

Page 101: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 5 – Maintaining command Audit Trail

�Keeping track of operations of your IMS systems– Need for audit trail? – Easy way of viewing IMS commands & system messages?– Automatic archive of audit log?

�Sysplex Manager with its history datasets– Log most type-1 IMS commands, command responses and MTO messages

from all IMS images regardless of origins (z/OS console, terminal, OTMA, AOI

© 2014 IBM Corporation

2014100

from all IMS images regardless of origins (z/OS console, terminal, OTMA, AOI programs using CMD or ICMD interface)

– Log OM processed command and output– Searchable, filterable online viewing of log data using ISPF dialog– Automatic archive for full history dataset– Archive Directory to assist locating archived data– Issue type-1 and type-2 IMS commands while viewing log data (similar to z/OS

SDSF)– Check SM History datasets status

Page 102: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Command Audit Trail

© 2014 IBM Corporation

2014101

Page 103: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Command Audit Trail

© 2014 IBM Corporation

2014102

Page 104: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

SM History database status and usage

� Up to 8 VSAM Linear datasets make up SM history database

� Used in a circular fashion similar to IMS OLDS

� Automatic archive process to save full datasets to user-defined output location

� Directory to help users keep track of archive output

� Real-time information on status of these history datasets

© 2014 IBM Corporation

2014103

Page 105: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

View and retrieve archive datasets

� Locate which archive dataset has the info you need

� Browse the archive dataset instantly

© 2014 IBM Corporation

2014104

Page 106: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 6 – Managing Dependent Regions

�Transaction workload back-logged– What dependent regions are available?

– What transaction classes do they handle?

– Are they occupied with work?

– What are they doing?

© 2014 IBM Corporation

2014105

�Scrollable list of all dependent regions across Sysplex– Enhanced IMS /DISPLAY ACTIVE REG

– Displays overall DL/I DB/TM call counts

– Sort the lock held column to see which reg holds the most locks

– Resequenced by primary or secondary classes

– Drill down to lower level of detail

Page 107: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

2014106

Page 108: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

2014107

Page 109: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

2014108

Page 110: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

2014109

Page 111: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

2014110

Page 112: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dependent Region Display

© 2014 IBM Corporation

2014111

Page 113: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenarios

� IMS– Scenario 1 – Taking Inventory and capture diagnostic data

– Scenario 2 – Managing IMS System Parameters

– Scenario 3 – Verifying IMS Resource Definitions

– Scenario 4– Issuing IMS Commands

– Scenario 5 – Maintaining Command Audit Trail

– Scenario 6 – Managing Dependent Regions

– Scenario 7 – Viewing IMS CF Structures

� IMSplex

© 2014 IBM Corporation

2014112

� IMSplex– Scenario 8 – Viewing Aggregate SCI, RM, OM Statistics

� Shared Queue and CQS– Scenario 9 - View local buffer utilization

– Scenario 10 – Managing Destination Queue Depth

– Scenario 11 – Viewing CQS Structures

� Dashboard– Scenario 12 – Dashboard and Thresholds

Page 114: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 8 – Aggregated SCI, RM, OM Statistics

�Managing the well being of Common Service Layer (CSL) address

spaces– Lack of tools to obtain CSL statistical information

– Multiple instances to check

� Information gathered from CSL address spaces across Sysplex

© 2014 IBM Corporation

2014113

� Information gathered from CSL address spaces across Sysplex– Aggregated into single system image

– Drill down for information from individual address space

Page 115: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Aggregated RM Statistics

© 2014 IBM Corporation

2014114

Page 116: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Aggregated RM Statistics

© 2014 IBM Corporation

2014115

Page 117: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Aggregated RM Statistics

© 2014 IBM Corporation

2014116

Page 118: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenarios

� IMS– Scenario 1 – Taking Inventory and capture diagnostic data

– Scenario 2 – Managing IMS System Parameters

– Scenario 3 – Verifying IMS Resource Definitions

– Scenario 4– Issuing IMS Commands

– Scenario 5 – Maintaining Command Audit Trail

– Scenario 6 – Managing Dependent Regions

– Scenario 7 – Viewing IMS CF Structures

� IMSplex

© 2014 IBM Corporation

2014117

� IMSplex– Scenario 8 – Viewing Aggregate SCI, RM, OM Statistics

� Shared Queue and CQS– Scenario 9 - View local buffer utilization

– Scenario 10 – Managing Destination Queue Depth

– Scenario 11 – Viewing CQS Structures

� Dashboard– Scenario 12 – Dashboard and Thresholds

Page 119: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 9 - SQ local buffer utilization

© 2014 IBM Corporation

2014118

Page 120: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenarios

� IMS– Scenario 1 – Taking Inventory and capture diagnostic data

– Scenario 2 – Managing IMS System Parameters

– Scenario 3 – Verifying IMS Resource Definitions

– Scenario 4– Issuing IMS Commands

– Scenario 5 – Maintaining Command Audit Trail

– Scenario 6 – Managing Dependent Regions

– Scenario 7 – Viewing IMS CF Structures

� IMSplex

© 2014 IBM Corporation

2014119

� IMSplex– Scenario 8 – Viewing Aggregate SCI, RM, OM Statistics

� Shared Queue and CQS– Scenario 9 - View local buffer utilization

– Scenario 10 – Managing Destination Queue Depth

– Scenario 11 – Viewing CQS Structures

� Dashboard– Scenario 12 – Dashboard and Thresholds

Page 121: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Scenario 12 – Dashboard Sysplex at a Glance

�Managing the IMS Sysplex through key system indicators – Determine overall Sysplex health at a Glance

– Alert when indicators violate predefined thresholds

– Set multiple monitoring thresholds depending on workloads, time of day…

�Critical data from key areas summarized on one or more screens

© 2014 IBM Corporation

2014120

�Critical data from key areas summarized on one or more screens– User customized content, positioning, threshold value

– Threshold exceptions are logged for future review

– One or more per user, default supplied

– Automatic screen refresh capability for operational ease

– Drill down for additional detail

Page 122: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Configure Your Dashboard

� Create and customize a new dashboard

© 2014 IBM Corporation

2014121

Page 123: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

When to monitor

� Define monitoring periods

© 2014 IBM Corporation

2014122

Page 124: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Low and High Thresholds

� Define threshold values

© 2014 IBM Corporation

2014123

Page 125: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Threshold Processing Interval

� Set dashboard data collection interval

© 2014 IBM Corporation

2014124

Page 126: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dashboard

© 2014 IBM Corporation

2014125

Page 127: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Dashboard – Drill Down

© 2014 IBM Corporation

2014126

Page 128: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

References

�For publications and demo, visit IMS Sysplex Manager for z/OS at– http://www-306.ibm.com/software/data/db2imstools/imstools-library.html

© 2014 IBM Corporation

2014127

Page 129: Ims09   ims in a sysplex environment - challanges and solutions - IMS UG May 2014 Sydney & Melbourne

Thank You!

Your Feedback is Important to Us

© 2014 IBM Corporation

2014128

128