CICS Lunch n Learn - How to reduce CICS IA overhead

27
© 2015 IBM Corporation CICS LUNCH n LEARN June 18 2015 How to Reduce CICS Interdependency Analyzer Overhead. Gary Andrews Client Technical Specialist: CICS Tools [email protected] www.linkedin.com/in/garyandrews1/en

Transcript of CICS Lunch n Learn - How to reduce CICS IA overhead

Page 1: CICS Lunch n Learn - How to reduce CICS IA overhead

© 2015 IBM Corporation

CICS LUNCH n LEARNJune 18 2015How to Reduce CICS Interdependency Analyzer Overhead.

Gary AndrewsClient Technical Specialist: CICS [email protected]/in/garyandrews1/en

Page 2: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation2

Reduce CICS IA Overhead - Customer Concerns

DEV/TEST Application environment does not accurately reflect production.

Production resources (CPU?) are limited.

Perhaps MLC costs are an issue.

Page 3: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation3

Reduce CICS IA Overhead - Customer Concerns

Or the worst fear:

REGION ABENDS

Page 4: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation4

Reduce CICS IA Overhead

Questions:

What data should you collect ?

Why are you collecting this data ?

Can you collect CICS data one week and MQ, IMS and DB2 the next week ?

Do you have cloned regions ?

Why should you collect ‘detailed’ information ?

How to schedule Interdepedency and Affinity data collection?

You will use CINT administration panels to govern the ‘what’ and ‘hows’.

Use the region override option to collect different data in different regions.

Page 5: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation5

IA Architecture - Collector

5

Page 6: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation6

Reduce CICS IA Overhead – General Options Panel

Page 7: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation7

Reduce CICS IA Overhead-General Options Panel Settings

How can I restrict the amount of data ?

Prefix exclude tables

Program exclude list. Use to exclude programs.

Transaction exclude list. Use to exclude transactions.

Resource prefix list. Use to combine TSQueues and ENQ/DEQ resources

You can have master lists and region lists.

IBM program products prefixes are included in the Program exclude list.

‘DFH’ prefix is included in the Resource prefix list.

Page 8: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation8

Reduce CICS IA Overhead-General Options Panel Settings

How can I restrict the amount of data ?

If you have CICS IA V5.2, Using Trigger for Task collection can significantly reduce overhead for Interdependency collection only. Trigger for Task collection does not apply to Affinity collection.

1 - All transactions are reviewed for collection. (Default)

2 - Every other transaction is reviewed for collection

3 - Every 3rd transaction is reviewed for collection.

N - Every Nth transaction is reviewed for collection.

Recommendation - 50

Page 9: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation9

Page 10: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation10

Page 11: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation11

Page 12: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation12

Page 13: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation13

Page 14: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation14

Reduce CICS IA Overhead-General Options Panel Settings

How can I restrict the amount of data ?

Restore data on start – Reload the data space from data in the VSAM files at IA startup

Maintain usage counts – Set to Y only if you absolutely need ‘resource use count’ and

‘last used time stamp’ data. Otherwise, set to N. The Y setting forces massive file updates

increasing CICS IA overhead.

Page 15: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation15

Reduce CICS IA Overhead-Other Subsystems

How can I restrict the amount of data ?

If you decide to collect DB2 data, please INDEX the SYSIBM.SYSPACKSTMT AND SYSSTMT

TABLES

Only select the options that apply to your environment.

Page 16: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation16

Reduce CICS IA Overhead-SELECTING API’S

What data do you want to collect?

Select Y only for the API commands you want to monitor. Select D (Yes+Detail) for Programs and Files to collect data for Threadsafe Analysis.

Page 17: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation17

Reduce CICS IA Overhead-SELECTING SPI’S

What data do you want to collect?

Select Y only for SPI commands you want to monitor.

Page 18: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation18

When do you want to collect data?

This is the ‘master schedule’ menu. Settings can apply to all regions. Or, configured for

individual regions.

Reduce CICS IA Overhead-Timing Is Everything

Page 19: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation19

When do you want to collect data?

Example Schedule

Reduce CICS IA Overhead-Timing Is Everything

Page 20: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation20

CICS IA Threadsafe Considerations

Reduce CICS IA Overhead-Timing Is Everything

Page 21: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation21

CICS IA Threadsafe Considerations

Reduce CICS IA Overhead-Timing Is Everything

Page 22: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation22

When do you want to collect data?

Collect data during the least busy time where you can get a representative sample of application

activity. The cyclical nature of your applications, and the maintenance schedule, will also

determine when to schedule data collections.

How long do I need to collect data?

Only as long as it takes to collect enough data to understand how your application works!!

You can also stagger the collection of the various data types.

For example, you can collect CICS data one week and DB2, MQ etc. data the following week.

Reduce CICS IA Overhead-Timing Is Everything

Page 23: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation23

How do you deal with Affinities? Very carefully!

Remember – The Trigger for task Collection value DOES NOT apply to Affinity collection.

Due to the nature of Affinity data, it is more important to collect this data in production.

Recommendation – Record each type of Affinity one at a time.

Reduce CICS IA Overhead-Timing Is Everything

Page 24: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation24

How do you deal with Affinities? Scheduling Example.

Run Affinity collection for Address CWA for a couple of days to a week. Then run Affinity collection for TS Queue etc.

While running Affinity collection for TS Queue, build your Address CWA Affinity Report in the IA plugin.

Reduce CICS IA Overhead-Timing Is Everything

Page 25: CICS Lunch n Learn - How to reduce CICS IA overhead

CICS Transaction Server V5.2

© 2015 IBM Corporation25

How to limit the amount of Interdependency data collected.

Figuring out what data you should monitor.

How to schedule Interdependency data collection to avoid contention among resources.

Which CICA IA options and settings contribute to lower overhead.

How to deal with Affinities.

We Learned How To Reduce CICS IA Overhead By Reviewing…….

Page 26: CICS Lunch n Learn - How to reduce CICS IA overhead

Questions

© 2015 IBM Corporation 26

Page 27: CICS Lunch n Learn - How to reduce CICS IA overhead

© 2015 IBM Corporation 27