The openSM2 (for short: SM2) measurement monitor can collect measurement values in the monitor system and in the guest systems. SM2 provides measured values for the guest system.
The scope of the VM2000 measured values (in the VM2000 report and in the SM2R1 reports 98 and 99) differs for the monitor system and the guest systems:
- in the monitor system, the measured values of all VMs are output,
- in a guest system, only the measured values of the VM on which the guest system is running.
The measurement methods and reports are described in the “openSM2” manual [9]. The peculiarities and interpretations of the measured values in VM2000 operation are described in the section entitled “SM2 together with VM2000”.
The following should also be noted for SU /390:
The Channel Subsystem Monitoring Facility is required in order to measure the device-specific operating times (monitoring program SERVICETIME). This firmware feature can only be allocated to one guest system at a time. This means that the first guest system to call this measurement function by means of the SM2 statement
//START-MEASUREMENT-PROGRAM TYPE=*SERVICETIME
during VM2000 operation occupies this firmware feature for the relevant VM.If another guest system attempts to occupy this firmware feature when the Channel Subsystem Monitoring Facility is already allocated to a VM, SM2 issues a warning. In this case, SM2 can only record the
DEVICE QUEUE
andREMAINING SERVICE TIME
.The Channel Subsystem Monitoring Facility can be released again:
by means of the SM2 statement
//STOP-MEASUREMENT-PROGRAM TYPE=*SERVICETIME
when the guest system is restarted on the VM
with the VM2000 commands
/DELETE-VM
,/MIGRATE-VM
(on the source SU),/RESET-VM
and/START-VM
The VM2000 administrator receives the current occupation status with
/SHOW-VM-RESOURCES INFORMATION=*STD/*ALL
. If the Channel Subsystem Monitoring Facility is occupied by a VM, messageVMS2035
is output as well.The Channel Subsystem Monitoring Facility is activated for exclusively used devices and for shareable devices that are only assigned to one VM (direct I/O). It is not activated for shareable devices that are assigned to more than one VM (indirect I/O). In this case, SM2 issues a warning message and can only record the
DEVICE QUEUE
andREMAINING SERVICE TIME
.