change vm_service general
Function
The change vm_service general command is used to modify the service status of a virtual machine.
Format
change vm_service general status=?
Parameters
Parameter |
Description |
Value |
---|---|---|
status=? |
Whether to enable service of a virtual machine. |
Possible values are "Running" or "Stopped", where:
|
Views
Developer view
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.
System Response
None