To install SBC software on a virtual machine (VM), you must first create a VM and allocate its resources (for example CPU, memory, and NICs), as well as configure a datastore to contain the SBC operating system and application software.
To create a new SBC SWe KVM instance, perform the following steps.
The instance is created on Linux Vanilla flavor version 7.3, and the screens listed here may vary in the latest Linux Vanilla flavor versions.
Perform the following to export the display on your desktop if you are remotely accessing the KVM host system.
Log on to KVM host system through SSH and telnet client such as PuTTY using the following command:
export DISPLAY=<system_IP>:0.0
where <system_IP> is the system IP address where GUI is exported for display.
Enter the following command to launch the virtual machine manager (virt manager) on your system.
virt-manager
Ensure Xserver is running on the host system to import the display on your desktop.
Click New to create a new VM.
The Create new virtual machine window displays.
The figures shown in this procedure are intended as examples of the user interface and might not match the presented images exactly.
Select Local install media (ISO image or CDROM).
Click Forward.
The locate your install media window displays.
In Step 2 on the Create a new virtual machine window:
Select Use ISO image and click Browse.
The Choose Storage Volume window displays.
Click Browse Local.
The ISO location could be /var/lib/libvirt/images or /root/.
Click Forward.
The memory and CPU settings window displays.
Click Forward.
A minimum of 10 GB of RAM and 4 vCPUs is required for optimal performance.
The storage details window displays.
Refer to SBC SWe Performance Metrics for more information on memory required for different call capacities.
Select the Enable storage for this virtual machine option.
Select the Create a disk image for the virtual machine option and enter 100 GiB as the hard drive space.
Click Forward.
A minimum of 65 GiB is required for optimum performance.
The Ready to begin installation window displays.
In Step 5 on the Create a new virtual machine window:
In Name, enter debian.
Select the Customize configuration before install checkbox.
Click Finish.
The VM configuration screen displays.
Type the required number of CPUs in the Maximum allocation field.
By default the Current allocation and Maximum allocation fields are set to 1, change them accordingly to the requirement.
The Model field displays the host CPU configuration running on the host system like SandyBridge or Nehalem.
In the Threads field, enter 2 as the number of threads required for the instance.
Click Apply.
If your system supports hyperthreading then you enable hyperthreading by mentioning a thread number. This example configures 4 hyperthreaded cores (4 vCPUs).
In Advanced options drop-down, choose virtio as Disk bus.
Click Apply.
For CentOS 7.x or 8.X when configuring PKT0 and PKT1 In the Device model drop-down, choose virtio instead of the Hypervisor default. If virtio is not selected the management interface will appear during the iso installation.
Click Apply.
To add HA, PKT0, and PKT1 bridges, click Add Hardware and follow steps i to iii.
For the MGT and HA bridges, choose virtio.
For the PKT0 and PKT1 bridges, choose Hypervisor default.
Configure the VM for CPU pinning to optimize performance. Complete the following steps:
Return to the VM Configuration screen and select Boot Options in the left pane.
Update the Boot device order so that IDE CDROM1 is first, followed by VirtIO Disk 1.
Click Apply.
Click Begin Installation.
The installation window displays.