EasyManua.ls Logo

H3C MSR 810 - Set Vcpu-Pool; Set Vcpupin VM

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...
26
Examples
# Assign the VF interface on VF 0 of PF 0 to VLAN 20.
<Sysname> system-view
[Sysname] vmm
[Sysname-vmm] set sriov pf 0 vf 0 vlan 20
set vcpu-pool
Use set vcpu-pool to set the total number of CPU cores allocated to the VM plane.
Syntax
set vcpu-pool vcpu-number
Views
System view
Predefined user roles
network-admin
Parameters
vcpu-number: Sets the total number of CPU cores allocated to the VM plane. The number
depends on the number of CPU cores on the device.
Usage guidelines
After you modify the number of CPU cores allocated to the VM plane, you must reallocate vCPUs to
VMs and bind vCPUs to physical CPUs. For the reallocation and binding to take effect on a VM, you
must restart the VM.
For this command to take effect, you must save the configuration and reboot the device.
Examples
# Allocate two CPU cores to the VM plane.
<Sysname> system-view
[Sysname] set vcpu-pool 2
VCPU pool changed, please reconfig vcpu-pin for each virtual machine and reboot the router.
set vcpupin vm
Use set vcpupin vm to bind a vCPU on a VM to a physical CPU on the device.
Syntax
set vcpupin vm vmname vcpuindex vcpuindex cpuindex cpuindex
Views
VMM view
Predefined user roles
network-admin
Parameters
vmname: Specifies a VM by its name. The vm-name argument is a case-sensitive string of 1 to 30
characters.
vcpuindex vcpu-index: Specifies a vCPU by its index. To obtain the vCPU index, use the
display vmcpupin command.

Related product manuals