20
Procedure
1.
Enter VMM view.
<H3C> system-view
[H3C] vmm
2.
Create a VM disk.
create-disk disk-file size size format
{
raw
|
qcow2
}
3.
Add the disk to the VM.
add disk vm vm-name format
{
raw
|
qcow2
}
disk-file path-file disk-bus
{
ide
|
virtio
}
For example:
# Enter VMM view.
<H3C> system-view
[H3C] vmm
# Create a disk. The disk file path is
md0:/EAD_VM.qcow
, the size is 30 GB, and the format is
QCOW2
.
[H3C-vmm] create-disk md0:/EAD_VM.qcow size 30 format qcow2
# Add the disk to VM
EAD_VM
.
[H3C-vmm] add disk vm EAD_VM format qcow2 disk-file md0:/EAD_VM.qcow disk-bus ide
Configuring VMs
For more information about configuring hard disks, vNICs, memory, vCPUs, and other parameters
for the VM and the related commands, see the following manuals:
•
VM configuration in
Virtual Technologies Configuration Guide
of
H3C MSR810[2600][3600]
Routers Configuration Guides
.
•
VM commands in
Virtual Technologies Command Reference
of
H3C MSR810[2600][3600]
Routers Command References
.
Display and maintenance commands for
VM management
Execute
display
commands in any view.
Task Command
Display the VM list.
display vmlist
Display VM disk and CD-ROM
information.
display vmdisklist
[
vm vm-name
]
Display detailed VM information.
display vm
[
vm-name
]
Display the number of CPUs
allocated to the VM.
display vcpu-pool
Display VM CPU usage.
display vmcpu-usage
vm vm-name
Display VM memory usage.
display vmmem-usage vm
vm-name
Display SR-IOV NIC information.
display sriov
Display VM network interface
display vminterface
[
vm
vm-name
]