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

Reminder

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

upgrade

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).
delete virtual_machine general

delete virtual_machine general

Function

The delete virtual_machine general command is used to delete a VM. Deleting the VM results in data loss of data disks on the VM; therefore, exercise caution when performing this operation.

Format

delete virtual_machine general <vm_id>

Parameters

Parameter

Description

Value

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".

Level

Super administrator

Usage Guidelines

1.Batch command operations are mutually exclusive. When you delete VMs in a batch, another batch operation is not allowed.

2.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.

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

Example

Deletes the VM.

admin:/>delete virtual_machine general 661585921
DANGER: You are going to delete 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

None

Translation
Download
Updated: 2019-05-07

Document ID: EDOC1100067955

Views: 24551

Downloads: 7

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