To install SBC 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.
Select Local install media (ISO image or CDROM).
Click Forward.
The locate your install media window displays.
In Step 2 of Create a new virtual machine window:
Select Use ISO image and click Browse.
The Locate ISO media volume window displays.
Click Browse Local.
The ISO location could be /var/lib/libvirt/images or /root/.
The Locate ISO media window displays.
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 of Create a new virtual machine window:
Select the Customize configuration before install checkbox.
Click Finish.
The VM configuration screen displays.
Type the required number of CPUs in for 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 1 as the number of threads required for the instance.
Click Apply.
In Advanced options drop-down, choose IDE as Disk bus.
Click Apply.
Click Apply.
To add HA, PKT0, and PKT1 bridges, click Add Hardware and follow steps from i to iii.
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.