Installing 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
Tailoring the JCL
Use the following procedure to tailor the JCL:
- 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. - In the //STEPLIB statement, change *prefix* to the high-level qualifier that you have used for your distribution libraries.
- In the //DD1 and //DD2 statements, change *tunit* to a valid unit name for temporary data sets at your site.
- 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:
- Display the JUDEV view.
- 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:
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:
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:
- In MSMONSET, verify that the monitor set overview reported in the center column has the correct job name, device, date, and time.
- 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.
- Press Enter as sampling proceeds.
- Verify that both CPU and I/O counts increase.
- Verify that no more than 100 I/O samples are collected.
- Verify that sampling lasts only one minute.
- 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.
- Verify that after one minute, MVScope changes the monitor set state to Analyzing or Analyzed.
- Cancel the Installation Verification Program.
Verify that MSMONSET reports that the monitor set’s state changes to Analyzed in less than five minutes.
- 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
- 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.
- 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.
- 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: