KVM Specific Configuration

If you are installing a KVM on VMware, read these KVM specific configuration recommendations from Ruckus.

Hypervisor Detail

You can view the details of the hypervisor.



CPU Type

When selecting the CPU model, make sure you select one that is higher than Intel Core 2 Duo. On Linux, you can this information in /proc/cpuinfo.


Memory Allocation

You must allocate a minimum of 6G (6144 MByte) memory for vSZ-D.



Disk Configuration

Ruckus recommends using Virtio as the disk bus and qcow2 as the storage format.




NIC Configuration in Direct IO Mode

Note: Only the data interface needs to be configured to direct PCI passthrough. The management interface should always be configured to e1000 as the NIC driver.
Before adding a PCI device to the KVM, you need to complete the following steps:
  1. Enable VT-d (for Intel processors) in the motherboard BIOS. Intel's VT-d ("Intel Virtualization Technology for Directed I/O") is available on most i7 family processors.
  2. Add kernel boot parameters via GRUB to enable IOMMU (see figure below). To enable IOMMU in the kernel of Intel processors, pass intel_iommu=on boot parameter on Linux. For more information, read this tutorial.
  3. After configuring the boot parameter, reset the computer.
    You can add kernel boot parameters during boot time.
    • For Debian or Ubuntu:
      1. Edit GRUB config template at /etc/default/grub.
      2. Add a kernel parameter as "name=value" in GRUB_CMDLINE_LINUX_DEFAULT variable.
        $ sudo -e /etc/default/grub
        GRUB_CMDLINE_LINUX_DEFAULT="...... intel_iommu=on"
      3. Then run the following command to generate the GRUB config file.
        $ sudo update-grub
        If the command "update-grub" is not found, you can install it as follows:
        $ sudo apt-get install grub2-common
    • For Fedora
      1. Edit GRUB config template at /etc/default/grub.
      2. Add a kernel parameter as "name=value" in GRUB_CMDLINE_LINUX variable.
        $ sudo -e /etc/default/grub
        GRUB_CMDLINE_LINUX="...... intel_iommu=on"
      3. Then run the following command to generate the GRUB config file.
        $ sudo grub2-mkconfig -o /boot/grub2/grub.cfg
    • For CentOS
      1. Edit GRUB config template at /boot/grub/grub.conf.
      2. In the config file, look for the entry "default=N" at the top of the config file indicates which entry is the default image. On the next line, add a kernel parameter as "name=value" in kernel /vmlinuz- variable.
        kernel /vmlinuz-"...... intel_iommu=on"


NIC Configuration in vSwitch Mode

Note: Configure only two ports for vSZ-D/.
For the management interface, use the following settings:
  • Device model: e1000
  • Source mode: Either Bridge or Passthrough if you are using macvtap for the device type.


For the data interface, use the following settings:
  • Device model: e1000
  • Source mode: Passthrough if you are using macvtap for the device type. Only the passthrough mode can allow UE traffic to pass through the VM NIC.

Adding a PCI Device to a VM on Virt-Manager

To assign a PCI device to a guest VM on virt-manager. :
  1. From the VNC Viewer and click Add Hardware > PCI Host Device.
  2. Choose a PCI device to assign from the PCI device list, and click Finish.

  3. Power on the guest and the host PCI device would be visible in the guest VM.

NIC Card Setting

You must use only two ports.

Management Interface Data Interface
KVM w/ vSwitch

e1000

virtio

KVM w/ pci passthrough

e1000

1G: igb

10G:ixgbe

VMware w/ vSwitch

e1000

e1000e

VMXNET3

VMware w/ pci passthrough

e1000

e1000e

1G:igb

10G:ixgbe