Installing MVScope


MVScope has an Installation Verification Program (IVP) that generates CPU and I/O activity. You should use this program to verify that MVScope analyzes CPU and I/O activity correctly. You will use the IVP in the following sections to illustrate how to use MVScope.

The job to run the MVScope IVP is distributed with 

BMC AMI Ops

 as member BBD9MAIV of the BBSAMP library. 

The steps for running the MVScope IVP are described in the following sections:

Installing the Installation Verification Program

Copy the sample file BBD9MAIV from the BBSAMP library to one of your data sets.

Tailor the JCL in the following figure to satisfy your site’s requirements, as described in the Tailoring-the-JCL section.

Sample file BBD9MAIV

 //BBD9MAIV  JOB  (Account),'Your Name' //MAIVSTEP EXEC PGM=BBD9MAIV //STEPLIB DD DISP=SHR,DSN=*prefix*.BBLINK //DD1  DD UNIT=*tunit*,SPACE=(CYL,(5)),VOL=SER=*volser*//DD2  DD UNIT=*tunit*,SPACE=(CYL,(5)),VOL=SER=*volser*

Tailoring the JCL

Use the following procedure to tailor the JCL:

  1. Replace the job card shown in the Sample file BBD9MAIV figure with a job card that satisfies your site’s standards.
    Make a note of the job name that you use. You will monitor this name in the views described in Initiating-MVScope-sampling-of-a-job. Use a job class that allows the job to run for at least two minutes. The program will use a lot of CPU time.
  2. In the //STEPLIB statement, change *prefix* to the high-level qualifier that you have used for your distribution libraries.
  3. In the //DD1 and //DD2 statements, change *tunit* to a valid unit name for temporary data sets at your site.
  4. In the //DD1 and //DD2 statements, change *volser* to the volume where you want to trace I/O activity.
    If your site does not allow you to allocate data sets on specific volumes, you should delete the VOL=SER= keywords.

Initiating MVScope sampling of a job

Use the following procedure to iniate MVScope sampling of a job:

  1. Display the JUDEV view.
  2. Submit this job.(In your example, as shown in the following figure, the job is named BMVTAT4.) This action will allocate two temporary data sets, get 16 MB of virtual storage, and go into a continuous loop that references the storage and performs I/O to the data sets.

When the JUDEV view shows this job using the device where you directed it to allocate the //DD1 and //DD2 data sets, type M next to that row to initiate monitoring, as shown in the following figure:

>W1 =JUDEV=============SYSE=====*========DDMMMYYYY==HH:MM:SS====MVMVS====D===42
C Jobname  JES Job  T SrvClass   %Use  %Use  %Use  %Use   %Use %Delay  %Dly  De
- -------- Number   - -------- VolSer  DASD  Tape   Dev AllRsn VolSer   Dev  Nu
M BMVTAT4  TSU01243 T TSONRM     7.69   7.7         7.7    7.7              83A
  XCFAS             S SYSTEM     3.39   4.3         4.3    5.0    0.2   0.2 83A
  MIMGR    STC01143 S SYSSTC     1.95   1.9         1.9    3.3              871
  CSTTXC   TSU01296 T TSONRM     1.72   3.4         3.4    3.4              83A
  CSTTXC   TSU01296 T TSONRM     1.72   3.4         3.4    3.4              83A
  SMF               S SYSTEM     1.24   1.2         1.2    1.2    0.2   0.2 830
  XCFAS             S SYSTEM     0.89   4.3         4.3    5.0          0.2 831
  AAOAOQF  STC01225 S STCNRM     0.78   1.1         1.1    1.1          0.2 836
  DC$BBIE  STC01136 S STCNRM     0.57   1.0         1.0    1.4    0.7   0.7 83A
  DC$ESTR  STC01189 S STCNRM     0.55   0.7         0.7    0.8    0.8   0.8 83A
  AAOAOQE  STC01227 S STCNRM     0.44   0.9         0.9    1.0              83F
  CATALOG           S SYSTEM     0.41   0.6         0.6    0.8              830

MVScope initiates sampling and displays the MSMONSET view with the selected job in the sampling state, as shown in the following figure:

 W1 =MSMONSET==========SYSE=====*========DDMMMYYYY==HH:MM:SS====MVMVS====D====1
                                MVScope Monitor Set                             
    Symptoms                                            Problem Analysis
  . Hot Program             Job BMVTAT4 , Devn 0D06   . Tasks and SRBs
    No samples              10:11:28 to 11:12:28      . Programs          
  . Hot Instruction         17 CPU, 39 I/O samples    . I/Os              
    Addr:  00006B48  35.3%  Sampling NOV 16, YYYY     . Traces              
    Pgm:   BBD9MAIV         No sampling errors        > Maps                 
    CSECT: BBD9MAIV                                                     
    Ofst:   +0001B6         +----------------------+    Utilities              
  . Hot Task                |   Place cursor on    |  > Monitored Job
    Addr:  007E39C8  94.1%  |    menu item and     |  > First Monitored Dev
    Name:  BBD0MACP         |     press ENTER      |  . Monitor Sets
  . Hot DASD Track          +----------------------+                  
    CCHH:  00E5000C  35.9%                            . Return ...        
    Dsn:   SYS96158.T13504

Verifying the analysis of MVScope

Use the following procedure to verify the analysis of MVScope:


    1. In MSMONSET, verify that the monitor set overview reported in the center column has the correct job name, device, date, and time.
    2. Verify that, initially, the monitor set is in the Sampling or Waiting state.As soon as MVScope detects that the job is active, it starts CPU and I/O sampling and sets the monitor set’s state to Sampling.
    3. Press Enter as sampling proceeds.
      1. Verify that both CPU and I/O counts increase.
      2. Verify that no more than 100 I/O samples are collected.
      3. Verify that sampling lasts only one minute.
    4. During sampling, observe the hot spots reported under the MSMONSET Symptoms heading on the left. Verify that a Hot Program, Hot Instruction, Hot Task, and Hot DASD Track are identified.
    5. Verify that after one minute, MVScope changes the monitor set state to Analyzing or Analyzed.
    6. Cancel the Installation Verification Program.
    7. Verify that MSMONSET reports that the monitor set’s state changes to Analyzed in less than five minutes.

      Important

      The Analyzing phase could be lengthened if MVScope is unable to quickly read the VTOC of the device where the //DD1 and //DD2 data sets are allocated, or if MVScope cannot quickly allocate and read the BBD9MAIV program from the //STEPLIB library.

    8. Verify that when the monitor set’s state is Analyzed, MSMONSET displays the following information:
      • Name of the busiest program
      • Name of the program and CSECT containing the busiest instruction
      • Name of the busiest task
      • Data set name of the busiest DASD extent
    9. After the monitor set’s state has changed to Analyzed, verify that the state changes at the start of the next interval to either Retained or Filed. If you have historical data sets and the state is Retained, wait one more interval for the state to change to Filed.
    10. If the PAS has historical data sets, verify that the monitor set state remains Filed until the historical data set is reused or otherwise becomes inaccessible to BMC AMI Ops. Verify that MVScope changes the monitor set’s state to Dropped at that time.You can use the DSLIST view to see and alter the state of the historical data sets.
    11. If you do not have any historical data sets, verify that the monitor set remains in the Retained state for five intervals, after which time MVScope changes the monitor set’s state to Dropped.

Hyperlinking to detailed views

Refer to MVScope-key-views for a description of how to use hyperlinks from the MSMONSET view to analyze the samples in the monitor set.

Refer to Summary-of-MVScope-views for a list of hyperlinks from MVScope views.

BBDTMSDP PARMLIB member

An optional PARMLIB member, BBDTMSDP, can be defined in the UBBPARM data set. This PARMLIB member allows you to specify and define default sampling parameters, which will be used for all monitoring sessions. MVScope uses the distributed default value for sampling parameters when BBDTMSDP is not defined in the PARMLIB.

Syntax rules

The following syntax rules apply to the creation of BBDTMSDP:

  • An asterisk (*) in column 1 indicates a comment record. (Note that comments do not appear in the parameter record.)
  • Keywords must be separated by a blank.
  • Keyword values must be preceded by an equal sign (=).
  • A statement can be continued without explicit continuation characters.
  • Use columns 1 through 80.

Statements

BBDTMSDP PARMLIB member statements are described in the following table:

PARMLIB member

Description

MXDUR

Maximum number of seconds that sample occurs

Default value: 60

Value range: 1-9999

MXDEV

Maximum number of devices to be monitored

Default value: 100

Value range: 1-999

MXSAM

Maximum number of CPU samples to be taken

Default value: 600 value range: 1-99999

MXIOC

Maximum number of I/O samples to be taken

Default value: 100

Value range: 1-9999

MXCCW

Maximum number of CCWs traced for each I/O sampled

Default value: 25

Value range: 1-999

SAMRAT

Number of CPU samples per second

Default value: 10

Value range: 1-999

Examples

The following examples show valid ways of creating a BBDTMSDP PARMLIB member:

Example

BBDTMSDP PARMLIB member:

MXDUR=120 MXDEV=120 MXSAM=80 MXIOC=200 MXCCW=2 SAMRAT=10
Example

BBDTMSDP PARMLIB member with comment column:

*This is a MVScope Parmlib Member
MXDUR=90 MXDEV=200 MXSAM=1000 MXIOC=140 MXCCW=26
Example

BBDTMSDP PARMLIB member using continuation:

MXDUR=90 MXDEV=200 MXSAM=1000 MXIOC=140 MXCCW=26

 

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