Example 3 Creating a composite workload


This next example shows you how to combine both TSO and batch workloads into a single composite workload that is devoted exclusively to Accounting. For resource-planning purposes, you want to create a composite workload to track all of Accounting’s system activity—both TSO and batch—as a single entity. Follow these steps:

  1. Display the WKLIST view.
  2. On the COMMAND line, type ADD to display the Add Workload panel, as shown in following figure.

    BMC Software -------------- ADD WORKLOAD ---------------------------------
    COMMAND ===> _
    Enter Workload Name, Type and Description.
    Name           ===>
    Type           ===>       (ASCH, BAT, OMVS, STC, TSO, COMP)
    Description    ===>
    Press END when all entries are complete.
    Enter CANCEL to CANCEL request.
  3. Fill in each field as follows:

    • To indicate that this workload tracks all Accounting activity, type ACCTALL in the Name field.
    • To identify the workload as a composite workload, type COMP in the Type field.
    • In the Description field, type a description of the workload, as shown in following figure.
    BMC Software -------------- ADD WORKLOAD ---------------------------------
    COMMAND ===> _                                                 SCROLL ===> CSR
    Enter Workload Name, Type and Description.
    Name           ===> ACCTALL
    Type           ===> COMP  (ASCH, BAT, OMVS, STC, TSO, COMP)
    Description    ===> All Accounting work
    Press END when all entries are complete.
    Enter CANCEL to CANCEL request.
  4. Press PF3 (END) to display the Characterize Composite Workload panel, which looks like following figure.

    BMC Software -------------- CHARACTERIZE COMPOSITE WORKLOAD ---------------
    OPTION ===> _
    Valid line commands are:                  Valid options are:
    D - Delete selected workload              A - Add workloads to this composite
    Workload    - ACCTALL
    Description - All Accounting work
    Initial status ===> ACTIVE  (Initial collection status, Active/Inactv)
    The sum of all Weighting % fields must be 100. Current total = 0   %
         Name      Description                             Weighting %
    ----------------------------------------------------------------------------
    ******************************* BOTTOM OF DATA ******************************
  5. Look at the information on this panel:
    • Like the other workload characterization panels, the contents of the Workload and Description fields are simply what you specified on the Add Workload panel.
    • In addition, the default value in the Initial Status field is ACTIVE, which means that MainView for z/OS will begin collecting data for this workload as soon as the product is initialized.
    • The Name , Description, and Weighting fields will contain data after you select some workloads for ACCTALL.
  6. Because you want the MainView for z/OS product to collect data for ACCTALL only during a specified time period, change the Initial Status value to INACTV.
  7. In the OPTION field, type A and press Enter.The Composite Workload Characterization panel is displayed, which looks like following figure.

    BMC Software ---- COMPOSITE WORKLOAD CHARACTERIZATION ---------  ROW 1 OF 96
    COMMAND ===>                                                  SCROLL ===> CSR
    Valid line commands are:
    S - Select workload for inclusion
    Workload    - COMP01
    Description - Test composite workload
      S  Name      Description
    ----------------------------------------------------------------------------
         ACCTCLSA  Acct jobs in class A 7pm-6am
         ACCTCLSB  Acct jobs in class B 7pm-6am
         ACCTCLSK  Acct jobs in class K 7pm-6am
         ACCTCLSQ  Acct jobs in class Q 7pm-6am
         ACCTTSO   Acct TSO Users
         ALLASCH   All APPC Address Spaces
         ALLBAT    All Batch Jobs
         ALLOMVS   All Open MVS Address Spaces
         ALLSTC    All Started Tasks
         ALLTSO    All TSO Address Spaces
         ALLWKLDS  All Address Spaces
         COMP01    Comp Test Workload

    This panel lists all of the workloads on WKLIST.

  8. To include a workload into ACCTALL, type S next to the workload.You are interested in only those workloads belonging to the Accounting department, so your screen should look like following figure.

    BMC Software ---- COMPOSITE WORKLOAD CHARACTERIZATION ---------  ROW 1 OF 96
    COMMAND ===>                                                  SCROLL ===> CSR
    Valid line commands are:
    S - Select workload for inclusion
    Workload    - COMP01
    Description - Test composite workload
      S  Name      Description
    ----------------------------------------------------------------------------
     s   ACCTCLSA  Acct jobs in class A 7pm-6am
     s   ACCTCLSB  Acct jobs in class B 7pm-6am
     s   ACCTCLSK  Acct jobs in class K 7pm-6am
     s   ACCTCLSQ  Acct jobs in class Q 7pm-6am
     s   ACCTTSO   Acct TSO Users
         ALLASCH   All APPC Address Spaces
         ALLBAT    All Batch Jobs
         ALLOMVS   All Open MVS Address Spaces
         ALLSTC    All Started Tasks
         ALLTSO    All TSO Address Spaces
         ALLWKLDS  All Address Spaces
         COMP01    Comp Test Workload
  9. Press Enter.Each selected line is flagged with an asterisk (*) to indicate that the workload has been selected.
  10. Press PF3 to exit this panel and return to the first Characterize Composite Workload panel. This panel now lists all of the selected workloads for ACCTALL, as shown in following figure.

    BMC Software -------------- CHARACTERIZE COMPOSITE WORKLOAD ---------------
    OPTION ===> _
    Valid line commands are:                   Valid options are:
    D - Delete selected workload               A - Add workloads to this composite
    Workload    - ACCTALL
    Description - All Accounting work
    Initial status ===> INACTV  (Initial collection status, Active/Inactv)
    The sum of all Weighting % fields must be 100. Current total = 0   %
         Name      Description                             Weighting %
    ----------------------------------------------------------------------------
         ACCTCLSA  Acct jobs in class A 7pm-6am            0
         ACCTCLSB  Acct jobs in class B 7pm-6am            0
         ACCTCLSK  Acct jobs in class K 7pm-6am            0
         ACCTCLSQ  Acct jobs in class Q 7pm-6am            0
         ACCTTSO   Acct TSO Users                          0
    ******************************* BOTTOM OF DATA ******************************

    Your next task is to assign a weighting factor to each workload so that the total is 100. The weighting factor tells MainView for z/OS how much each individual workload counts towards the composite workload’s overall performance.
    For example, suppose you determine that you want to use the following criteria when establishing weighting factors:

    • The TSO activity, monitored by ACCTTSO, is roughly twice as important as all of the combined batch workloads.
    • The success of ACCTTSO in meeting its service objectives should count for at least 60 percent of how well ACCTALL is doing as a whole.
    • All batch workloads are equally important.
  11. Assign weighting factors to each workload as follows:

    ACCTCLSA

    Acct jobs in class A 7pm-6am

    8

    ACCTCLSB

    Acct jobs in class B 7pm-6am

    8

    ACCTCLSK

    Acct jobs in class K 7pm-6am

    8

    ACCTCLSQ

    Acct jobs in class Q 7pm-6am

    8

    ACCTTSO

    Acct TSO Users

    68

    For more information about how weighting factors work, turn to How-weighting-factors-work.

    WKLIST should now look like following figure.

    DDMMMYYYY  HH:MM:SS -------- MainView WINDOW INTERFACE (Vv.r.mm) ----------------
    COMMAND  ===> _                                               SCROLL ===> CSR  
    CURR WIN ===> 1        ALT WIN ===>
     W1 =WKLIST===SYSC======+=======DDMMMYYYY==HH:MM:SS=======MVMVS====D========15  
    L Workload  Type  Description                   Istatus Cstatus Obj Begin End
    - --------   ---- ---------------------------   ------- ------  --- ----- ---
      ACCTALL   COM   All Accounting work           Inactv Inactv  YES 07:00 06:00
      ACCTCLSA  BAT   Acct jobs in class A 7pm-6am  Inactv Inactv  YES 19:00 06:00
      ACCTCLSB  BAT   Acct jobs in class B 7pm-6am  Inactv Inactv  YES 19:00 06:00
      ACCTCLSK  BAT   Acct jobs in class K 7pm-6am  Inactv Inactv  YES 19:00 06:00
      ACCTCLSQ  BAT   Acct jobs in class Q 7pm-6am  Inactv Inactv  YES 19:00 06:00
      ACCTTSO   TSO   Acct TSO Users                Active Actvtv  NO  07:00 20:00
      ALLASCH   ASCH  All APPC Address Spaces       Active Active  YES 07:00 20:00
      ALLBAT    BAT   All Batch Address Spaces      Active Active  NO  00:00 00:00
      ALLOMVS   OMVS  All Open MVS AddressSpaces    Active Active  YES 07:00 20:00
      ALLSTC    STC   All Started Tasks             Active Active  NO  00:00 00:00
      ALLTS     TSO   All TSO Address Spaces        Active Active  NO  00:00 00:00
      ALLWKLDS  COMP  All Address Spaces            Active Active  NO  00:00 00:00
      COMP01    COMP  Test Workload                 Active Active  YES 08:00 17:00

    ACCTALL remains on WKLIST until you either delete it or rename it.

    Other useful information is as follows:

    • The Obj field for ACCTALL has a value of YES, meaning that at least one of the constituent workloads of ACCTALL has service objectives established for it, which you know is true.
    • The Istatus (Initial Status) field for ACCTALL is INACTV, meaning that MainView for z/OS will not collect data for the workload by default.
    • The Cstatus (Current Status) field is also INACTV. Because you want MainView for z/OS to collect data for ACCTALL while its service objectives are active—from 7:00 A.M. to 6:00 A.M.—you must explicitly start collection activity by using the R (Rename) line command either at or before 7:00 A.M.

    Note

    Starting collection services for a composite workload automatically starts collection for its constituent workloads. However, the reverse is not true; even if the constituent workloads are currently active, you must still explicitly start a composite workload.

This section contains the following topic: 


 

Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*