change virtual_machine vcpu_isolate_switch
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
status=? | vCPU isolation switch status of the virtual machine. | The value can be "on" or "off", where:
|
Usage Guidelines
OceanStor 2800 V5 (32 GB), 5600 V5 (128 GB), and 5800 V5 (256 GB) do not support this command.
Example
-
Turning off the vCPU isolation switch of the virtual machines.
developer:/>change virtual_machine vcpu_isolate_switch status=off WARNING: You are about to disable the vCPU isolation function. This operation will lead to a result that vCPUs of VMs cannot be isolated from each other, which may affect performance of VMs. Suggestion: Before performing this operation, ensure that risks of disabling the vCPU isolation function for the VM are acceptable. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.
-
Turning on the vCPU isolation switch of the virtual machines.
developer:/>change virtual_machine vcpu_isolate_switch status=on WARNING: You are about to enable the vCPU isolation function for virtual machines (VMs). This operation will make the available vCPU resources of the VMs subject to the CPU resources of the VM container. Suggestion: Before performing this operation, ensure that risks of enabling the vCPU isolation function for the VMs are acceptable. Have you read warning message carefully?(y/n)y Are you sure you really want to perform the operation?(y/n)y Command executed successfully.