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).
reboot virtual_machine

reboot virtual_machine

Function

The reboot virtual_machine command is used to reboot a VM. If you restart the VM normally, stop all running software and processes in case of data loss. A forcible restart may damage the hardware and file system; therefore, exercise caution when performing this operation.

Format

reboot virtual_machine <vm_id> <force>

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

force Reboot forcibly or not.

"false":normally reboot;

"true":forcible reboot.

Level

Super administrator

Usage Guidelines

1.Batch command operations are mutually exclusive. When you start 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.

4.The VM can be rebooted forcibly only when the VM Agent service of the VM is started.

Example

Reboots the VM.

admin:/>reboot virtual_machine 661716993 true
DANGER: You are going to forcereboot the VM. That may be distoryed firmware or file systems.
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: 24768

Downloads: 7

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