Rate and give feedback:
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
change vm_service general
Function
The change vm_service general command is used to modify the service status of a virtual machine.
Parameters
Parameter |
Description |
Value |
---|---|---|
status=? | Whether to enable service of a virtual machine. | Possible values are "Running" or "Stopped", where:
|
Usage Guidelines
OceanStor 2800 V5 (32 GB), 5600 V5 (128 GB), and 5800 V5 (256 GB) do not support this command.
Example
Enable service of a virtual machine.
developer:/>change vm_service general status=Running WARNING: You are about to start the VM service.This operation restarts the system. After the restart, system performance deteriorates because some memory and CPU resources are reserved for VMs. Suggestion: 1. Stop all host services before starting the VM service. 2. Ensure that no cache partitions are created in the system. Otherwise, the VM service cannot be started. 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.