EasyManua.ls Logo

H3C MSR 810 - Install VM-Name

H3C MSR 810
69 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
20
Syntax
export vm vm-name pkg-path
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
pkg-path: Specifies the absolute path of the .pkg file, a case-sensitive string of 1 to 63 characters.
Usage guidelines
Make sure you have access permissions to the target path and the target path has sufficient storage
space.
If the .pkg file is saved on a USB flash drive, make sure the file system format of the USB flash drive
is EXT4.
You must stop a VM by using the
stop vm command before you can export it.
Examples
# Export VM centos7 to hda0:/.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] export vm centos7 hda0:/centos7.pkg
install vm-name
Use install vm-name to install a VM based on the specified parameters.
Syntax
In passthrough mode:
install vm-name vm-name vcpu vcpu-count memory size vncport vncport disk
disk-file format { raw | qcow2 } disk-bus { ide | virtio } [ cdrom cdrom-file ]
[ vnic
{ vtap [ mac mac-address ] [ vlan vlan-id ] | sriov pf pfid } ]
In SR-IOV share mode:
install vm-name vm-name vcpu vcpu-count memory size vncport vncport disk
disk-file format { raw | qcow2 } disk-bus { ide | virtio } [ cdrom cdrom-file ]
[ vnic { vtap [ mac mac-address ] [ vlan vlan-id ] | sriov pf pfid vf vfid
[ vlan vlan-id ] } ]
Views
VMM view
Predefined user roles
network-admin
Parameters
vm-name vm-name: Specifies a VM by its name. The vm-name argument is a case-sensitive string
of 1 to 30 characters.

Related product manuals