Effective Zseries Performance Monitoring Using Resource Measurement Facility

Total Page:16

File Type:pdf, Size:1020Kb

Effective Zseries Performance Monitoring Using Resource Measurement Facility Front cover Effective zSeries Performance Monitoring Using Resource Measurement Facility Setting up and customizing RMF components Understanding the new features and reports Using RMF to monitor performance in real-world scenarios Pierre Cassier Raimo Korhonen Peter Mailand Michael Teuffel ibm.com/redbooks International Technical Support Organization Effective zSeries Performance Monitoring Using Resource Measurement Facility April 2005 SG24-6645-00 Note: Before using this information and the product it supports, read the information in “Notices” on page vii. First Edition (April 2005) This edition applies to Version 1, Release 6 of z/OS (product number 5694-A01). © Copyright International Business Machines Corporation 2005. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . vii Trademarks . viii Preface . ix The team that wrote this redbook. ix Become a published author . .x Comments welcome. xi Part 1. RMF components . 1 Chapter 1. RMF data gatherers . 3 1.1 Gathering data . 4 1.1.1 Monitors for data gathering . 4 1.1.2 Storing data. 4 1.1.3 Defining measurement options . 5 1.1.4 Using the RMF Sysplex Data Server to access data across the sysplex . 5 1.2 Long term data gathering with Monitor I and Monitor III . 7 1.2.1 Data gathering with Monitor I . 7 1.2.2 Data gathering services with Monitor III . 9 1.3 Snapshot monitoring with Monitor II . 10 1.4 Short term data collection with Monitor III . 11 1.4.1 Common Monitor III report measurements . 12 1.5 RMF Linux data gatherer . 14 Chapter 2. RMF performance data front ends . 17 2.1 The RMF performance management menu . 18 2.2 Monitor II or Monitor III . 18 2.3 Monitor II . 19 2.3.1 Using the Monitor II ISPF session. 19 2.4 Monitor III . 22 2.4.1 Using the Monitor III ISPF session . 23 2.4.2 Generating WTO messages . 26 2.5 Postprocessor . 32 2.5.1 Using the Postprocessor to create reports . 32 2.6 Spreadsheet Reporter. 40 2.6.1 Spreadsheet Reporter concept . 42 2.6.2 Getting started . 48 2.7 RMF Performance Monitoring . 74 2.7.1 Using RMF PM . 75 2.7.2 Troubleshooting . 92 2.8 RMF Web browser interface . 93 2.8.1 Using RMF Web browser interface . 94 2.9 Using RMF application programming interfaces . 107 2.9.1 Calling services ERBDSQRY, ERBDSREC, ERB2XGDS, and ERB3XDRS . 108 Part 2. Setting up and customizing RMF components . 109 Chapter 3. Setup and customization of the traditional favorites . 111 3.1 RMF customization . 112 © Copyright IBM Corp. 2005. All rights reserved. iii 3.1.1 Basic customization . 112 3.1.2 Advanced RMF configuration . 115 3.2 Monitor I . 118 3.2.1 Relationship to SMF . 118 3.2.2 Monitor I customization considerations. 119 3.2.3 Starting Monitor I. 120 3.3 Monitor II . 123 3.3.1 Customization of the Monitor II background session . 123 3.3.2 Starting the Monitor II background session. 124 3.4 Monitor III . 124 3.4.1 Customization of the Monitor III gatherer . 124 3.4.2 Monitor III in-storage buffer. 128 3.4.3 Starting the Monitor III gatherer . 128 3.4.4 Using preallocated data sets. 129 3.4.5 Transmitting Monitor III data to another location. 129 3.5 Sysplex Data Server . 130 Chapter 4. Setup and customization of the new RMF facilities . 133 4.1 RMF Spreadsheet Reporter . 134 4.1.1 Prerequisites . 134 4.1.2 Installation. 135 4.1.3 Starting the Spreadsheet Reporter . 135 4.2 RMF Distributed Data Server . 136 4.2.1 Setting up the Distributed Data Server . 136 4.3 RMF Linux data gatherer . 138 4.3.1 Installation. 138 4.3.2 Customization . 139 4.3.3 Start RMF Linux data gatherer . 144 4.4 RMF Performance Monitor . 147 4.4.1 Installing RMF PM under Microsoft Windows . 147 4.4.2 Installing RMF PM under Linux on your workstation. ..
Recommended publications
  • Design and Performance of a Modular Portable Object Adapter for Distributed, Real-Time, and Embedded CORBA Applications
    Design and Performance of a Modular Portable Object Adapter for Distributed, Real-Time, and Embedded CORBA Applications Raymond Klefstad, Arvind S. Krishna, and Douglas C. Schmidt g fklefstad, krishnaa, schmidt @uci.edu Electrical and Computer Engineering Dept. University of California, Irvine, CA 92697, USA Abstract of distributed computing from application developers to mid- dleware developers. It has been used successfully in large- ZEN is a CORBA ORB designed to support distributed, real- scale business systems where scalability, evolvability, and in- time, and embedded (DRE) applications that have stringent teroperability are essential for success. memory constraints. This paper discusses the design and per- Real-time CORBA [5] is a rapidly maturing DOC middle- formance of ZENs portable object adapter (POA) which is ware technology standardized by the OMG that can simplify an important component in a CORBA object request broker many challenges for DRE applications, just as CORBA has (ORB). This paper makes the following three contributions for large-scale business systems. Real-time CORBA is de- to the study of middleware for memory-constrained DRE ap- signed for applications with hard real-time requirements, such plications. First, it presents three alternative designs of the as avionics mission computing [6]. It can also handle ap- CORBA POA. Second, it explains how design patterns can be plications with stringent soft real-time requirements, such as applied to improve the quality and performance of POA im- telecommunication call processing and streaming video [7]. plementations. Finally, it presents empirical measurements ZEN [8] is an open-source Real-time CORBA object re- based on the ZEN ORB showing how memory footprint can quest broker (ORB) implemented in Real-time Java [9].
    [Show full text]
  • Servant Documentation Release
    servant Documentation Release Servant Contributors February 09, 2018 Contents 1 Introduction 3 2 Tutorial 5 2.1 A web API as a type...........................................5 2.2 Serving an API.............................................. 10 2.3 Querying an API............................................. 28 2.4 Generating Javascript functions to query an API............................ 31 2.5 Custom function name builder...................................... 38 2.6 Documenting an API........................................... 38 2.7 Authentication in Servant........................................ 43 3 Cookbook 51 3.1 Structuring APIs............................................. 51 3.2 Serving web applications over HTTPS................................. 54 3.3 SQLite database............................................. 54 3.4 PostgreSQL connection pool....................................... 56 3.5 Using a custom monad.......................................... 58 3.6 Basic Authentication........................................... 60 3.7 Combining JWT-based authentication with basic access authentication................ 62 3.8 File Upload (multipart/form-data)............................... 65 4 Example Projects 69 5 Helpful Links 71 i ii servant Documentation, Release servant is a set of packages for declaring web APIs at the type-level and then using those API specifications to: • write servers (this part of servant can be considered a web framework), • obtain client functions (in haskell), • generate client functions for other programming
    [Show full text]
  • Concurrency Patterns for Easier Robotic Coordination
    Concurrency Patterns for Easier Robotic Coordination Andrey Rusakov∗ Jiwon Shin∗ Bertrand Meyer∗† ∗Chair of Software Engineering, Department of Computer Science, ETH Zurich,¨ Switzerland †Software Engineering Lab, Innopolis University, Kazan, Russia fandrey.rusakov, jiwon.shin, [email protected] Abstract— Software design patterns are reusable solutions to Guarded suspension – are chosen for their concurrent nature, commonly occurring problems in software development. Grow- applicability to robotic coordination, and evidence of use ing complexity of robotics software increases the importance of in existing robotics frameworks. The paper aims to help applying proper software engineering principles and methods such as design patterns to robotics. Concurrency design patterns programmers who are not yet experts in concurrency to are particularly interesting to robotics because robots often have identify and then to apply one of the common concurrency- many components that can operate in parallel. However, there based solutions for their applications on robotic coordination. has not yet been any established set of reusable concurrency The rest of the paper is organized as follows: After design patterns for robotics. For this purpose, we choose six presenting related work in Section II, it proceeds with a known concurrency patterns – Future, Periodic timer, Invoke later, Active object, Cooperative cancellation, and Guarded sus- general description of concurrency approach for robotics pension. We demonstrate how these patterns could be used for in Section III. Then the paper presents and describes in solving common robotic coordination tasks. We also discuss detail a number of concurrency patterns related to robotic advantages and disadvantages of the patterns and how existing coordination in Section IV.
    [Show full text]
  • Servant Documentation Release
    servant Documentation Release Servant Contributors March 07, 2016 Contents 1 Introduction 3 2 Tutorial 5 2.1 A web API as a type...........................................5 2.2 Serving an API..............................................9 2.3 Querying an API............................................. 25 2.4 Generating Javascript functions to query an API............................ 28 2.5 Documenting an API........................................... 30 3 Helpful Links 35 i ii servant Documentation, Release servant is a set of packages for declaring web APIs at the type-level and then using those API specifications to: • write servers (this part of servant can be considered a web framework), • obtain client functions (in haskell), • generate client functions for other programming languages, • generate documentation for your web applications • and more... All in a type-safe manner. Contents 1 servant Documentation, Release 2 Contents CHAPTER 1 Introduction servant has the following guiding principles: • concision This is a pretty wide-ranging principle. You should be able to get nice documentation for your web servers, and client libraries, without repeating yourself. You should not have to manually serialize and deserialize your resources, but only declare how to do those things once per type. If a bunch of your handlers take the same query parameters, you shouldn’t have to repeat that logic for each handler, but instead just “apply” it to all of them at once. Your handlers shouldn’t be where composition goes to die. And so on. • flexibility If we haven’t thought of your use case, it should still be easily achievable. If you want to use templating library X, go ahead. Forms? Do them however you want, but without difficulty.
    [Show full text]
  • Design Patterns
    Design Patterns Andy Verkeyn April 2001 - March 2003 Third version [email protected] http://allserv.rug.ac.be/~averkeyn Contents Contents ______________________________________________________________________ 1 Foreword _____________________________________________________________________ 1 Introduction___________________________________________________________________ 1 Iterator _______________________________________________________________________ 2 Adapter (class)_________________________________________________________________ 4 Adapter (object) ________________________________________________________________ 5 Decorator _____________________________________________________________________ 7 Singleton _____________________________________________________________________ 9 Chain of responsibility _________________________________________________________ 12 Observer_____________________________________________________________________ 14 Command____________________________________________________________________ 16 Bridge_______________________________________________________________________ 18 Factory method _______________________________________________________________ 20 Abstract factory _______________________________________________________________ 21 Proxy _______________________________________________________________________ 22 Other patterns used in Java _____________________________________________________ 24 Foreword This text is mainly taken from the excellent book “Design patterns: Elements of reusable Object- Oriented
    [Show full text]
  • IC Coder's Club Design Patterns (In C++)
    Andrew W. Rose Simple exercise You have been tasked to move this pile from A to B Simple exercise You have been tasked to move this pile from A to B You have three resources available to you: a) Bare hands b) A stack of timber c) A horse and cart Simple exercise You have been tasked to move this pile from A to B You have three resources available to you: a) Bare hands b) A stack of timber c) A horse and cart How do you achieve the task in the quickest, least-painful way, which won’t leave you up-to-your-neck in the produce you are moving, nor smelling of it? Software analogy a) Bare hands b) A stack of timber c) A horse and cart Software analogy a) Bare hands b) A stack of timber c) A horse and cart Do a task manually Software analogy a) Bare hands b) A stack of timber c) A horse and cart Design Do a task the tools manually yourself Software analogy a) Bare hands b) A stack of timber c) A horse and cart Benefit from Design Do a task someone the tools manually else’s yourself hard work Software analogy a) Bare hands b) A stack of timber c) A horse and cart Benefit from someone else’s This is the purpose of design patterns! hard work Motivation I will, in fact, claim that the difference between a bad programmer and a good one is whether he considers his code or his data structures more important: Bad programmers worry about the code; good programmers worry about data structures and their relationships.
    [Show full text]
  • Performance and Tuning Handbook for Websphere On
    Front cover Performance Monitoring and Best Practices for WebSphere on z/OS Learn to build a monitoring and profiling environment Discover a comprehensive discussion of parameters Acquire knowledge about best practices Alex Louwe Kooijmans Tony J. Cox Ruud Huisman Magdalena Marsh Koelli Mungee Brian S Paskin Martina Schmidt Thomas Schulze Javier Voos Franck Yu ibm.com/redbooks International Technical Support Organization Performance Monitoring and Best Practices for WebSphere on z/OS April 2007 SG24-7269-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (April 2007) This edition applies to WebSphere Application Server Version 6.02 and Version 6.1 for z/OS. © Copyright International Business Machines Corporation 2007. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this IBM Redbooks publication . .xi Become a published author . xiii Comments welcome. xv Chapter 1. Introduction. 1 1.1 The structure of the book . 2 1.2 How do you use this book . 2 1.3 Other sources of information . 5 Part 1. Our environment . 7 Chapter 2. Our infrastructure . 9 Chapter 3. Our sample workload . 19 3.1 IBM Trade V6.1 . 21 3.2 ITSO Trader V6.1 . 23 3.3 Business transaction scenarios. 26 3.3.1 IBM Trade V6.1 business transaction scenarios. 27 3.3.2 ITSO Trader V6.1 business transaction scenarios . 29 3.4 Workloads . 30 3.4.1 Workload scripts .
    [Show full text]
  • Server Models Unit 3 - Server Models Techdocs WP101740, WP102110
    Unit 1a - Overview © 2013 IBM Corporation IBM Advanced Technical Skills WebSphere Application Server V8.5 for z/OS WBSR85 WBSR85 WebSphere Application ServerUnit z/OS 3 - V8.5Server Models Unit 3 - Server Models TechDocs WP101740, WP102110 Unit 1a - 1 Unit 3 - Server Models This page intentionally left blank IBM Americas Advanced Technical Skills 2 © 2013 IBM Corporation Gaithersburg, MD Unit 3 - 2 Unit 3 - Server Models Overview With WAS z/OS V8.5 we now have two server models to choose from: Traditional Multi-JVM Model Liberty Profile Model "Application Server" "Application Server" Liberty Controller Servant Profile Region WLM Regions Server Instance ● Two or more JVMs make up an ● One JVM makes up an application application server instance server instance ● CR does the request handling, SR ● Lightweight, composable and hosts the applications dynamic updates ● Full Java EE server runtime ● Web applications at this time ● Administration through DMGR and ● Simple configuration and Admin Console as seen in Unit 2 administrative model ● Includes "Granular RAS" function ● Not part of the traditional WAS cell or which we'll explore in this unit administrative model Traditional WAS z/OS model ... IBM Americas Advanced Technical Skills 3 © 2013 IBM Corporation Gaithersburg, MD With WAS z/OS V8.5 we now have two "server models" to consider -- the traditional model with the multiple JVMs and the full set of Java EE functions, and the new "Liberty Profile" model which is intended to offer a lighter, more dynamic alternative when the traditional model is deemed more than adequate. In this unit we'll cover both, starting with the traditional model, which will include a discussion of work distribution to multiple servant regions, WLM service and reporting classes, the XML classification file and the V8 function called "Granular RAS," which allows functional behavior to be driven down to the request level.
    [Show full text]
  • Software Frameworks, Architectural and Design Patterns
    Journal of Software Engineering and Applications, 2014, 7, 670-678 Published Online July 2014 in SciRes. http://www.scirp.org/journal/jsea http://dx.doi.org/10.4236/jsea.2014.78061 Software Frameworks, Architectural and Design Patterns Njeru Mwendi Edwin Department of Computing, Jomo Kenyatta University of Agricluture & Technology, Nairobi, Kenya Email: [email protected] Received 21 April 2014; revised 20 May 2014; accepted 14 June 2014 Copyright © 2014 by author and Scientific Research Publishing Inc. This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/ Abstract Software systems can be among the most complex constructions in engineering disciplines and can span into years of development. Most software systems though implement in part what has already been built and tend to follow known or nearly known architectures. Although most soft- ware systems are not of the size of say Microsoft Windows 8, complexity of software development can be quick to increase. Thus among these methods that are the most important is the use of ar- chitectural and design patterns and software frameworks. Patterns provide known solutions to re-occurring problems that developers are facing. By using well-known patterns reusable compo- nents can be built in frameworks. Software frameworks provide developers with powerful tools to develop more flexible and less error-prone applications in a more effective way. Software frame- works often help expedite the development process by providing necessary functionality “out of the box”. Providing frameworks for reusability and separation of concerns is key to software de- velopment today.
    [Show full text]
  • Design Patterns for Developing and Using Real-Time CORBA Object Request Brokers
    Design Patterns for Developing and Using Real-time CORBA Object Request Brokers Douglas C. Schmidt [email protected] Washington University, St. Louis www.cs.wustl.edu/schmidt/TAO4.ps.gz Sp onsors Bellcore, Bo eing, CDI, DARPA, Ko dak, Lucent, Motorola, NSF, OTI, SAIC, Siemens SCR, Siemens MED, Siemens ZT, and Sprint High-p erformance, Real-time ORBs Douglas C. Schmidt Motivation: the Distributed Software Crisis Symptoms DX IMAGE STORE { Hardware gets smaller, faster, cheap er ATM LAN { Software gets larger, slower, DIAGNOSTIC re exp ensive STATIONS mo Culprits ATM MAN Accidental and inherent CLUSTER { ATM IMAGE y LAN STORE complexit Solutions MODALITIES CENTRAL Middleware, frameworks, (CT, MR, CR) IMAGE { STORE and patterns comp onents, 1 y, St. Louis Universit Washington Douglas C. Schmidt High-p erformance, Real-time ORBs Sources of Complexity for Distributed Applications PRINTER Inherent complexity COMPUTER { Latency FILE Reliability CD ROM SYSTEM { { Partitioning (1) STAND-ALONE APPLICATION ARCHITECTURE { Ordering TIME NAME SERVICE CYCLE Accidental Complexity SERVICE SERVICE DISPLAY SERVICE { Low-level APIs FI LE Poor debugging to ols NETWORK SERVICE { Algorithmic PRINT { SERVICE CD ROM decomp osition Continuous re-invention PRINTER FILE SYSTEM { (2) DISTRIBUTED APPLICATION ARCHITECTURE 2 Washington University, St. Louis High-p erformance, Real-time ORBs Douglas C. Schmidt Techniques for Improving Software Quality and Pro ductivity Proven solutions APPLICATION NETWORKING Comp onents SPECIFIC { LOGIC INVOKES MATH ADTS Self-contained, \pluggable" EVENT USER DATA ADTs LOOP INTERFACE BASE { Frameworks (A) CLASS LIBRARY Reusable, \semi-complete" ARCHITECTURE applications NETWORKING USER Patterns MATH { INTERFACE Problem/solution pairs in a APPLICATION CALL INVOKES SPECIFIC BACKS LOGIC EVENT context LOOP Architecture S { ADT DATABASE Families of related patterns (B) APPLICATION FRAMEWORK ARCHITECTURE and comp onents 3 y, St.
    [Show full text]
  • Pattern-Oriented Software Architecture, Volume 2.Pdf
    Pattern-Oriented Software Architecture, Patterns for Concurrent and Networked Objects, Volume 2 by Douglas Schmidt, Michael Stal, Hans Rohnert and Frank Buschmann ISBN: 0471606952 John Wiley & Sons © 2000 (633 pages) An examination of 17 essential design patterns used to build modern object- oriented middleware systems. 1 Table of Contents Pattern-Oriented Software Architecture—Patterns for Concurrent and Networked Objects, Volume 2 Foreword About this Book Guide to the Reader Chapter 1 - Concurrent and Networked Objects Chapter 2 - Service Access and Configuration Patterns Chapter 3 - Event Handling Patterns Chapter 4 - Synchronization Patterns Chapter 5 - Concurrency Patterns Chapter 6 - Weaving the Patterns Together Chapter 7 - The Past, Present, and Future of Patterns Chapter 8 - Concluding Remarks Glossary Notations References Index of Patterns Index Index of Names 2 Pattern-Oriented Software Architecture—Patterns for Concurrent and Networked Objects, Volume 2 Douglas Schmidt University of California, Irvine Michael Stal Siemens AG, Corporate Technology Hans Rohnert Siemens AG, Germany Frank Buschmann Siemens AG, Corporate Technology John Wiley & Sons, Ltd Chichester · New York · Weinheim · Brisbane · Singapore · Toronto Copyright © 2000 by John Wiley & Sons, Ltd Baffins Lane, Chichester, West Sussex PO19 1UD, England National 01243 779777 International (+44) 1243 779777 e-mail (for orders and customer service enquiries): <[email protected]> Visit our Home Page on http://www.wiley.co.uk or http://www.wiley.com All rights reserved.
    [Show full text]
  • The House Servant's Directory
    Blank Page B l a n k P a g e Blank Page Blank Page Blank Page THE HOUSE SERVANT'S DIRECTORY, OR A MONITOR FOR PRIVATE FAMILIES : COMPRISING HINTS ON THE ARRANGEMENT AND PERFORMANCE OF SERVANTS' WORK, WITH GENERAL RULES FOR SETTING OUT TABLES AND SIDEBOARDS IN FIRST ORDER ; T H E A R T OF IN ALL ITS BRANCHES ; AND LIKEWISE HOW TO CONDUCT LARGE AND SMALL PARTIES WITH ORDER ; WITH GENERAL DIRECTIONS FOR PLACING ON TABLE ALL KINDS OF JOINTS, FISH, FOWL, &c. W ITH FULL INSTRUCTIONS FOR CLEANING PLATE, BRASS, STEEL, GLASS, MAHOGANY ; AND LIKEW ISE ALL KINDS OF PATENT AND COMMON LAMPS : OBSERVATIONS ON SERVANTS’ BEHAVIOUR TO THEIR EMPLOYERS; AND UPWARDS OF 100 VARIOUS A N D USEFUL RECEIPTS. CHIEFLY COMPILED. FOR THE USE OF HOUSE SERVANTS ; AND IDENTICALLY MADE TO SUIT THE MANNERS AND CUSTOMS OF FAMILIES IN THE UNITED STATES. B y ROBERT ROBERTS. W ITH FRIENDLY ADVICE T O C O O K S AND HEADS OF FAMILIES, AND COMPLETE DIRECTIONS HOW TO BURN LEIG H COAL. BOSTON, MUNROE AND FRANCIS, 128 WASHINGTON-STREET. NEW YORK, CHARLES S. FRANCIS, 1 8 9 BROADWAY. 1827 DISTRICT OF MASSACHUSETTS, TO WIT : District Clerk's Office. Be it remembered, that on the ninth day of March, A.D. 1827, in the fifty-first year of the Independence of the United States of America, M u n r o e & F r a n c i s , of the said district, have deposited in this Of­ fice, the Title of a Book the right whereof they claims as Proprietors in the words following, to wit: The House Servants Directory or a Monitor for Private Families : comprising hints on the arrangement and performance of servants' work, with general rules for setting out Tables and Sideboards in first order ; the Art of Waiting in all its branches ; and likewise how to conduct Large and Small Parties with order 5 with general directions for plac­ ing on Table all kinds of Joints, Fish, Fowl, &c.
    [Show full text]