Your Browser is not longer supported

Please use Google Chrome, Mozilla Firefox or Microsoft Edge to view the page correctly
Loading...

{{viewport.spaceProperty.prod}}

Accounting in VM2000

&pagelevel(3)&pagelevel

VM2000 supplies two types of accounting records:


Device accounting records are written at the following times:

  • When implicitly or explicitly assigned devices are removed from a VM or implicitly assigned devices are released by the guest system.

    Devices are removed from a VM by VM2000 by:

    The guest system on a VM releases implicitly assigned devices by means of:

    • /DETACH-DEVICE in the guest system

  • When /MODIFY-VM-ATTRIBUTES is specified and the same name is given for the VM as before and devices are assigned to the VM


An accounting record for a VM is written at the following times:

  • The VM's main memory is reconfigured with /EXTEND-VM-MEMORY or /REDUCE-VM-MEMORY

  • A VM is terminated with /DELETE-VM

  • The same VM name is assigned to the VM as before using /MODIFY-VM-ATTRIBUTES

  • The monitor system is terminated with /SHUTDOWN-VM VM-ID=*VM2000 or /SHUTDOWN

  • VM Migration (on the source SU)

Interruption-free switching between to and from daylight savings time is supported by appropriate information in the accounting records.

If the user of the VM changes (without the VM being terminated and newly initialized), an accounting record can be created via the VM name with /MODIFY-VM-ATTRIBUTES. The new name must be the same as the old one.

The accounting records are written by the BS2000 accounting system in the monitor system (see the “Introduction to System Administration” [2]). Therefore, the accounting system in the monitor system should be always active.

Other guest systems do not write VM2000 accounting records.


Structure of the accounting records

The accounting records are divided up into four sections:

  • Record description section

  • ID section

  • Basic information

  • Variable information

These record sections contain the field number, displacement, length and format of the data field.

The field number indicates the current sequence number within the record section.

The displacement is the distance of the data field from the start of the record section.

The length is the length of the data field in bytes.

The format is the format of the data field:

Aalphanumeric (including “$”, “#” and “@”)
Bbinary number
Cprintable characters
FBS2000 file name

Z

decimal number, unpacked (0...9)

-undefined