virsh vcpupin csr1000v 0 2
virsh vcpupin csr1000v 1 3
virsh vcpupin csr1000v 2 4
virsh vcpupin csr1000v 3 5
The host core number can be any number from 0 to 7. For more information, see the KVM documentation.
When configuring CPU pinning, carefully consider the CPU topology of the host server. If using a Cisco
CSR 1000v configured with multiple cores, do not configure CPU pinning across multiple sockets.
Note
Cloning the VM
In a KVM environment, cloning the Cisco CSR1000v virtual machine using the
virt-manager
virtual machine
manager creates a Cisco CSR1000v virtual machine that may be un-bootable.
The issue is caused by an increase in the size of the cloned image size created by
virt-manager
, compared
with the original Cisco CSR1000v VM image. The extra bytes (in the KB range) cause the boot failure.
Workarounds
There are three workarounds:
•
Use the
virt-clone
command to clone the Cisco CSR 1000v VM image.
•
For a cloned Cisco CSR 1000v VM image created by
virt-manager
, during the bootup, select the
GOLDEN image to boot instead of packages.conf.
•
In the
“
Create a new virtual machine
”
window, deselect
“
Allocate entire disk now
”
before the new Cisco
CSR1000v VM is created. This ensures that the cloned Cisco CSR1000v VM image is able to boot up.
However, this workaround does not support nested cloning. Use this method only on the first cloned
Cisco CSR1000v VM image.
Installation Requirements for KVM
—
Cisco IOS XE Everest 16.5
The KVM requirements for Cisco CSR 1000v using Cisco IOS XE Everest 16.5 are as follows:
The KVM requirements for older versions of Cisco IOS XE (before IOS XE Denali 16.3) are shown in
Installation Requirements for KVM
Cisco IOS XE 3.x, on page 132
.
Note
KVM versions. The following KVM versions are supported:
•
Linux KVM based on Red Hat Enterprise Linux 7.2 is recommended
—
tested and meets performance
benchmarks. Red Hat Enterprise Linux 7.1 is supported, but RHEL 7.2 is recommended
vCPUs. The following vCPU configurations are supported:
•
1 vCPU: requires minimum 4 GB RAM allocation
Cisco CSR 1000v Series Cloud Services Router Software Configuration Guide
130
Installing the Cisco CSR 1000v in KVM Environments
Cloning the VM