Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Noprint
Panel
borderColorgreen
bgColortransparent
borderWidth2

Back to Table of Contents

Back to Installing SBC SWe Software

Back to Configuring Your Network for SBC SWe

Back to Creating Virtual Machine using vNetwork Standard Switch (vSwitch)

...

width24px
Panel

In this section:

Table of Contents
maxLevel2

 

To install the 

Spacevars
0product
on a virtual machine (VM) with Direct I/O pass-through, you must first configure the pass-through I/O devices on a ESXi host and create a VM and allocate its resources (for example CPU, memory, and NICs), as well as configure a datastore to contain the
Spacevars
0product
operating system and application software.

VMDirectPath I/O is a VMware technology that can be used with I/O hardware to reduce the CPU impact of high-bandwidth throughput workload's by "bypassing" the hypervisor. VM DirectPath I/O allows guest operating systems to directly access an I/O device, bypassing the virtualization layer and enhancing the performance.

Configuring Pass-through I/O Devices on ESXi Host

Note

You must follow the BIOS settings recommendations for the particular server.  Refer to BIOS Settings Recommendations section for guidance.

To configure the Passthrough I/O devices on a ESXi host:

  1. Select a host from the inventory panel of the vSphere Client.

  2. On the Configuration tab, click Advanced Settings.
    The Passthrough Configuration page appears, listing all the available Passthrough devices.

    Note

    A green icon indicates that a device is enabled and active. An orange icon indicates that the state of the device has changed and the host must be rebooted before the device can be used.

  3. Click Edit.

  4. Select the devices to be used for Passthrough and click OK.

    Caption
    0Figure
    1Configuring Passthrough device

    Image Modified

    Span

     

  5. Reboot the Host.

    Caption
    0Figure
    1Rebooting the host

    Image Modified

Note

...

Pass-through devices are not detected in VMware ESXi version Build–1483097 and VM does not get powered on.

Note

Make sure all your NICs are physically plugged in (link light on) before creating your VM. Otherwise, when you perform the ISO, an incorrect port mapping occurs (logical to physical), and your SBC does not function properly.

Creating a Virtual Machine (VM)

Perform the following steps to create new

Spacevars
0product
VM.

  1. Login as user root on VMware vSphere client.

    1. Enter VM Ware host machine IP Address.
    2. Enter your VMware vSphere administrator user name.
    3. Enter your VMware vSphere administrator password. 
    Caption
    0Figure
    1VMware VSphere Client Login
    Image Modified

    The vSphere Client main window appears.

  2. In VMware vSphere Client main window, click Getting Started tab. Click Create a new virtual machine.

    Caption
    0Figure
    1New Virtual Machine Main
    Image Modified

    Span

     

  3. Select Custom in Configuration window, and click Next. Provide a Name for your

    Spacevars
    0product
    . The name can be up to 80 characters. Click Next.

    Note

    Avoid special characters for name

...

  1. . Refer to System Name and Hostname Naming Conventions for details.

    Caption
    0Figure
    1Custom Configuration

    Image Modified

    Span

     

  2. From the Storage screen, select a datastore1 and click Next. Ensure datastore has at least 100 GB or more free space. This datastore is required to store all log-related data files.

    Caption
    0Figure
    1Datastore
    Image Modified

    Span

     

  3. Select Virtual Machine Version: 11. Refer to For VMware for more information.

    Caption
    0Figure
    1Selecting Virtual Machine Version

    Image Modified

    Span

     

  4. From Guest Operating System screen, make the following selections, and then click Next:

    1. Select Linux as the Guest Operating System.

    2. Select Debian GNU/Linux

...

    1. 8 (64-

...

    1. bit) from Version drop-down menu.

      Caption
      0Figure
      1Guest Operating System

      Image Modified

      Span

       


  1. From CPUs screen, make following selections, and click Next. (In the following screenshot example, 4 cores are chosen). For CPU, memory configuration details, see For VMware

    1. Number of Virtual sockets: 1

    2. Number of cores per virtual socket: 4 or above (depending on whether all virtual NICs are used)

      Caption
      0Figure
      1Creating Virtual CPUs

      Image Modified

      Span

       

    3. From the Memory screen, assign memory

...

    1. for the virtual machine, and then click Next

...

    1. . For fewer than 6000 calls, the minimum reservation must be 10 GB. Anything more than 6000 calls require at least 14GB vRAM. Refer to SBC SWe Performance Metrics for more information.

      Caption
      0Figure
      1Assigning Memory

      Image Modified

...

    1. Span

       

  1. Define Virtual Machine network interface connections (NICs) using following options from the drop-down menus. Then click Next to continue.

    Caption
    0Figure
    1Assigning NICs

    Image Modified

    Span

     

     

    1. Select first network adapter (NIC 1:) for management interface. For example, the label can be MGMT which is created using Configuring vNetwork Standard Switches (vSwitches).

    2. Select second network adapter (NIC 2:) for HA interface. For example, the label can be HA.

      Note

      These network adapters and labels are already created on the ESX host server. If you are installing for the first time on new ESXi host server, these network adapters and corresponding labels (MGMT, HA) needs to be created. For details, see Configuring vNetwork Standard Switches (vSwitches). The PKT0, and PKT1 is created using the PCI devices. Refer step 14 through 19 for guidance.

      Warning

      Make sure that Network Adapters are mapped exactly in the following order as shown below:

      • First network adapter (Network Adapter 1) for management interface
      • Second network adapter (Network Adapter 2) for high availability
    3. Select Adapter type as VMXNET 3  for both MGMT and HA interfaces.

    4. Ensure all Connect at Power On check boxes are checked. This must be Power On always.

  2. From the SCSI Controller screen, select LSI Logic Parallel as the SCSI Controller option, then click Next to continue.

    Caption
    0Figure
    1Selecting SCSI Controller

    Image Modified

    Span

     

  3. From the Select a Disk screen, select Create a new virtual disk option, then click Next to continue.

  4. From the Create a Disk screen, make the following selections:

    Caption
    0Figure
    1Selecting Disk Provisioning Option

    Image Modified

    Span

     

     

    1. In Capacity section, assign a minimum of 100 GB or more disk space.

       

    2. In Disk Provisioning section, choose only Thick Provisioning Eager Zeroed option:

      1. Thick Provision Lazy Zeroed  - Allocates the requested hard disk (virtual) during the VM creation. This type of disk pre-allocates and dedicates a pre-defined amount of a space for a virtual machine's disk operations, but it does not write zeroes to a virtual machine file system block until the first write within that region at run time.

      2. Thick Provision Eager Zeroed(recommended) - Pre-allocates and dedicates a user defined amount of space for a VM disk operations.

      3. Thin Provision - Creates virtual hard disk during runtime (on write operations). This provides more optimal hard disk usage, but it has some performance impact until it creates maximum requested virtual hard disk.

    3. In Location section, select Specify a datastore or datastore cluster and click Browse...  Select the datastore or NFS where ISO image is available.

      Caption
      0Figure
      1Specifying Datastore

      Image Modified

      Span

       

    4. Click Next to continue.

  5. From the Advanced Options screen, keep the default value SCSI (0:0) and click Next. The default virtual device node is SCSI (0:0).

    Caption
    0Figure
    1Selecting Advance Option

    Image Modified

    Span

     

  6. From the summary screen, review your VM settings and select the Edit the virtual machine settings before completion option. Click Continue. To go back and change the settings, click Back.

    Caption
    0Figure
    1

...

  1. Ready to Complete

    Image Modified

    Span

     

  2. Click Add to continue the configuration on PKT0 and PKT1.

    Caption
    0Figure
    1Adding the device

    Image Modified

    Span

     

  3. Choose the type of device to add and click Next. For Direct I/O interface, you must select the PCI device.

    Caption
    0Figure
    1Selecting PCI Device

    Image Modified

    Span

     

  4. Select the physical PCI/PCI2 device to connect the packet interface PKT0 and click Next.

    Caption
    0Figure
    1Specifying the PCI/PCIe Device

    Image Modified

    Span

     

  5. Click Finish.

    Caption
    0Figure
    1Finalizing the Device Details

    Image Modified

    Span

     

  6. Repeat the step 14 through 17 to add the physical device to connect the PKT1 interface.

    Note

    As it is a Direct I/O, the same Passthrough device must not be used by a multiple VM instances. You must select the different PCI/PCIe device in step 16 for the PKT1 interface.

    Span

     

  7. After adding the PCI devices for both PKT0 and PKT1 interfaces, click Finish to complete.

    Caption
    0Figure
    1Completing the Task

    Image Modified

    Note

    All the NIC ports of the same NIC card has to be fully configured as either pass-through devices or for virtual networking (vSwitches). This is a VMware ESXi limitation/restriction.

  8. The virtual machine is created under host IP address with the specified configuration. See the below example screen.

    Caption
    0Figure
    1Created VM

    Image Modified

    Span

     


    This creates the virtual machine.

     

  9. After VM is created, you must manually enable autostart and autostop of the Virtual Machine. Enabling the autostop/autostart of Virtual Machine is useful, in scenarios where power is lost and later regained. This setting of VM helps autostart of VMs when the host machine is powered ON.
    To autostart the VM, perform the following steps:
    1. Select the host IP address from left-pane and click Configuration Tab.

...

    1. The Virtual Machine Startup

...

    1. and Shutdown section is displayed

...

    1. .

...

    1. Caption
      0Figure
      1Virtual Machine Startup/Shutdown
      3Virtual Machine Startup/Shutdown

      Image Modified

      Span

       

    2. Click Properties link displayed towards the top-right window.

...

      1. In System Settings pane, you must ensure to select the Allow virtual machine to

...

      1. start and stop automatically with the system check box.

...

      1. By default it is selected.

        Caption
        0Figure
        1Enabling Auto Startup and Auto Shutdown of VM
        3Enabling Auto Startup and Auto Shutdown of VM

        Image Modified

...

      1. Span

         

      2. In Startup Order pane, select the VM, which you want to automatically start and click Move Up.
        The selected VM is displayed underneath Automatic Startup.

        Caption
        0Figure
        1Moving VM to AutoStartup
        3Moving VM to AutoStartup
        Image Modified

        Span

         

      3. Click OK.

...

      1.  This completes the autostartup and autoshutdown settings for the Virtual Machine.

 

Noprint
Panel

...

bgColortransparent
borderWidth2

 Continue to Adjust Resource Allocations for VM

 

Pagebreak