Zvse CMT and SCRT Update
Zvse CMT and SCRT Update
Jens Remus
http://www.ibm.com/zVSE http://twitter.com/IBMzVSE
2013 IBM Corporation
The following are trademarks of the International Business Machines Corporation in the United States, other countries, or both.
Not all common law marks used by IBM are listed on this page. Failure of a mark to appear does not mean that IBM does not use the mark nor does it mean that the product is not actively marketed or is not significant within its relevant market. Those trademarks followed by are registered trademarks of IBM in the United States; all others are trademarks or common law marks of IBM in the United States.
Agenda
4 Hour Rolling Average (4HRA) Sub-Capacity Measurement and Reporting on z/VSE Capacity Measurement Tool (CMT) Sub-Capacity Reporting Tool (SCRT) Sub-Capacity Report Enhancements to CMT and SCRT Hints & Tips Programming APIs Capacity Measurement Tool (CMT) API Query Virtual Server (QVS) API
4-H ou r R o lling A ve r a ge
11 a m (8,9,10,11): 35 M S U s 12 pm (9,10,11,12): 55 M S U s 1 pm (10,11,12,1): 65 M S U s 2 pm (11,12,1,2): 4 pm (1, 2, 3, 4): 75 M S U s 65 M S U s 3 pm (12, 1, 2, 3): 80 M S U s
100 80 M SU s 60 40 20 0 T im e = >
7 2013 IBM Corporation
L P A R O ne L PA R T wo C o m bin e d U til
June
Run Submit May May Report Report
( 2 June ) ( 9 June )
July
Billing Effective Date for May Report
( 1 July )
August
Billing Effective Date for June Report Billing Effective Date for July Report
Reporting Requirements Must report on all LPARs and z/VM guests (e.g. production, test, development, ) 95% overall data collection Default (i.e. worst case) are full-capacity prices
8 2013 IBM Corporation
Data Collection
Data Submission
CMT
SCRT89 Records
SCRT
SubCapacity Report(s)
IJBCMT
PARM = INITDS | START | STOP
Generates a SCRT89 record every measurement interval (30 minutes) Writes the record to the CMT files (wrap-around) CMT Batch Interface (IJBCMT) Initialize CMT files (INITDS) Start measurement and specify CMT ID (START,ID=) Stop measurement (STOP) SIR AR Command Query CMT status: 'CAPACITY MEASUREMENT ACTIVE' CMT Report Tool (IJBCMTRP) Extracts SCRT89 records for a specified reporting period from the CMT BAM files into a VSAM ESDS file Setup using skeletons in ICCF library 59: SKCMT, SKCMTINI, SKCMTREP (Manual: Using the Sub-Capacity Reporting Tool 10 (SCRT User's Guide), SG24-6522)
IJBCMTRP
Sub-Capacity Reporting Tool (SCRT) Processes SCRT89 records from multiple systems (and optional from multiple machines) together Generates a Sub-Capacity Report (SCRT report) for each machine The SCRT report is in Comma Separated Values (CSV) format; can be viewed and edited using spreadsheet applications (e.g. MS Excel, OO.org Calc) Submission process to IBM License Management Support (LMS) application: Download report to workstation for review and editing, then use either e-mail or web for submission to LMS Send by e-mail to LMS, then manage, edit, and confirm via web
2013 IBM Corporation
SCRTTOOL
11
NO89-Products: Not monitored by CMT. Customer provides list of LPARs and VM guests where the products were active in SCRT JCL NO89 section.
12
DB2 Server for VSE & VM (5697-F42) DITTO/ESA for VSE (5648-099) DL/1 DOS/VS (5746-XX1) High Level Assembler VSE & VM (5696-234) IBM C for VSE/ESA V1 (5686-A01) IBM COBOL VSE/ESA (5686-068) IBM DFSORT/VSE V3 (5746-SM3) IBM PL/1 for VSE/ESA (5686-069) MQSeries for VSE/ESA V2 (5686-A06) WebSphere MQ for VSE/ESA V3 (5655-U97) TCP/IP for VSE (5686-A04) IBM Rational COBOL Runtime for Z/VSE V7 (5648-F66) IPv6/VSE V1 (5686-BS1)
2013 IBM Corporation
Sub-Capacity Reporting Tool (SCRT) * DLBLS OF ALL INPUT FILES CONTAINING SCRT89 RECORDS JCL Sections // DLBL INPUT1,'SCRT89.RECORDS.VSE1',,VSAM,CAT=DATACAT
// DLBL INPUT2,'SCRT89.RECORDS.VSE2',,VSAM,CAT=DATACAT * DLBL OF OUTPUT FILE TO SAVE THE SCRT REPORT TO // DLBL OUTPUT,'SCRT.REPORT',,VSAM,CAT=DATACAT // EXEC SCRTTOOL $INPUT: * ENTER DLBLS OF ALL INPUT FILES CONTAINING SCRT89 RECORDS INPUT1 INPUT2 $PARMS: Customer_Name=John Doe Corporation Customer_Number=123456789 Contact_Name=John Doe [email protected] Contact_Phone=+1-123-456-7890 * PO_Number= * Report_Period=YYYY/MM * Report_Period=Last_Month * LPAR_Comment CPC= ,LPAR= , * Comment="......" *$SPECIAL: * Exclude CPC= ,Image_Id= ,Product_Id= , * Start= ,Resume= $NO89: * DB2 SERVER FOR VSE & VM 5697-F42=*NONE * DITTO/ESA FOR VSE 5648-099=*ALL [...]
Label Definitions Input files containing SCRT89 records Output file for the SCRT report INPUT-Section List of DLBLs of input files PARMS-Section Customer information Report period (optional) Comments (optional) SPECIAL-Section (optional) For use in special situations NO89-Section List of LPARs and VM Guests where NO89 products were active 13
15
16
17
18
Sample Sub-Capacity Report SMF / SCRT89 Input Data Statistics (M5) Section
19
"==N5==============================================================="
"DETAIL LPAR DATA SECTION" "" "","Highest","Hour Count","Date/Time","","2nd Highest","Hour Count","Date/Time" "" "R35LP11",103,17,"12 Jun 2012 - 19:00","",102,1,"12 Jun 2012 - 18:00" "R35LP45(R3545057)",103,42,"23 Jun 2012 - 04:00","",102,2,"26 Jun 2012 - 10:00" "R35LP45(R3545058)",103,42,"23 Jun 2012 - 04:00","",102,2,"26 Jun 2012 - 10:00" "" "CPC",206,42,"23 Jun 2012 - 04:00","",204,2,"26 Jun 2012 - 10:00" ""
20 2013 IBM Corporation
21
"==Q5==============================================================="
"PRODUCT GRID SNAPSHOT" "" "Product Name","Product ID","","","","R35LP11","R35LP45(R3545057)","R35LP45(R3545058)" "" "z/VSE","(All)","","","","38.3%","13.1%","13.0%" "VSE Central Functions V9","5686-CF9","","","","38.3%","","13.0%" "VSE Central Functions V8","5686-CF8","","","","","13.1%","" "ACF/VTAM V4 VSE/ESA","5686-065","","","","38.3%","13.1%","13.0%" "CICS TS for VSE/ESA","5648-054","","","","38.3%","13.1%","13.0%" ""
22 2013 IBM Corporation
"" "This report is prepared by the IBM System z customer identified above (""Customer"") or its authorized designee, and such" "Customer is solely responsible for the completeness and accuracy of information and data used to create this report." "Specifically, IBM makes no representations or warranties regarding the contents or accuracy of this report." "Any questions regarding the contents of this report should be directed to the Customer." "" "A12212402E50127F50702H52950K51067"
23
Enhancements to z/VSE Capacity Measurement Tool (CMT) and Sub-Capacity Reporting Tool (SCRT)
z/VSE 4.2: Support for reporting of z/VSE system image capacities of less than one MSU APARs for z/VSE 4.1 and z/VSE 4.2 (DY47027 and DY47029) z/VSE 4.3: Support for z196, z114, zEC12, zBC12, and Static Power Save Mode APARs for z/VSE 4.1 and z/VSE 4.2 (DY47110 and DY47111) Static Power Save Mode only available on z196 and zEC12 Includes support for CMT data files that exceed 32767 tracks on ECKD disks in CMT Report Tool (IJBCMTRP) CMT message 0S48 is highlighted and retained on the console (z/VSE 4.3 onwards) z/VSE 5.1: Support for date and time offsets in CMT Report Tool (IJBCMTRP) APARs for z/VSE 4.1, z/VSE 4.2, and z/VSE 4.3 (DY47196, DY47194, and DY47197) Useful in case of e.g. end-of-year processing tests SCRT V20.1.0: Support for z/VSE V4 and V5 on one machine Latest version of SCRT: SCRT V21.2.0 released on 04/10/2013
24 2013 IBM Corporation
26
References
Midrange Workload License Charge (MWLC) for z/VSE http://www.ibm.com/systems/z/os/zvse/howtobuy/mwlc.html Advanced Entry Workload License Charges (AEWLC) for z/VSE http://www.ibm.com/systems/z/os/zvse/howtobuy/aewlc.html Sub-Capacity Reporting Tool (SCRT) http://www.ibm.com/systems/z/resources/swprice/subcap/scrt/ Download SCRT for z/OS and z/VSE Download Using the Sub-Capacity Reporting Tool (SCRT User's Guide), SG24-6522 SCRT Support Team: [email protected] License Management Support (LMS) http://www.ibm.com/software/lms/ Subscribe to the LMS/SCRT e-mail newsletter (announcements, updates) LMS Support Team: [email protected]
28
Russian
Bedankt
Nederlands
Merci
French Arabic
Obrigado
Brazilian Portuguese
English
Gracias!
Spanish Simplified Chinese
Danke
German
Traditional Chinese
Japanese
Thank You
@ http://www.ibm.com/zvse/education/ @ http://www.vm.ibm.com/education/lvc/
@ http://twitter.com/IBMzVSE