No relevant resource is found in the selected language.

This site uses cookies. By continuing to browse the site you are agreeing to our use of cookies. Read our privacy policy>Search


To have a better experience, please upgrade your IE browser.


OceanStor 9000 V5 7.0 Command Reference 03

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 virtual_machine general

change virtual_machine general


The change virtual_machine general command is used to change VM configurations.


change virtual_machine general <vm_id> [vm_memory=?] [vcpu_count=?] [sys_disk_bus=?] [first_start_mode=?]





vm_id VM ID.

The value can be the VM ID or "all". When entering the VM ID, perform operations on the corresponding VM; when entering "all", perform operations on all VMs. Query information about all VMs by pressing "Ctrl+A".

vm_memory VM memory size.

The value ranges from 1 GB to 160 GB.

vcpu_count Number of VM CPU cores.

The value ranges from 1 to 32.

sys_disk_bus Bus mode of system.

"IDE: Integrated Drive Electronics";

"VIRTIO: Paravirtualized drivers".

first_start_mode Startup mode of a VM.

"HD: hard disk";



Super administrator

Usage Guidelines

1.Modify VM configurations only when the VM is powered off.

2.Batch command operations are mutually exclusive. When you modify VM configurations in a batch, another batch operation is not allowed.

3.Mutual exclusion between the batch command operations has a timeout duration. Node exceptions make the batch operation remaining in the running status. When the wait period exceeds the timeout duration, the mutual exclusion is unlocked. The timeout duration is 20 minutes.

4.Batch operations and non-batch operations are mutually independent. Therefore, when batch operation commands are performed, the non-batch operation commands can run normally.


Changes VM configurations.

admin:/>change virtual_machine general 661716993 vcpu_count=2
DANGER: You are changing the settings of virtual machine ,it will be successful only if vm is powered-off! please confirm !
Have you read danger alert message carefully?(y/n)y
Are you sure you want to perform the operation?(y/n)y
Command executed successfully.

System Response


Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 25195

Downloads: 7

Average rating:
This Document Applies to these Products
Related Documents
Related Version
Previous Next