[z/OS]

Example of classification rules

In this example, all work for BBOC001, except for work running under the user ID DBOOZ, gets classified as CBFAST. Work for DBOOZ gets classified as CBSLOW. All other work, such as work coming from clients outside the cell and including the work for WebSphere Application Server for z/OS runtime servers, gets classified as CBCLASS.

Purpose of this example

Let us assume you have three workload management service classes defined for WebSphere Application Server for z/OS (subsystem type CB):
  1. CBFAST-designed for transactions requiring fast response times.
  2. CBSLOW-designed for long-running applications that do not require fast response times.
  3. CBCLASS-designed for remaining work requests.

You design a client workload called BBOC001 that requires fast response times. Also, you want to give work that runs under your manager's user ID (DBOOZ) slower response times. Finally, all remaining work requests should run under the default service class, CBCLASS.

Example

Table 1. Classification rules example
Type column Name column Service column Goal
CN BBOC001 CBFAST 90% complete in 2 seconds
UI DBOOZ CBSLOW Velocity 50, importance = 3
(default) (blank) CBCLASS Discretionary
You could set the following performance goals through IWMARIN0:
  1. Issue IWMARIN0 and choose option 4:
      File  Utilities  Notes  Options  Help                                       
    -------------------------------------------------------------------------- 
      Functionality LEVEL003   Definition Menu  WLM Appl LEVEL004    Command ===> 
    ______________________________________________________________
                                                                                  
    Definition data set  . . : 'CB.MYCB.WLM'                                       
    Definition name  . . . . . CB390      (Required)                               
    Description  . . . . . . . WLM Setup for WebSphere for z/OS                    
    Select one of the following options. . . . . 4__  
    1.  Policies                                                                   
    2.  Workloads                                                                  
    3.  Resource Groups                                                            
    4.  Service Classes                                                              
    5.  Classification Groups                                                        
    6.  Classification Rules                                                         
    7.  Report Classes                                                               
    8.  Service Coefficients/Options                                                 
    9.  Application Environments                                                    
    10.  Scheduling Environments                                                 
  2. Create a service class called CBFAST and specify that it be 90% complete in 2 seconds.
    Note: The example assumes you have defined a workload called ONLINE.
          Service-Class  Notes  Options  Help  
    --------------------------------------------------------------------------        
    Create a Service Class               
    Row 1 to 2 of 2   Command ===> ____________________________________________________ 
    Service Class Name . . . . . . CBFAST    (Required)                              
    Description  . . . . . . . . . Quick CB transactions                             
    Workload Name  . . . . . . . . ONLINE    (name or ?)                             
    Base Resource Group  . . . . . ________  (name or ?)                             
    Specify BASE GOAL information.  Action Codes: I=Insert new period,               
    E=Edit period, D=Delete period.                                                 
    ---Period---  ---------------------Goal---------------------             
    Action  #  Duration   Imp.  Description                                            
    __                                                                               __    
    1              1    90% complete within 00:00:02.000                    
     ******************************* Bottom of data ********************************       
    
    .-----------------------------------------------------------------------.        
    | Press EXIT to save your changes or CANCEL to discard them. (IWMAM970) |        
    '-----------------------------------------------------------------------'    
  3. Save the service class. You see the following:
          Service-Class  View  Notes  Options  Help                                       
    --------------------------------------------------------------------------        
    Service Class Selection List          
    Row 1 to 14 of 21   Command ===> ______________________________________________________
    Action Codes: 1=Create, 2=Copy, 3=Modify, 4=Browse, 5=Print, 6=Delete,                
    /=Menu Bar                                                                            
    Action  Class     
    Description                       
    Workload                       
    __    CBFAST   
     Quick CB Transactions             
    ONLINE                       
    ******************************* Bottom of data ********************************           
  4. Repeat these steps for the CBSLOW service class.
  5. Create classification rules using the new service class. Choose option 6 on the main panel:
          File  Utilities  Notes  Options  Help                                          
    --------------------------------------------------------------------------       
    Functionality LEVEL003         Definition Menu         WLM Appl LEVEL004         
    Command ===> ______________________________________________________________       
    Definition data set  . . : 'CB.MYCB.WLM'                                         
    Definition name  . . . . . CB390      (Required)                                 
    Description  . . . . . . . WLM Setup for WebSphere for z/OS                       
    Select one of the following options. . . . . 6__  
    1.  Policies                                                                     
    2.  Workloads                                                                    
    3.  Resource Groups                                                              
    4.  Service Classes                                                              
    5.  Classification Groups                                                        
    6.  Classification Rules                                                         
    7.  Report Classes                                                               
    8.  Service Coefficients/Options                                                 
    9.  Application Environments                                                    
    10.  Scheduling Environments                                                    
  6. Create a set of rules for your service classes:
          Subsystem-Type  Xref  Notes  Options  Help                                     
    --------------------------------------------------------------------------          
    Create Rules for the Subsystem Type        Row 1 to 2 of 2      
    Command ===> ____________________________________________   SCROLL ===> PAGE     
    Subsystem Type . . . . . . . . CB    (Required)                                  
    Description  . . . . . . . . .  WebSphere  classification                          
    Fold qualifier names?  . . . . Y  (Y or N)                                       
    Action codes:  A=After    C=Copy         M=Move     I=Insert rule      
    B=Before   D=Delete row   R=Repeat   IS=Insert Sub-rule                    
     -------Qualifier-------------            
    -------Class--------          
    Action    Type       Name     Start                
    Service     Report                                                     
    DEFAULTS: CBCLAS      ________
    ____  1  CN          
    BBOC001   ___                  
    CBFAST      ________           
    ____  1  UI         
    DBOOZ    ___                  
    CBSLOW      ________         
    ****************************** BOTTOM OF DATA ******************************                  



Related tasks
Using transaction classes to classify workload for WLM
Reference topic Reference topic    

Terms and conditions for information centers | Feedback

Last updatedLast updated: Aug 31, 2013 4:28:44 AM CDT
http://www14.software.ibm.com/webapp/wsbroker/redirect?version=pix&product=was-nd-mp&topic=rrunexclassrule
File name: rrun_exclassrule.html