Anchor | ||||
---|---|---|---|---|
|
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.
Info | ||
---|---|---|
| ||
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:
Code Block | ||
---|---|---|
| ||
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.
Code Block | ||
---|---|---|
| ||
virt-manager |
Info |
---|
Ensure Xserver is running on the host system to import the display on your desktop. |
Click New to create a new VM.
Caption | ||||
---|---|---|---|---|
| ||||
The Create new virtual machine window displays.
Include Page | ||||
---|---|---|---|---|
|
Select Local install media (ISO image or CDROM).
Click Forward.
Caption | ||||
---|---|---|---|---|
| ||||
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.
Caption | ||||
---|---|---|---|---|
| ||||
The Choose Storage Volume window displays.
Click Browse Local.
Info |
---|
The ISO location could be /var/lib/libvirt/images or /root/. |
Caption | ||||
---|---|---|---|---|
| ||||
Click Forward.
Caption | ||||
---|---|---|---|---|
| ||||
The memory and CPU settings window displays.
Click Forward.
Info |
---|
A minimum of 10 GB of RAM and 4 vCPUs is required for optimal performance. |
Caption | ||||
---|---|---|---|---|
| ||||
The storage details window displays.
Info |
---|
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.
Info |
---|
A minimum of 65 GiB is required for optimum performance. |
Caption | ||||
---|---|---|---|---|
| ||||
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.
Caption | ||||
---|---|---|---|---|
| ||||
The VM configuration screen displays.
Type the required number of CPUs in the Maximum allocation field.
Info |
---|
By default the Current allocation and Maximum allocation fields are set to 1, change them accordingly to the requirement. |
Info |
---|
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.
Info |
---|
If your system supports hyperthreading then you enable hyperthreading by mentioning a thread number. This example configures 4 hyperthreaded cores (4 vCPUs). |
Caption | ||||
---|---|---|---|---|
| ||||
In Advanced options drop-down, choose virtio as Disk bus.
Click Apply.
Caption | ||||
---|---|---|---|---|
| ||||
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.
Caption | ||||
---|---|---|---|---|
| ||||
Click Apply.
Info |
---|
To add HA, PKT0, and PKT1 bridges, click Add Hardware and follow steps i to iii. |
Caption | ||||
---|---|---|---|---|
| ||||
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.
Caption | ||||
---|---|---|---|---|
|
Update the Boot device order so that IDE CDROM1 is first, followed by VirtIO Disk 1.
Click Apply.
Click Begin Installation.
Caption | ||||
---|---|---|---|---|
| ||||
The installation window displays.
Pagebreak |
---|