No VM groups are available on SU x86. The command is rejected with message VMS3011 and with general return code VMS9004 . |
/ADD-VM-TO-VM-GROUP
is used to add a VM to a VM group.
The assignment of the VM to a VM group is noted in its VM definition.
A VM cannot be assigned to a VM group while it is being migrated (VM Migration).
The VM may not already have been added to a VM group. The VM must be assigned to the CPU pool of the VM group.
This command is reserved for the VM2000 administrator.
ADD-VM-TO-VM-GROUP |
VM-IDENTIFICATION = <integer 1..99> / <name 1..8> ,VM-GROUP-NAME = <name 1..8> ,MEMBER-CPU-QUOTA = <fixed 0.01..99.99> |
VM-IDENTIFICATION = <integer 1..99> / <name 1..8>
Identifies the virtual machine by means of a VM index or VM name.
VM-GROUP-NAME = <name 1..8>
Name of the VM group.
MEMBER-CPU-QUOTA = <fixed 0.01..99.99>
Member CPU quota of the VM.
Determines the VM’s own CPU share in comparison to the other VMs in the VM group. The VM’s previous CPU quota is relinquished and replaced by this member CPU quota (see "Operating VM groups (SU /390)").
Command return codes
(SC2) | Main code | Meaning |
0 | CMD0001 | Command successfully executed |
Guaranteed messages
VMS4425
Example
/add-vm-to-vm-group vm-id=c1sys1,vm-group-name=gcust1,
member-cpu-quota=1————————————————————————————————— (1)
VMS4425 VIRTUAL MACHINE (2,C1SYS1) ASSIGNED TO VM GROUP 'GCUST1'
---------------------------------------------------------------------------------------------------------------
(1) | The customer VM |
---------------------------------------------------------------------------------------------------------------
See also the detailed "Example of operating VM groups".