SlideShare a Scribd company logo
1 of 37
Download to read offline
I Know What You Did Last
       Summer...

                Martin Packer, IBM
                        Email: martin_packer@uk.ibm.com

  Blog: https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker




                                      1
... but do YOU?




       2
What’s The Point Of This Presentation?



So, it’s got a “tongue-in-cheek” title but what’s it all about?

I think one of the least well appreciated aspects of z/OS and its
middleware is the richness of instrumentation it gives you: Here
I describe it and just some of the ways you can get value from
SMF.

While I'm aware MY concerns might not match YOUR concerns
EXACTLY there's much common ground.

I'd like to make you smarter - or appear to be. :-)




                                 3
Agenda




• Who wants to know?
• Let’s review what we have
• What more do we need?

                 4
Performance And Capacity



●   I'm a little loth to talk about Performance and Capacity

    ●   As we KNOW we can very successfully use
        instrumentation for this

●   But we are blessed with very good Performance and
    Capacity information

    ●   And there's an abundance of “folklore” on how to use it

        ●   Even if we have to “stay on our toes”

●   We'll scarcely touch on this in the rest of the presentation
The Value Of Recorded Instrumentation


•   You really CAN know what happened last
    summer

•    Depending on what instrumentation you kept

• Depending on how you look at the data*

• facts
  We can get from the anecdotal to some hard



     * I use the terms “instrumentation”, “data”, “evidence “ and “statistics”
     interchangeably




                                     6
In An Ideal World You'd Like Instrumentation To Be ...

●   Timestamped

●   Readily parseable

●   Of known provenance

●   Light weight

●   Understood by the community

●   Available at various levels of detail

●   Fit for purpose

●   Persisted

●   Have a manageable lifecycle

●   Immediately produced

●   Standards-based


    [ I'd say ALL instrumentation falls short of at least one of these ideals]
Architecture and Inventory
●   "Architecture" means many different things *:

    ●   I'm interested in how infrastructure fits together.

    ●   I'm not happy to just have a "bucket of parts".

        ●   Or an inventory that's just a list.

    ●   But we can get a well-structured inventory out of what we have to
        hand.


●   I was taught to use “top down problem decomposition”

    ●   A very good idea but...

    ●   There's a danger of losing sight of what this thing is actually FOR


        * See a later slide for more on this

                                               8
Patterns and Changes
●       A static view often isn't enough

        ●   Particularly as not just workloads but configurations are getting increasingly dynamic

            ●   I've the scars to prove it

●       It’s important to know how your systems “usually” behave

        ●   The classic “double hump”

    ●   There may be no “usually”

        ●   This lack of “envelope” is in itself important

    ●   “Our rolling 4 hour average peaks between 2AM and 4AM”

        ●   This would probably affect software billing

●       Knowing what’s normal allows you to understand changes

        ●   “This isn’t normal”

        ●   “This is slowly getting worse”
Audit
●   Follows on from Change and Inventory

●   Do we have what we think we have?

    ●   If not why not?

●   Who made that change and when?

    ●   And how did it affect things?

    ●   Maybe “why?” isn’t answerable from the data

    ●   Some changes are “heralded”:

        ●   WLM Policy activation specifically recorded in SMF

    ●   Some aren't:

        ●   “We seem to have more online disks in this interval than the previous
            one”
Licencing


What are we actually using?
●




    ●   And are we using it enough to justify it?

        ●   And who IS using it?

    ●   And should we be using multiple versions?

What are we licenced for?
●




    ●   And what SHOULD we be licenced for?

Note: SMF 70-1 and 89 basis for some IBM licencing schemes
●




    ●   And used in at least one third-party Licence Management tool
I’d Like To Make You (Appear) Smarter :-)

●   Imagine me meeting you for the first time...
●   I’d like not to have to ask stupid questions...
    ●   ... the answers to which I should be able to find out
●   I think you’d like to get the answers from data
    ●   Rather than having to trouble HUMANS for them
    ●   Humans might not know
        ●   Or might give you the WRONG answer
●   And I think you value being proactive
    ●   Based on evidence

●   Most of my conversations about systems begin with FACTS

    ●   The interpretation is the fun bit

    ●   You probably wish many of your conversations started with facts, too
So, What Do We Have?
But First Some Assumptions


●   We're not talking about formatted reports

    ●   I assume you can process data and aren't entirely reliant on RMF
        Postprocessor reports

●   I'm not entirely limiting this to SMF

    ●   I've had conversations with developers where the words “SMF-like” have
        cropped up

    ●   A WLM policy is “admissable evidence”

    ●   So's a DB2 Catalog

        ●   Particularly the bits with history

●   The point I'm making doesn't require an EXHAUSTIVE survey of the
    available data

●   I'm NOT talking about Performance
“Physical” Containers
We Know (Almost) Everything You'd Ever Want To Know



●   For processors:

    ●   Serial number and Plant

        ●   “What's in a name?”

    ●   Device Type and Model

        ●   Actually hardware and software models

        ●   Specialty engine counts

●   For Coupling Facilities

    ●   Similar

●   For Disk, Tape and Switches

    ●   Enormous amounts of information
One Layer Down - LPARs
The “Almost” We Had Before Is Almost Gone


●   CPU

●   Memory

●   Channels

●   Disk and Tape

    ●   Some connectivity information still missing

●   Parallel Sysplex Infrastructure

    ●   Connectivity

    ●   Performance

    ●   Traffic

●   (Some LPARs are ICF LPARs – just to mess up my graphic)
Another Layer Down – WLM Constructs
WLM Constructs


●   RMF tells us how the following behave:

    ●   Workloads

    ●   Service Classes

    ●   Service Class Periods

    ●   Report Classes

●   We get SOME information on what these represent:

    ●   Description strings

    ●   No classification information

    ●   “Served” service classes may be a bit of a clue

●   Policy changes are readily discernable

    ●   Including who did it

    ●   (Usually I see mnemonic policy descriptions)
Address Space Etcetera
Parallel Sysplex Infrastructure


●   Enormous amount of information on Coupling Facility
    structures

●   XCF groups likewise

    ●   I got job name put into RMF as member name is often
        useless

●   RMF doesn't know what structures or XCF groups are
    used for

    ●   So we have to “guess”

        ●   But it's been a LONG time since I guessed a CF
            structure or XCF group's use wrong
Address Space


●   Key non-performance information in Type 30:

    ●   Program name

    ●   WLM Service Class and Report Class

        ●   But not for “served” work

●   Can relate Report Class and Service Class

    ●   And usually figure out what these are REALLY for

●   Can detect eg CICS regions, DB2 subsystem and MQ subsystem
    address spaces

●   Can dispel myths like “we don't use Unix System Services”

●   Accounting Information and Programmer Name can be interesting
Application
Middleware-Specific Instrumentation


●   CICS, MQ, Websphere Application Server and DB2 are particularly prolific

●   Subsystem Information

    ●   Tells you a lot about how these are set up and behave

    ●   Use this information in concert with RMF information

        ●   For example DB2 Group Buffer Pool analysis

●   Application Information

    ●   Tells you what the subsystem is used for

        ●   And how it's being driven crazy

    ●   You'd probably recognise a SAP DB2 subsystem

        ●   And you'd certainly recognise one with lots of CICS or Batch use

        ●   DDF leaves even more footprints than usual

                Examples: IP Address, Client Application Program
            •
●   Domain knowledge is key
Data Set Instrumentation


●   Almost unlimited food for nosiness thought

●   Dynamic

    ●   SMF 42-6

●   Point in time:

    ●   DB2 Catalog

    ●   DCOLLECT

    ●   SMF 14, 15, 16, 62, 64

●   Other records have hints

    ●   Example SMF 30 DD-level information

●   For the insatiably curious try User F61 GTF
Data Set Instrumentation - Examples


●   DB2 data set names give database and space name

        ●   Also partitioning clues

            • And “hot” partitions
        ●   DB2 Catalog reinforces this

            • Catalog vs DCOLLECT is an interesting comparison
        ●   Note: SMF 42-6 doesn't help you understand WHICH DB2 users

●   Mnemonic data set and DD names in SMF 14 and 15

    ●   For example “STEPLIB” or “~.RUNLIB”

●   Batch understanding is greatly aided by data set information

    ●   I've discussed this at length elsewhere

●   CICS VSAM LSR pool use and data sets
... but I have to admit I don’t
know what you’re doing right
             now...




               28
Online Monitoring Still Has A Role

●
    It's unimpressive to respond to an incident
    with “No but I can tell you what happened
    last week”

●
    Automation probably requires it

●
    Some things simply aren't available in an
    externally-recorded form

●
    People seem to quite like it
Architects Will Recognise This
        As Incomplete
This Is Not A Complete Architecture As
                  Architects Would Recognise It
●   This only documents componentry inside the mainframe

●   The names are not necessarily names Applications people or architects
    would recognise

    ●   For example a machine serial number is probably NOT what an architect
        would use to name a machine

        ●   If they even WANTED to name a machine

●   There's little commentary

●   Interfaces are sparse

●   An attempt to portray our understanding as architectural would appear like
    Officer Crabtree's * attempts to speak French


    * http://en.wikipedia.org/wiki/Officer_Crabtree
So What Do We Still Need?
Some Parting Thoughts
Some Parting Thoughts
●   Experiment with data depiction techniques

    ●   Example: Plot “with load” rather than time of day

    ●   Example: Use time as the third dimension

        ●   Maybe someone knows how to make animated GIFs or movies
            from static graphics

●   Think of creative ways to use instrumentation

●   Look to other sources of instrumentation than the obvious

●   Beware the subtleties of e.g. field meanings

    ●   Which, I guess, means staying “plugged in to the folklore”
I'm Told I don't Do Enough Graphics … So Here Are Some (Almost) Gratuitous Ones :-)




                           Source: http://www.edwardtufte.com/tufte/posters
Provenance Is Important




Source: http://www.the-world-heritage-sites.com/messel-pit-fossil-site_germany.htm
Messel Pit Fossil Site, Germany

The Messel Pit Fossil Site is a disused quarry in the village of Messel, Darmstadt-Dieburg, Hesse, about 35 km
southeast of Frankfurt-am-Main, Germany. The quarry used to be a mine since 1859, when brown coal and
later bituminous shale were mined. By the 1900's, it became well known for a different reason, when it began
to yield fossils. Nevertheless, mining continued until as late as 1971, when the shale mine finally closed, and a
cement factory built in the quarry also failed.




After the quarry became disused, there was a plan to turn it into a garbage dump. Fossil enthusiasts were
allowed to dig in the quarry. These amateurs developed a technique to preserve the fine details on small
fossils. In time, the Messel Pit became known as the richest site for fossils from the Eocene period, which was
between 57 million and 36 million years ago.




Today scientists have uncovered exceptionally well-preserved fossils of mammals, including fully articulated
skeletons to the contents of the stomach of animals from that period.




In 1995, Messel Pit Fossil Site became the first site to be inscribed as a World Heritage Site solely due to
fossils. It took place at the 19th session of the World Heritage Committee held in Berlin, Germany, on 4-9
December, 1995.




                        Source: http://www.the-world-heritage-sites.com/messel-pit-fossil-site_germany.htm

More Related Content

Similar to I Know What You Did Last Summer

#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo
#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo
#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, CriteoParis Open Source Summit
 
The 5 Minute MySQL DBA
The 5 Minute MySQL DBAThe 5 Minute MySQL DBA
The 5 Minute MySQL DBAIrawan Soetomo
 
How to get started with Site Reliability Engineering
How to get started with Site Reliability EngineeringHow to get started with Site Reliability Engineering
How to get started with Site Reliability EngineeringAndrew Kirkpatrick
 
What is spatial sql
What is spatial sqlWhat is spatial sql
What is spatial sqlshawty_ds
 
What drives Innovation? Innovations And Technological Solutions for the Distr...
What drives Innovation? Innovations And Technological Solutions for the Distr...What drives Innovation? Innovations And Technological Solutions for the Distr...
What drives Innovation? Innovations And Technological Solutions for the Distr...Stefano Fago
 
Scaling apps for the big time
Scaling apps for the big timeScaling apps for the big time
Scaling apps for the big timeproitconsult
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerTeamstudio
 
Are we there Yet?? (The long journey of Migrating from close source to opens...
Are we there Yet?? (The long journey of Migrating from close source to opens...Are we there Yet?? (The long journey of Migrating from close source to opens...
Are we there Yet?? (The long journey of Migrating from close source to opens...Marco Tusa
 
Scaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHPScaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHP120bi
 
Scaling High Traffic Web Applications
Scaling High Traffic Web ApplicationsScaling High Traffic Web Applications
Scaling High Traffic Web ApplicationsAchievers Tech
 
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good ServerIBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good ServerSerdar Basegmez
 
MySQL 5.6 Performance
MySQL 5.6 PerformanceMySQL 5.6 Performance
MySQL 5.6 PerformanceMYXPLAIN
 
Gearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleGearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleMike Willbanks
 
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Episode 2: The LLM / GPT / AI Prompt / Data Engineer RoadmapEpisode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Episode 2: The LLM / GPT / AI Prompt / Data Engineer RoadmapAnant Corporation
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the fieldJoAnna Cheshire
 
Technical interview questions -networking
Technical interview questions -networkingTechnical interview questions -networking
Technical interview questions -networkingrafiq123
 
An EyeWitness View into your Network
An EyeWitness View into your NetworkAn EyeWitness View into your Network
An EyeWitness View into your NetworkCTruncer
 

Similar to I Know What You Did Last Summer (20)

#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo
#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo
#OSSPARIS19 - How to improve database observability - CHARLES JUDITH, Criteo
 
The 5 Minute MySQL DBA
The 5 Minute MySQL DBAThe 5 Minute MySQL DBA
The 5 Minute MySQL DBA
 
How to get started with Site Reliability Engineering
How to get started with Site Reliability EngineeringHow to get started with Site Reliability Engineering
How to get started with Site Reliability Engineering
 
Time For D.I.M.E?
Time For D.I.M.E?Time For D.I.M.E?
Time For D.I.M.E?
 
What is spatial sql
What is spatial sqlWhat is spatial sql
What is spatial sql
 
What drives Innovation? Innovations And Technological Solutions for the Distr...
What drives Innovation? Innovations And Technological Solutions for the Distr...What drives Innovation? Innovations And Technological Solutions for the Distr...
What drives Innovation? Innovations And Technological Solutions for the Distr...
 
Scaling apps for the big time
Scaling apps for the big timeScaling apps for the big time
Scaling apps for the big time
 
Back from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good ServerBack from the Dead: When Bad Code Kills a Good Server
Back from the Dead: When Bad Code Kills a Good Server
 
Are we there Yet?? (The long journey of Migrating from close source to opens...
Are we there Yet?? (The long journey of Migrating from close source to opens...Are we there Yet?? (The long journey of Migrating from close source to opens...
Are we there Yet?? (The long journey of Migrating from close source to opens...
 
Scaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHPScaling a High Traffic Web Application: Our Journey from Java to PHP
Scaling a High Traffic Web Application: Our Journey from Java to PHP
 
Scaling High Traffic Web Applications
Scaling High Traffic Web ApplicationsScaling High Traffic Web Applications
Scaling High Traffic Web Applications
 
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good ServerIBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
IBM Connect 2017: Back from the Dead: When Bad Code Kills a Good Server
 
Time For DIME
Time For DIMETime For DIME
Time For DIME
 
MySQL 5.6 Performance
MySQL 5.6 PerformanceMySQL 5.6 Performance
MySQL 5.6 Performance
 
DB2 Through My Eyes
DB2 Through My EyesDB2 Through My Eyes
DB2 Through My Eyes
 
Gearman: A Job Server made for Scale
Gearman: A Job Server made for ScaleGearman: A Job Server made for Scale
Gearman: A Job Server made for Scale
 
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Episode 2: The LLM / GPT / AI Prompt / Data Engineer RoadmapEpisode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
Episode 2: The LLM / GPT / AI Prompt / Data Engineer Roadmap
 
Sql server tips from the field
Sql server tips from the fieldSql server tips from the field
Sql server tips from the field
 
Technical interview questions -networking
Technical interview questions -networkingTechnical interview questions -networking
Technical interview questions -networking
 
An EyeWitness View into your Network
An EyeWitness View into your NetworkAn EyeWitness View into your Network
An EyeWitness View into your Network
 

More from Martin Packer

zIIP Capacity Planning - May 2018
zIIP Capacity Planning - May 2018zIIP Capacity Planning - May 2018
zIIP Capacity Planning - May 2018Martin Packer
 
Even More Fun With DDF
Even More Fun With DDFEven More Fun With DDF
Even More Fun With DDFMartin Packer
 
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMunich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMartin Packer
 
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDFMunich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDFMartin Packer
 
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICSMunich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICSMartin Packer
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity PlanningMartin Packer
 
Parallel Batch Performance Considerations
Parallel Batch Performance ConsiderationsParallel Batch Performance Considerations
Parallel Batch Performance ConsiderationsMartin Packer
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity PlanningMartin Packer
 
Life And Times Of An Address Space
Life And Times Of An Address SpaceLife And Times Of An Address Space
Life And Times Of An Address SpaceMartin Packer
 
DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing PerformanceMartin Packer
 
Optimizing z/OS Batch
Optimizing z/OS BatchOptimizing z/OS Batch
Optimizing z/OS BatchMartin Packer
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersMartin Packer
 
Memory Matters in 2011
Memory Matters in 2011Memory Matters in 2011
Memory Matters in 2011Martin Packer
 
Parallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsParallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsMartin Packer
 
Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Martin Packer
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPUMartin Packer
 

More from Martin Packer (19)

zIIP Capacity Planning - May 2018
zIIP Capacity Planning - May 2018zIIP Capacity Planning - May 2018
zIIP Capacity Planning - May 2018
 
Even More Fun With DDF
Even More Fun With DDFEven More Fun With DDF
Even More Fun With DDF
 
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topicsMunich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
Munich 2016 - Z011601 Martin Packer - Parallel Sysplex Performance Topics topics
 
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDFMunich 2016 - Z011599 Martin Packer - More Fun With DDF
Munich 2016 - Z011599 Martin Packer - More Fun With DDF
 
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICSMunich 2016 - Z011598 Martin Packer - He Picks On CICS
Munich 2016 - Z011598 Martin Packer - He Picks On CICS
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity Planning
 
Parallel Batch Performance Considerations
Parallel Batch Performance ConsiderationsParallel Batch Performance Considerations
Parallel Batch Performance Considerations
 
zIIP Capacity Planning
zIIP Capacity PlanningzIIP Capacity Planning
zIIP Capacity Planning
 
Life And Times Of An Address Space
Life And Times Of An Address SpaceLife And Times Of An Address Space
Life And Times Of An Address Space
 
DB2 Data Sharing Performance
DB2 Data Sharing PerformanceDB2 Data Sharing Performance
DB2 Data Sharing Performance
 
Optimizing z/OS Batch
Optimizing z/OS BatchOptimizing z/OS Batch
Optimizing z/OS Batch
 
Much Ado About CPU
Much Ado About CPUMuch Ado About CPU
Much Ado About CPU
 
Much Ado about CPU
Much Ado about CPUMuch Ado about CPU
Much Ado about CPU
 
DB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for BeginnersDB2 Data Sharing Performance for Beginners
DB2 Data Sharing Performance for Beginners
 
Memory Matters in 2011
Memory Matters in 2011Memory Matters in 2011
Memory Matters in 2011
 
Parallel Sysplex Performance Topics
Parallel Sysplex Performance TopicsParallel Sysplex Performance Topics
Parallel Sysplex Performance Topics
 
Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3Curt Cotner DDF Inactive Threads Support DB2 Version 3
Curt Cotner DDF Inactive Threads Support DB2 Version 3
 
Coupling Facility CPU
Coupling Facility CPUCoupling Facility CPU
Coupling Facility CPU
 
Much Ado About CPU
Much Ado About CPUMuch Ado About CPU
Much Ado About CPU
 

Recently uploaded

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxNavinnSomaal
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brandgvaughan
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.Curtis Poe
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxBkGupta21
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfPrecisely
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsRizwan Syed
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationSlibray Presentation
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 

Recently uploaded (20)

SAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptxSAP Build Work Zone - Overview L2-L3.pptx
SAP Build Work Zone - Overview L2-L3.pptx
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
WordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your BrandWordPress Websites for Engineers: Elevate Your Brand
WordPress Websites for Engineers: Elevate Your Brand
 
How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.How AI, OpenAI, and ChatGPT impact business and software.
How AI, OpenAI, and ChatGPT impact business and software.
 
unit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptxunit 4 immunoblotting technique complete.pptx
unit 4 immunoblotting technique complete.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptxUse of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
Use of FIDO in the Payments and Identity Landscape: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdfHyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
Hyperautomation and AI/ML: A Strategy for Digital Transformation Success.pdf
 
Scanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL CertsScanning the Internet for External Cloud Exposures via SSL Certs
Scanning the Internet for External Cloud Exposures via SSL Certs
 
Connect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck PresentationConnect Wave/ connectwave Pitch Deck Presentation
Connect Wave/ connectwave Pitch Deck Presentation
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 

I Know What You Did Last Summer

  • 1. I Know What You Did Last Summer... Martin Packer, IBM Email: martin_packer@uk.ibm.com Blog: https://www.ibm.com/developerworks/mydeveloperworks/blogs/MartinPacker 1
  • 2. ... but do YOU? 2
  • 3. What’s The Point Of This Presentation? So, it’s got a “tongue-in-cheek” title but what’s it all about? I think one of the least well appreciated aspects of z/OS and its middleware is the richness of instrumentation it gives you: Here I describe it and just some of the ways you can get value from SMF. While I'm aware MY concerns might not match YOUR concerns EXACTLY there's much common ground. I'd like to make you smarter - or appear to be. :-) 3
  • 4. Agenda • Who wants to know? • Let’s review what we have • What more do we need? 4
  • 5. Performance And Capacity ● I'm a little loth to talk about Performance and Capacity ● As we KNOW we can very successfully use instrumentation for this ● But we are blessed with very good Performance and Capacity information ● And there's an abundance of “folklore” on how to use it ● Even if we have to “stay on our toes” ● We'll scarcely touch on this in the rest of the presentation
  • 6. The Value Of Recorded Instrumentation • You really CAN know what happened last summer • Depending on what instrumentation you kept • Depending on how you look at the data* • facts We can get from the anecdotal to some hard * I use the terms “instrumentation”, “data”, “evidence “ and “statistics” interchangeably 6
  • 7. In An Ideal World You'd Like Instrumentation To Be ... ● Timestamped ● Readily parseable ● Of known provenance ● Light weight ● Understood by the community ● Available at various levels of detail ● Fit for purpose ● Persisted ● Have a manageable lifecycle ● Immediately produced ● Standards-based [ I'd say ALL instrumentation falls short of at least one of these ideals]
  • 8. Architecture and Inventory ● "Architecture" means many different things *: ● I'm interested in how infrastructure fits together. ● I'm not happy to just have a "bucket of parts". ● Or an inventory that's just a list. ● But we can get a well-structured inventory out of what we have to hand. ● I was taught to use “top down problem decomposition” ● A very good idea but... ● There's a danger of losing sight of what this thing is actually FOR * See a later slide for more on this 8
  • 9. Patterns and Changes ● A static view often isn't enough ● Particularly as not just workloads but configurations are getting increasingly dynamic ● I've the scars to prove it ● It’s important to know how your systems “usually” behave ● The classic “double hump” ● There may be no “usually” ● This lack of “envelope” is in itself important ● “Our rolling 4 hour average peaks between 2AM and 4AM” ● This would probably affect software billing ● Knowing what’s normal allows you to understand changes ● “This isn’t normal” ● “This is slowly getting worse”
  • 10. Audit ● Follows on from Change and Inventory ● Do we have what we think we have? ● If not why not? ● Who made that change and when? ● And how did it affect things? ● Maybe “why?” isn’t answerable from the data ● Some changes are “heralded”: ● WLM Policy activation specifically recorded in SMF ● Some aren't: ● “We seem to have more online disks in this interval than the previous one”
  • 11. Licencing What are we actually using? ● ● And are we using it enough to justify it? ● And who IS using it? ● And should we be using multiple versions? What are we licenced for? ● ● And what SHOULD we be licenced for? Note: SMF 70-1 and 89 basis for some IBM licencing schemes ● ● And used in at least one third-party Licence Management tool
  • 12. I’d Like To Make You (Appear) Smarter :-) ● Imagine me meeting you for the first time... ● I’d like not to have to ask stupid questions... ● ... the answers to which I should be able to find out ● I think you’d like to get the answers from data ● Rather than having to trouble HUMANS for them ● Humans might not know ● Or might give you the WRONG answer ● And I think you value being proactive ● Based on evidence ● Most of my conversations about systems begin with FACTS ● The interpretation is the fun bit ● You probably wish many of your conversations started with facts, too
  • 13. So, What Do We Have?
  • 14. But First Some Assumptions ● We're not talking about formatted reports ● I assume you can process data and aren't entirely reliant on RMF Postprocessor reports ● I'm not entirely limiting this to SMF ● I've had conversations with developers where the words “SMF-like” have cropped up ● A WLM policy is “admissable evidence” ● So's a DB2 Catalog ● Particularly the bits with history ● The point I'm making doesn't require an EXHAUSTIVE survey of the available data ● I'm NOT talking about Performance
  • 16. We Know (Almost) Everything You'd Ever Want To Know ● For processors: ● Serial number and Plant ● “What's in a name?” ● Device Type and Model ● Actually hardware and software models ● Specialty engine counts ● For Coupling Facilities ● Similar ● For Disk, Tape and Switches ● Enormous amounts of information
  • 17. One Layer Down - LPARs
  • 18. The “Almost” We Had Before Is Almost Gone ● CPU ● Memory ● Channels ● Disk and Tape ● Some connectivity information still missing ● Parallel Sysplex Infrastructure ● Connectivity ● Performance ● Traffic ● (Some LPARs are ICF LPARs – just to mess up my graphic)
  • 19. Another Layer Down – WLM Constructs
  • 20. WLM Constructs ● RMF tells us how the following behave: ● Workloads ● Service Classes ● Service Class Periods ● Report Classes ● We get SOME information on what these represent: ● Description strings ● No classification information ● “Served” service classes may be a bit of a clue ● Policy changes are readily discernable ● Including who did it ● (Usually I see mnemonic policy descriptions)
  • 22. Parallel Sysplex Infrastructure ● Enormous amount of information on Coupling Facility structures ● XCF groups likewise ● I got job name put into RMF as member name is often useless ● RMF doesn't know what structures or XCF groups are used for ● So we have to “guess” ● But it's been a LONG time since I guessed a CF structure or XCF group's use wrong
  • 23. Address Space ● Key non-performance information in Type 30: ● Program name ● WLM Service Class and Report Class ● But not for “served” work ● Can relate Report Class and Service Class ● And usually figure out what these are REALLY for ● Can detect eg CICS regions, DB2 subsystem and MQ subsystem address spaces ● Can dispel myths like “we don't use Unix System Services” ● Accounting Information and Programmer Name can be interesting
  • 25. Middleware-Specific Instrumentation ● CICS, MQ, Websphere Application Server and DB2 are particularly prolific ● Subsystem Information ● Tells you a lot about how these are set up and behave ● Use this information in concert with RMF information ● For example DB2 Group Buffer Pool analysis ● Application Information ● Tells you what the subsystem is used for ● And how it's being driven crazy ● You'd probably recognise a SAP DB2 subsystem ● And you'd certainly recognise one with lots of CICS or Batch use ● DDF leaves even more footprints than usual Examples: IP Address, Client Application Program • ● Domain knowledge is key
  • 26. Data Set Instrumentation ● Almost unlimited food for nosiness thought ● Dynamic ● SMF 42-6 ● Point in time: ● DB2 Catalog ● DCOLLECT ● SMF 14, 15, 16, 62, 64 ● Other records have hints ● Example SMF 30 DD-level information ● For the insatiably curious try User F61 GTF
  • 27. Data Set Instrumentation - Examples ● DB2 data set names give database and space name ● Also partitioning clues • And “hot” partitions ● DB2 Catalog reinforces this • Catalog vs DCOLLECT is an interesting comparison ● Note: SMF 42-6 doesn't help you understand WHICH DB2 users ● Mnemonic data set and DD names in SMF 14 and 15 ● For example “STEPLIB” or “~.RUNLIB” ● Batch understanding is greatly aided by data set information ● I've discussed this at length elsewhere ● CICS VSAM LSR pool use and data sets
  • 28. ... but I have to admit I don’t know what you’re doing right now... 28
  • 29. Online Monitoring Still Has A Role ● It's unimpressive to respond to an incident with “No but I can tell you what happened last week” ● Automation probably requires it ● Some things simply aren't available in an externally-recorded form ● People seem to quite like it
  • 30. Architects Will Recognise This As Incomplete
  • 31. This Is Not A Complete Architecture As Architects Would Recognise It ● This only documents componentry inside the mainframe ● The names are not necessarily names Applications people or architects would recognise ● For example a machine serial number is probably NOT what an architect would use to name a machine ● If they even WANTED to name a machine ● There's little commentary ● Interfaces are sparse ● An attempt to portray our understanding as architectural would appear like Officer Crabtree's * attempts to speak French * http://en.wikipedia.org/wiki/Officer_Crabtree
  • 32. So What Do We Still Need?
  • 34. Some Parting Thoughts ● Experiment with data depiction techniques ● Example: Plot “with load” rather than time of day ● Example: Use time as the third dimension ● Maybe someone knows how to make animated GIFs or movies from static graphics ● Think of creative ways to use instrumentation ● Look to other sources of instrumentation than the obvious ● Beware the subtleties of e.g. field meanings ● Which, I guess, means staying “plugged in to the folklore”
  • 35. I'm Told I don't Do Enough Graphics … So Here Are Some (Almost) Gratuitous Ones :-) Source: http://www.edwardtufte.com/tufte/posters
  • 36. Provenance Is Important Source: http://www.the-world-heritage-sites.com/messel-pit-fossil-site_germany.htm
  • 37. Messel Pit Fossil Site, Germany The Messel Pit Fossil Site is a disused quarry in the village of Messel, Darmstadt-Dieburg, Hesse, about 35 km southeast of Frankfurt-am-Main, Germany. The quarry used to be a mine since 1859, when brown coal and later bituminous shale were mined. By the 1900's, it became well known for a different reason, when it began to yield fossils. Nevertheless, mining continued until as late as 1971, when the shale mine finally closed, and a cement factory built in the quarry also failed. After the quarry became disused, there was a plan to turn it into a garbage dump. Fossil enthusiasts were allowed to dig in the quarry. These amateurs developed a technique to preserve the fine details on small fossils. In time, the Messel Pit became known as the richest site for fossils from the Eocene period, which was between 57 million and 36 million years ago. Today scientists have uncovered exceptionally well-preserved fossils of mammals, including fully articulated skeletons to the contents of the stomach of animals from that period. In 1995, Messel Pit Fossil Site became the first site to be inscribed as a World Heritage Site solely due to fossils. It took place at the 19th session of the World Heritage Committee held in Berlin, Germany, on 4-9 December, 1995. Source: http://www.the-world-heritage-sites.com/messel-pit-fossil-site_germany.htm