Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

 

Anchor
BackToTop
BackToTop

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
titleNote

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.

...

 

  1. Perform the following to export the display on your desktop if you are remotely accessing the KVM host system.

    1. Log on to KVM host system through SSH and telnet client such as PuTTY using the following command:

      Code Block
      languagenone
      export DISPLAY=<system_IP>:0.0

      where <system_IP> is the system IP address where GUI is exported for display.

    2. Enter the following command to launch the virtual machine manager (virt manager) on your system.

      Code Block
      languagenone
      virt-manager
      Info

      Ensure Xserver is running on the host system to import the display on your desktop.

  2. Click New to create a new VM.

    Caption
    0Figure
    1Virtual Machine Manager

    Image Modified

...

  1. The Create new virtual machine window displays.

...

  1. Include Page
    Screenshot_disclaimer
    Screenshot_disclaimer

  2. In Step 1

...

  1. shown on the Create a new virtual machine window:
    1. Select Local install media (ISO image or CDROM).

    2. Click Forward.

      Caption
      0Figure
      1Create New Virtual Machine

      Image Modified

      The locate your install media window displays.

...

  1. In Step 2

...

  1. on the Create a new virtual

...

  1. machine window:

    1. Select Use ISO image and click Browse.

      Caption
      0Figure
      1Locate Install Media

      Image Modified

      The

...

    1. Choose Storage Volume window displays.

...

    1. Click Browse Local.

      Info

      The ISO location could be /var/lib/libvirt/images or /root/.


      Caption
      0Figure
      1Locate ISO media volume

      Image Modified

...

  1. In Step 2

...

  1. on the Create a new virtual

...

  1. machine window: 
    1. Click the OS type drop-down list and select Linux.
    2. Click the Version drop-down list and select Debian

...

    1. Stretch.
    2. Click Forward.

      Caption
      0Figure
      1OS Selection

      Image Modified

      The memory and CPU settings window displays.

...

  1. In Step 3

...

  1. on the Create a new virtual

...

  1. machine window:
    1. In the Memory (RAM) field enter 10240 MiB as the RAM size.
    2. In the CPUs field enter 4 as the number of vCPUs.
    3. Click Forward.

      Info

      A minimum of 10 GB of RAM and 4 vCPUs is required for optimal performance.

      Caption
      0Figure
      1Memory and CPU Settings

      Image Modified

      The storage details window displays.

      Info

      Refer to SBC SWe Performance Metrics for more information on memory required for different call capacities.

...

  1. In Step 4

...

  1. on the Create a new virtual machine window:
    1. Select the Enable storage for this virtual machine option.

    2. Select the Create a disk image for the virtual machine option and enter 100 GiB as the hard drive space.

    3. Click Forward.

      Info

      A minimum of 65 GiB is required for optimum performance.

      Caption
      0Figure
      1VM Storage Information

      Image Modified

      The

...

    1. Ready to begin installation window displays.

...

  1. In Step 5

...

  1. on the Create a new virtual

...

  1. machine window:

    1. In Name, enter debian.

    2. Select the Customize configuration before install checkbox.

    3. Click Finish.

      Caption
      0Figure
      1VM Installation Information

      Image Modified

      The VM configuration screen displays.

...

  1. Perform the following steps to configure the VM settings
    1. In the left pane, click CPUs. The corresponding processor options are displayed.
      1. In the CPUs section,
        1. Type the required number of CPUs in

...

        1. the Current allocation field.
        2. Type the required number of CPUs in

...

        1. 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.

      1. In the Configuration section, choose

...

      1. host-passthrough as model.
      2. In

...

      1. the Topology section:
        1. Select the Manually set CPU topology checkbox.
        2. In the Sockets field, enter 1 as the number of sockets required for the instance.
        3. In the Cores field, enter

...

        1. 2 as the number of cores required for the instance.
        2. In the Threads field, enter

...

        1. 2 as the number of threads required for the instance.

        2. 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
          0Figure
          1VM Configuration Screen

          Image Modified

    1. In the left pane, click IDE Disk 1
      1. In Advanced options drop-down, choose

...

      1. virtio as Disk bus.

      2. Click Apply. 

        Caption
        0Figure
        1Disk Options Information

        Image Modified

...

      1. In the left pane, click NIC :xx:xx:xx 
      2. In Network source drop-down, choose MGT bridge. 
      3. In Device model drop-down, choose virtio.
      4. Click Apply.

        Info

        To add HA, PKT0, and PKT1 bridges, click Add Hardware and follow steps

...

      1. i to iii.
        For the MGT and HA bridges, choose virtio.
        For the PKT0 and PKT1 bridges, choose Hypervisor default.

        Caption
        0Figure
        1Virtual Network Interface

        Image Modified

    1. Configure the VM for CPU pinning to optimize performance. Complete the following steps:

      1. Force off the instance.
      2. Complete the CPU pinning procedure
      3. Return to the VM Configuration screen and select Boot Options in the left pane. 

        Caption
        0Figure
        1Boot Options

        Image Added

      4. Update the Boot device order so that IDE CDROM1 is first, followed by VirtIO Disk 1.

      5. ClickApply.

    2. Click Begin Installation.

      Caption
      0Figure
      1VM Basic Details

      Image Modified

      The installation window displays.

...

Pagebreak