/ATTACH-VM-RESOURCES
is used to attach detached real normal CPUs and extra CPUs for VM2000 operation.
This command is reserved for the VM2000 administrator.
ATTACH-VM-RESOURCES | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
UNIT = *CPU(...)
Specifies real normal CPUs to be attached.
/ATTACH-DEVICE UNIT=*CPU(CPU-IDENTIFIER=<mn>)
.CPU-IDENTIFICATION = *ANY(...)
Selects any real normal CPU from a CPU pool.
CPU-POOL-NAME =
Determines the CPU pool.
CPU-POOL-NAME = *UNIQUE
A real normal CPU from the CPU pool (*STDPOOL
) is selected (operand provided for reasons of compatibility with earlier VM2000 versions).
CPU-POOL-NAME = *STDPOOL / <name 1..8>
Name of the CPU pool.
CPU-IDENTIFICATION = list-poss(63): <x-text 1..2>
Identifier of the real normal CPU.
UNIT = *EXTRA-CPU(...)
Specifies extra CPUs to be attached, see "Increasing capacity with extra CPUs".
CPU-IDENTIFICATION = *ALL(...)
Selects all extra CPUs from a CPU pool.
CPU-POOL-NAME =
Determines the CPU pool.
CPU-POOL-NAME = *UNIQUE
All extra CPUs from the CPU pool (*STDPOOL
) are selected (operand provided for reasons of compatibility with earlier VM2000 versions).
CPU-POOL-NAME = *STDPOOL / <name 1..8>
Name of the CPU pool.
CPU-POOL-NAME = *ALL
All extra CPUs from all CPU pools are selected.
CPU-IDENTIFICATION = *ANY(...)
Selects any extra CPU from a CPU pool.
CPU-POOL-NAME =
Determines the CPU pool.
CPU-POOL-NAME = *UNIQUE
An extra CPU from the only existing CPU pool (*STDPOOL
) is selected (operand provided for reasons of compatibility with earlier VM2000 versions).
CPU-POOL-NAME = *STDPOOL / <name 1..8>
Name of the CPU pool.
CPU-IDENTIFICATION = list-poss(63): <x-text 1..2>
Identifier of the extra CPU.
Command return codes
(SC2) | Main code | Meaning |
0 | CMD0001 | Command successfully executed |
Guaranteed messages
VMS4043, VMS4044, VMS4046, VMS4072, VMS4073, VMS4075, VMS4150
Example
/show-vm-resources information=*cpu ——————————————————————————————————— (1)
VM-ID CPU-POOL GR-CPU-Q CPU-Q/ EFF-Q MAX-U/ EFF-U PROC
1 M4IVR *STDPOOL 20.00 1.00/ 12.04 80.00/ 80.00 2(+1) 2 G4IVQ *STDPOOL 26.00/ 15.66 100.00/100.00 4(+1)
3 G4IVP *STDPOOL 50.00 4.00/ 24.09 100.00/ 50.00 2(+1)
4 G4IVO *STDPOOL 50.00 1.00/ 6.02 100.00/ 50.00 1(+1)
5 G4IVJ *STDPOOL 70.00/ 42.16 100.00/100.00 2(+1)
VM-ID SCHED ACT-I VIRT CPUS
1 M4IVR TS NO 00(RUN),01(RUN),02(OFF)
2 G4IVQ TS NO 00(RUN),01(RUN),02(BLOCK),03(BLOCK),
04(OFF)
3 G4IVP TS NO 00(RUN),01(RUN),02(OFF)
4 G4IVO TS NO 00(RUN),01(SLEEP)
5 G4IVJ - NO 00(IDLE),01(IDLE),02(OFF)
CPU-ATTR CPU-POOL REAL CPUS
NORMAL *STDPOOL 00(ATT),01(DET)
EXTRA *STDPOOL 02(DET),03(DET) ————————————————————————————— (2)
SPARE 04(DET)
/attach-vm-resources unit=*cpu(cpu-id=01) ————————————————————————————— (3)VMS4044 CPU 01 ATTACHED
/attach-vm-resources unit=*extra-cpu(cpu-id=*all) ————————————————————— (4)VMS4075 EXTRA-CPU 02 ATTACHED
VMS4075 EXTRA-CPU 03 ATTACHED/show-vm-resources information=*cpu ——————————————————————————————————— (5)
VM-ID CPU-POOL GR-CPU-Q CPU-Q/ EFF-Q MAX-U/ EFF-U PROC
1 M4IVR *STDPOOL 20.00 1.00/ 12.04 80.00/ 80.00 2(+1) 2 G4IVQ *STDPOOL 26.00/ 15.66 100.00/100.00 4(+1)
3 G4IVP *STDPOOL 50.00 4.00/ 24.09 100.00/ 50.00 2(+1)
4 G4IVO *STDPOOL 50.00 1.00/ 6.02 100.00/ 50.00 1(+1)
5 G4IVJ *STDPOOL 70.00/ 42.16 100.00/100.00 2(+1)
VM-ID SCHED ACT-I VIRT CPUS
1 M4IVR TS NO 00(RUN),01(RUN),02(OFF)
2 G4IVQ TS NO 00(RUN),01(RUN),02(STOP),03(STOP),
04(OFF)
3 G4IVP TS NO 00(RUN),01(RUN),02(OFF)
4 G4IVO TS NO 00(RUN),01(SLEEP)
5 G4IVJ - NO 00(IDLE),01(IDLE),02(OFF)
CPU-ATTR CPU-POOL REAL CPUS
NORMAL *STDPOOL 00(ATT),01(ATT)
EXTRA *STDPOOL 02(ATT),03(ATT) ————————————————————————————— (6)
SPARE 04(DET)
--------------------------------------------------------------------------------------------------------------
(1) | The VM2000 administrator requests information on the CPU state. |
(2) | Real normal CPU |
(3) | Normal CPU |
(4) | All the extra CPUs are attached. |
(5) | The VM2000 administrator requests information on the CPU state. |
(6) | All real normal CPU and all extra CPUs are now attached. |
--------------------------------------------------------------------------------------------------------------
See also the detailed "Example of managing CPU pools".