z/OS Version 2 Release 3
MVS Planning: Workload Management
IBM
SC34-2662-30
Note
Before using this information and the product it supports, read the information in “Notices” on page 235.
This edition applies to Version 2 Release 3 of z/OS (5650-ZOS) and to all subsequent releases and modifications until otherwise indicated in new editions.
Last updated: 2019-06-24
©
Copyright International Business Machines Corporation 1994, 2019.
US Government Users Restricted Rights – Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
Contents
Figures................................................................................................................. xi Tables..................................................................................................................xv About this information....................................................................................... xvii
Who should use this information..............................................................................................................xvii Where to find more information............................................................................................................... xvii Other referenced documents.................................................................................................................. xviii Information updates on the web...............................................................................................................xix
How to send your comments to IBM.....................................................................xxi
If you have a technical problem................................................................................................................xxi
Summary of changes.........................................................................................xxiii
Summary of changes for z/OS Version 2 Release 3 (V2R3)................................................................... xxiii Summary of changes in z/OS Version 2 Release 2 (V2R2) as updated March 2017............................. xxiv Summary of changes in z/OS Version 2 Release 2 (V2R2) as updated December 2015....................... xxv Summary of changes for z/OS Version 2 Release 2 (V2R2).................................................................... xxv Changes made in z/OS Version 2 Release 1 (V2R1) as updated December 2013................................. xxv Changes made in z/OS Version 2 Release 1............................................................................................ xxv
Chapter 1. Why MVS workload management?.........................................................1
Problems addressed by workload management.........................................................................................1 MVS workload management solution for today and tomorrow.................................................................. 1
Chapter 2. What is MVS workload management?.................................................... 3
Performance administration........................................................................................................................ 4 Performance management.......................................................................................................................... 5 Workload balancing......................................................................................................................................5 Workload management concepts................................................................................................................6
What is a service definition?...................................................................................................................6 Why use service policies?.......................................................................................................................6 Organizing work into workloads and service classes............................................................................ 6 Why use resource groups or tenant resource groups?..........................................................................9 Assigning work to a service class.........................................................................................................10 Why use application environments?....................................................................................................11 Why use scheduling environments?.................................................................................................... 12 Summary of service definition and service policy concepts............................................................... 14
Chapter 3. Workload management participants.................................................... 17
Workload management work environments.............................................................................................17
Subsystem support for goal types and multiple periods.................................................................... 18 Subsystem-specific performance hints...............................................................................................19
Workload balancing................................................................................................................................... 19
Workload management in a CPSM environment................................................................................. 20 Workload management in a DB2 Distributed Data Facility environment........................................... 20
Batch workload management................................................................................................................... 20 Multisystem enclave support.................................................................................................................... 21 Intelligent Resource Director.................................................................................................................... 22
iii
HiperDispatch mode.................................................................................................................................. 22
Overview............................................................................................................................................... 22 The concept of HiperDispatch mode................................................................................................... 22 Setting HiperDispatch mode in SYS1.PARMLIB.................................................................................. 23
I/O storage management...........................................................................................................................24
Handling service class periods with a response time goal................................................................. 24 Handling service class periods with a velocity goal............................................................................ 25 Handling other I/O requests................................................................................................................ 25 Controlling the information passed to the I/O manager..................................................................... 25
Non-z/OS partition CPU management...................................................................................................... 25 Workload management and Workload License Charges.......................................................................... 26
Defining the capacity of a partition......................................................................................................27 Defining group capacity........................................................................................................................28
Workload management with other products............................................................................................ 30
Chapter 4. Setting up a service definition............................................................. 31
Specifying a service definition...................................................................................................................31 Storing service definitions......................................................................................................................... 31 Defining the parts of a service definition...................................................................................................32
Chapter 5. Defining service policies......................................................................33
Using policy overrides................................................................................................................................34
Chapter 6. Defining workloads............................................................................. 37
Defining a departmental workload............................................................................................................37
Chapter 7. Defining resource groups.....................................................................39
Calculating an LPAR share — Example 1................................................................................................... 42 Specifying the capacity as a number of CPs — Example 2....................................................................... 44
Chapter 8. Defining tenant resource groups..........................................................45 Chapter 9. Defining service classes and performance goals...................................47
Velocity formula......................................................................................................................................... 49 Defining performance goals.......................................................................................................................50
Determining system response time goals........................................................................................... 50 Examples of service classes with response time goals...................................................................... 52 Defining velocity goals......................................................................................................................... 53 Adjusting velocity goals based on samples included in velocity calculation..................................... 53 Using velocity goals for started tasks.................................................................................................. 54 Using discretionary goals..................................................................................................................... 54
Using performance periods....................................................................................................................... 55
Defining goals appropriate for performance periods.......................................................................... 55 Using importance levels in performance periods................................................................................55
Chapter 10. Defining classification rules...............................................................57
Defining classification rules for each subsystem......................................................................................59
Defining work qualifiers....................................................................................................................... 62
Defining special reporting options for workload reporting.......................................................................75 Defining the order of classification rules...................................................................................................77
Defining a subsystem service class default.........................................................................................77
Organizing work for classification..............................................................................................................81
Using masking notation........................................................................................................................82 Using wildcard notation....................................................................................................................... 82 Using the start position........................................................................................................................ 83 Using groups.........................................................................................................................................85
iv
Using the system-supplied service classes.........................................................................................87
Chapter 11. Defining tenant report classes........................................................... 89 Chapter 12. Defining report classes......................................................................91 Chapter 13. Defining service coefficients and options........................................... 93
Deactivate discretionary goal management............................................................................................. 93 Calculating the amount of service consumed...........................................................................................93 Service definition coefficients................................................................................................................... 94
Changing your coefficient values......................................................................................................... 94 Using the storage (MSO) coefficient for calculations.......................................................................... 95
Specifying I/O priority management......................................................................................................... 96
Considerations for I/O priority management...................................................................................... 96
Enabling I/O priority groups...................................................................................................................... 96
Considerations for I/O priority groups.................................................................................................96
Specifying dynamic alias management.....................................................................................................96
Workload management considerations for dynamic alias management........................................... 96 HCD considerations for dynamic alias management.......................................................................... 97
Chapter 14. Defining special protection options for critical work........................... 99
Long-term storage protection....................................................................................................................99
Storage critical for address spaces......................................................................................................99 Storage critical for CICS and IMS transactions................................................................................. 100
Long-term CPU protection.......................................................................................................................100 Long-term I/O protection........................................................................................................................ 100 Honor priority...........................................................................................................................................101 Modifications of transaction response time management.....................................................................102 Sample scenarios.................................................................................................................................... 103
Scenario 1...........................................................................................................................................103 Scenario 2...........................................................................................................................................104 Scenario 3...........................................................................................................................................106 Scenario 4...........................................................................................................................................107 Scenario 5...........................................................................................................................................108 Scenario 6...........................................................................................................................................108
Reporting..................................................................................................................................................110 Option summary...................................................................................................................................... 110
Chapter 15. Defining application environments.................................................. 113
Getting started with application environments...................................................................................... 113 Specifying application environments to workload management...........................................................114 Selecting server limits for application environments............................................................................. 116 How WLM manages servers for an application environment ................................................................ 118 Using application environments..............................................................................................................118 Managing application environments....................................................................................................... 119
Using operator commands for application environments................................................................ 119 Making changes to the application environment servers................................................................. 120 Changing the definition of an application environment.................................................................... 120 Handling error conditions in application environments....................................................................121
Authorizing application environment servers.........................................................................................121
Example for restricting access to application environment servers.................................................121
Chapter 16. Defining scheduling environments................................................... 123
Getting started with scheduling environments.......................................................................................123 Specifying scheduling environments to workload management........................................................... 123 Managing resource states....................................................................................................................... 125
v
Associating scheduling environments with incoming work................................................................... 128 Displaying information about scheduling environments and resource states.......................................128
MVS operator commands...................................................................................................................128 JES2/JES3 operator commands........................................................................................................130 SDSF commands................................................................................................................................ 130
Chapter 17. Workload management migration.................................................... 131
Creating a service definition for the first time........................................................................................ 131 Migrating to a new z/OS release with an existing service definition...................................................... 133 Migration activities.................................................................................................................................. 133
Restricting access to the WLM service definition..............................................................................134 Start the application and enter/edit the service definition...............................................................135 Calculate the size of the WLM couple data set..................................................................................137 Allocate a WLM couple data set.........................................................................................................138 Make a WLM couple data set available to the sysplex for the first time...........................................140 Make a newly formatted couple data set available to the sysplex................................................... 141 Migration considerations for velocity................................................................................................ 142 Migration considerations for discretionary goal management......................................................... 143 Migration considerations for dynamic alias management................................................................ 143 Migration considerations for multisystem enclaves..........................................................................143 Migration considerations for protection of critical work................................................................... 143 Migration considerations for managing non-enclave work in enclave servers................................ 143 Migration considerations for an increased notepad size.................................................................. 144 WLM managed batch initiator balancing........................................................................................... 144 Consider resource group maximum in WLM batch initiator management....................................... 145