Versions Compared

Key

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

Add_workflow_for_techpubs
AUTH1UserResourceIdentifier{userKey=

8a00a0c86820e56901685f374974002d

8a00a0c87e188912017e4c24a00e0016, userName='null'}
JIRAIDAUTHSBX-

104043

00000
REV5UserResourceIdentifier{userKey=

8a00a02355cd1c2f0155cd26cb8305e9

8a00a0c87e188912017e4c24a00e0016, userName='null'}
REV6UserResourceIdentifier{userKey=

8a00a02355cd1c2f0155cd26cb8305e9

8a00a02355cd1c2f0155cd26cd5909df, userName='null'}
REV3UserResourceIdentifier{userKey=

8a00a02355cd1c2f0155cd26c752002f

8a00a02355cd1c2f0155cd26ce350b51, userName='null'}
REV4UserResourceIdentifier{userKey=

8a00a02355cd1c2f0155cd26cba10618

8a00a02355cd1c2f0155cd26cdcd0ab1, userName='null'}
REV1UserResourceIdentifier{userKey=

8a00a02355cd1c2f0155cd26ca1903b3

8a00a02355cd1c2f0155cd26cbfd06fb, userName='null'}

REV2UserResourceIdentifier{userKey=8a00a02355cd1c2f0155cd26c9f0036e, userName='null'}


Internal_display_only



Panel

In this section:

Table of Contents
maxLevel4



Info
iconfalse

Related articles:

Children Display


Prerequisites


Info
titleNote

 Ensure that SR-IOV is enabled on in the host's BIOS settings of the host by logging in through the iLO console.


Info
titleNote

When using SR-IOV interfaces,  do do not add more than 64 VLANs, as the driver does not support it.


Info
titleNote

SR-IOV is a licensed feature on VMware. Procure the "VMware vSphere Enterprise Plus" license to enable SR-IOV support on ESXi.

  • Install SR-IOV supported two 10 Gigabit PCI cards.

  • Minimum 10 GB RAM.
  • VM must be created with four Interfaces:
    • One virtual interface for Management Port

    • One virtual interface for HA Port

    • Two virtual interfaces for SR-IOV Ports

Info
titleNote

It is recommended to configure Configuring all four ports with different IP addresses in four different networks is recommended.

For example:

  • MGMT - Network 1
  • HA - Network 2
  • SR-IOV - Network 3
  • SR-IOV - Network 4

Configuring Virtual Machine Instances

Configuring SR-IOV

Perform the following steps:

  1. Log on to VMware ESXi GUI as the root user.

    caption

    Image Added

    0Figure
    1VMWare ESXi 6.5

    Image Removed

    Include Page
    Include Page
    _Screenshot_disclaimer
    _Screenshot_disclaimer


  2. To check the status of the SR-IOV cards:

    1. Navigate to Host > Manage.

    2. Select the tab Hardware.
      Ensure both the SR-IOV cards are in a disabled state , or the Passthrough is in disabled state.

      Caption0


      Figure1SR-IOV Cards


      Image Modified

  3. If the SR-IOV cards are not disabled, disable them by performing the following:

    1. Enable SSH. To enable SSH,

      1. Navigate to Host and select the tab Actions.

      2. From the drop-down list, select the option Services. Click Enable Secure Shell (SSH) and Enable console shell.

        Caption0Figure


        1Enable SSH

        Image Modified

    2. Check the name of the NIC cards. To check the name of the NIC cards,

      1. Log on to CLI as root.

      2. Execute Enter the following command:

        Code Block
        titleInput
        lspci|grep X540
        

        The following is the sample display output:

        Code Block
        0000:0b:00.0 Network controller: Intel(R) Ethernet Controller X540-AT2 [vmnic8]
        0000:0b:00.1 Network controller: Intel(R) Ethernet Controller X540-AT2 [vmnic9]


    3. Open the esx.conf file and find the PCI ID associated with the NIC card.

      1. Change the owner of the PCI ID from passthrough to vmkernel.

      2. Execute Enter the following command:

        Code Block
        vi /etc/vmware/esx.conf
        

        The following is the sample display output:

        Code Block
        /system/uuid = "5a33649d-c9db-e792-c676-5cb9018acc24"
        /system/uservars/psa/defaultLunMasksInstalled = "1"  
        /system/uservars/corestorage/Filter/DefaultVMWRulesLoaded = "1"
        /system/uservars/corestorage/VAAI/DefaultVMWRulesLoaded = "1"  
        /system/uservars/host-acceptance-level = "partner"           
        /resourceGroups/version = "6.5.0"                 
        /adv/Misc/HostIPAddr = "10.54.12.81"
        /adv/Misc/DiskDumpSlotSize = "2560" 
        /adv/Misc/HostName = "hpg9-9"      
        /adv/Net/ManagementIface = "vmk0"
        /adv/Net/ManagementAddr = "10.54.12.81"
        /adv/UserMem/UserMemASRandomSeed = "1418738923"
        /adv/UserVars/HostClientCEIPOptIn = "1"        
        /device/00000:005:00.0/vmkname = "vmhba1"
        /device/00000:002:00.0/vmkname = "vmnic0"
        /device/00000:002:00.2/vmkname = "vmnic2"
        /device/00000:003:00.0/vmkname = "vmhba0"
        /device/00000:002:00.1/vmkname = "vmnic1"
        /device/00000:011:00.1/owner = "vmkernel"
        /device/00000:011:00.1/device = "1528"   
        /device/00000:011:00.1/vendor = "8086"
        /device/00000:011:00.1/vmkname = "vmnic9"
        /device/00000:004:00.2/vmkname = "vmnic6"
        /device/00000:004:00.1/vmkname = "vmnic5"
        /device/00000:002:00.3/vmkname = "vmnic3"
        /device/00000:004:00.0/vmkname = "vmnic4"
        /device/00000:005:00.1/vmkname = "vmhba2"
        /device/00000:004:00.3/vmkname = "vmnic7"
        /device/00000:011:00.0/vmkname = "vmnic8"
        /device/00000:011:00.0/vendor = "8086"   
        /device/00000:011:00.0/device = "1528"
        /device/00000:011:00.0/owner = "vmkernel"
        - /etc/vmware/esx.conf 33/499 6%


    4. Save the file.

    5. Reboot the host.

  4. In the VMware ESXi GUI, navigate to Host > Manage.

  5. Select the Hardware tab.

  6. From the PCI Devices, select the SR-IOV card.
    Image Added

  7. Click Configure

    Caption0Figure1Selecting the

    SR-IOV

    Card

    .

    Image Removed

    Click Configure SR-IOV.

    The window to configure the SR-IOV card is displayed.

  8. 1

    For the option Enabled, select Yes and set the number of virtual functions.

    Caption0Figure


    Configuring the SR-IOV Card

    Image Modified

  9. Click Save.

  10. Configure the other SR-IOV card. Repeat the steps from 4 to 6.

  11. Reboot the host by clicking Reboot host.

    caption


    0Figure
    1Reboot Host

    Image Modified

    The following warning message is displayed.

    caption


    0Figure
    1Warning Message

    Image Modified

  12. Click Reboot.

    The VMware ESXi login window is displayed with the message displays "The host is rebooting...".

    Caption
    0Figure
    1The VMWare ESXI Login Window Displaying the Message

    Image Removed

    Image Added


  13. Once the Once the virtual function is created, the SR-IOV cards and the Passthrough for the virtual functions display the status as "Active".

    Caption0Figure


    1SR-IOV Cards and Virtual Function Status

    Image Modified

Creating a vSwitch

Creating a Management vSwitch

Perform the following steps:

  1. Navigate to Networking. From the Port group tab, click the Add port group.
    The Add port group window is displayed .

    Caption
    0Figure
    1Adding the MGMT Port Group

    Image Removed

    Include Page_Screenshot_disclaimer

    with the following fields:

    _Screenshot_disclaimerThe following table describes the Add port group fields. Caption
    0Table
    1Add Port Group Fields
    FieldExample or RecommendationNameVMNetworkVLAN ID0
    FieldExample or Recommendation
    NameVMNetwork
    VLAN ID0
    Virtual switchvSwitch0
    SecuritySelect Inherit from vSwitch


  2. Click Add.

Creating an HA vSwitch

Perform the following steps:

  1. Navigate to Networking. From the Port group tab, click the Add port group.
    The Add port group window is displayed .

    Caption
    0Figure
    1Adding the HA Port Group

    Image Removed

    Include Page_Screenshot_disclaimer

    with the following fields:

    _Screenshot_disclaimerThe following table describes the Add port group fields. Caption
    0Table
    1Add Port Group Fields
    Field
    Field
    Example or Recommendation
    NameHANetwork
    VLAN ID0
    Virtual switchvSwitch1
    SecuritySelect Inherit from vSwitch


  2. Click Add.

Creating the Virtual Machine

Perform the following steps:

  1. Navigate to Virtual Machines. Click Create / Register VM to create or register a virtual machine.
    The Select creation type option is displayed.

    caption

    Image Added

    0Figure
    1Create or Register a Vrtual Machine

    Image Removed

    Include Page
    _
    Include Page
    _Screenshot_disclaimer
    _Screenshot_disclaimer


  2. Select the option Create a new virtual machine.

  3. Click Next.

    The Select a name and guest OS option is displayed .

    Caption
    0Figure
    1Select a Name and Guest OS

    Image Removed

    The following table describes the Select a name and guest OS fields. Caption
    0Table
    1Select a Name and Guest OS Fields
    FieldExample or Recommendation
    NameName of the virtual machine. For example, VM.
    CompatibilityESXi 6.5 virtual machine
    Guest OS familyLinux
    Guest OS versionDebian GNULinux 8 (64-bit)
  4. Click Next.

    The Select storage option is displayed.

  5. Select datastore1.

    Info
    titleNote

    Ensure that the datastore has minimum 500 GB or more space. This datastore is required to store all log-related data files.

    Caption
    0Figure
    1Select Storage

    Image Removed

  6. with the following fields:

    FieldExample or Recommendation
    NameName of the virtual machine. For example, VM.
    CompatibilityESXi 6.5 virtual machine
    Guest OS familyLinux
    Guest OS versionDebian GNULinux 8 (64-bit)


  7. Click Next.

    The Select storage option is displayed.

  8. Select datastore1.

    Info
    titleNote

    Ensure that the datastore has minimum 500 GB or more space. This datastore is required to store all log-related data files.

    Image Added

  9. Click Next.
    The Customize settings option is displayed.

  10. Configure virtual hardware from Customize settings:

    1. Set the CPU

      When configuring virtual CPUs within the vSphere Web Client, you can configure:

      • The total number of vCPUs for the virtual machine
      • The total number of cores per socket

      The following table provides examples of socket determination based on the CPU and Cores per Socket within the vSphere Web Client:

      Total Number of virtual CPUs (CPU)Cores per SocketNumber of Sockets Determined by the vSphere Web Client
      441
      422
      414
      881
      824
      842
      818


      Info
      title
  11. Click Next.
    The Customize settings option is displayed.

  12. Configure virtual hardware from Customize settings:

    1. Setting CPU

      When configuring virtual CPUs within the vSphere Web Client, you can configure:

      • The total number of vCPUs for the virtual machine
      • The total number of cores per socket

      The following table provides the examples of socket determination based on the CPU and Cores per Socket within the vSphere Web Client:

      Caption
      0Table
      1Number of Sockets Determined by the vSphere Web Client
      Total Number of virtual CPUs (CPU)Cores per SocketNumber of Sockets Determined by the vSphere Web Client
      441
      422
      414
      881
      824
      842
      818
      Info
      titleNote

      A minimum of 4 vCPUs is required. Any number of vCPUs may be configured depending upon on the call capacity requirements, but the number should be even (4, 6, 8, etc.) to avoid impacting performance.

      Caption
      0Figure
      1Setting CPU

      Image Removed


      Info
      Info
      titleNote

      Set the CPU reservation so that it equals to equal the physical processor CPU speed multiplied by the number of vCPUs assigned to the VM, divided by 2.

      CPU Reservation = (No. of vCPUs * CPU frequency)/2

      For example, a configuration of 32 CPUs with a processor of 2.30 GHz CPU frequency reserves "(32 * 2300)/2 = 36800 MHz".

      The following table describes the CPU fields.

      caption

      0Table
      1Customize Settings-CPU
      FieldsExample or Recommendation
      CPU10
      Number of Virtual sockets1
      Number of cores per virtual socket10
      CPU Reservation12925 MHz
      LimitUnlimited
      SharesNormal
      Hardware virtualizationNone
      Performance countersNone
      Scheduling AffinityNone


    2. Adjust the Memory using the following fields:

      FieldsExamples or Recommendation
      Memory20480 MB.
      Note:

      Setting Memory

      Caption
      0Figure
      1Setting Memory

      Image Removed

      The following table describes the Memory fields. Caption
      0Table
      1Customize Settings-Memory
      FieldsExamples or RecommendationMemory20480 MB.
      Note:
      It is recommended to use more than 20 GB of memory.
      ReservationSelect the option Reserve all guest memory (All locked)
      LimitUnlimited
      SharesNormal
      Memory Hot PlugNone


    3. Setting Set the Hard disk 1

      Caption
      0Figure
      1Setting Hard disk 1

      Image Removed

      .

      The following table describes the Hard disk 1 fields.

      Caption
      0Table
      1Customize Settings - Hard disk 1
      FieldsExamples
      FieldsExamples or Recommendation
      Hard disk 1200 GB
      Maximum Size1.43 TB
      Locationdatastore1
      Disk ProvisioningSelect Thick provisioned, lazily zeroed
      SharesNormal
      Limit-IOPsUnlimited
      Virtual Device NodeSCSI controller 0 and SCSI (0:0)
      Disk modeDependent
      SharingNone


    4. 0

      Setting Set the SCSI Controller

      Caption


      Figure1Setting SCSI Controller

      Image Removed

      The following table describes the SCSI Controller fields.

      Caption0Table

      1Customize Settings - SCSI Controller

      FieldsExamples or Recommendation
      SCSI ControllerSelect LSI Logic Parallel from the drop-down list
      SCSI Bus SharingNone
      SATA Controller 0N/A
      USB controller 1USB 2.0


    5. Setting Set the Network Adapter 1
      The Network Adapter 1 is used for provisioning to provision MGMT ports.

      Caption
      0Figure
      1Setting Network Adapter 1

      Image Removed

      The following table The following table describes the Network Adapter 1 fields.

      Caption0Table

      1Customize Settings - Network Adapter 1

      FieldsExamples or Recommendation
      Network Adapter 1Select the MGMT ports from the drop-down list. For example, VM Network.
      StatusSelect the option Connect at power on.
      Adapter TypeVMXNET3
      MAC AddressAutomatic

      Once the Network Adapter 1 is created for MGMT ports, create a new Network Adapter for HA ports.

    6. 0

      Select Add network adapter. The option to create a New Network Adapter for the HA port is displayed.

      Caption


      Figure1Add Network Adapter

      Image Removed

      The following table describes the New Network Adapter fields.

      caption
      Fields
      0Table
      1Customize Settings - New Network Adapter
      FieldsExamples or RecommendationNew Network AdapterSelect
      Examples or Recommendation
      New Network AdapterSelect the HA port from the drop-down list. For example, HA Network.
      StatusSelect the option Connect at power on.
      Adapter TypeVMXNET3
      MAC AddressAutomatic

      To attach packet ports on VMware ESXi 7.0 and above versions, skip the steps 7.g to 7.j, and follow the steps in the section Attach SR-IOV Interface in VMware ESXi 7.0 and Above.

    7. Anchor7.g7.gClick Add other device to continue the configuration on PKT0 and PKT1.

      Caption0


      Figure1Add Other Device

      Image Modified

    8. Select the option PCI device from the drop-down list.

      Caption
      0Figure
      1Select PCI Device

      Image Modified

      The New PCI device option is created.


    9. Repeat steps g and h to create one more PCI Device.

      Caption
      0Figure
      1New PCI device

      Image Removed

      more PCI Devices from PKT networks.

      Info
      titleNote

      Follow the same procedure for both a non-port redundancy and port redundancy scenario.

      • 2 PKT interfaces are supported for a non-port redundancy scenario
      • 4 PKT interfaces are supported for a port redundancy scenario

      Ensure packet ports are attached to the SBC VM in the correct sequential order.  See  Readjust SR-IOV Network Adapter Addition Sequence.

      Image Added


    10. Anchor7.j7.jClick Next. The Ready to complete option is displayed.

      Caption0Figure


      1Ready to Complete

      Image Modified

    11. PKT Port NUMA Affinity: Perform the following steps:
      1. Find the PKT port NUMA affinity by executing the following command on the EXSi ESXi host:

        Code Block
        vsish -e get /net/pNics/<PKT port name - vmnicX>/properties | grep "NUMA"


      2. Update VM NUMA affinity to be the same as NIC NUMA affinity:
        1.  

          Edit Settings -> VM options -> Configuration Parameters -> Add Parameters.

          Caption
          0Figure
          1Edit Configuration Parameters

          Add Parameters.
          Image Modified

        2. Add the following parameters:

          Add Parameters
          Code Block
          numa.nodeAffinity' =  0 or 1 (based on PKT port NIC affinity)
          
          numa.autosize.once = FALSE
          
          Caption
          0Figure
          1

          Image Modified

    12. Once the review is performed, click Finish. The Virtual Machine is created.

RSS Configuration for VMs using SR-IOV Interfaces

Receive side scaling (RSS) is a mechanism that enables spreading incoming network traffic across multiple CPUs, thus eliminating a potential processing bottleneck. For SR-IOV configurations, update the RSS configuration in the ESXi host as shown in the procedure below:

  1. Execute Enter the following command to unload the IXGBE driver:

    Code Block
    esxcfg-module -u ixgbe


  2. Execute Enter the following command to verify the driver is unloaded:

    Code Block
    esxcfg-module -l | grep ixg 


  3. Execute Enter one of the following commands to reload the driver with the required virtual function (VF) and RSS configurations:

    Code Block
    vmkload_mod ixgbe max_vfs=2,2 RSS=4,4

    ~ or ~

    Code Block
    esxcfg-module -s 'max_vfs=2,2, RSS=4,4' ixgbe


  4. Reboot the host for the RSS to take effect. This modified configuration is retained after the reboot.

Installing the SBC Application on VMware

Once the VMware instance is created, install the SBC application.

Perform the following steps:

  1. Select the Virtual Machine where you want to install the SBC application.
  2. Click Edit. The Edit Settings window is displayed.

  3. Select CD/DVD Drive 1.

    Caption
    0Figure
    1Edit Settings

    Image Modified

    Include Page
    _Screenshot_disclaimer
    _Screenshot_disclaimer


  4. 0

    The Datastore browser window is displayed. Browse the ISO image file.

    Caption


    Figure1Selecting the OS File

    Image Modified

  5. Click Select. The following window is displayed.

    Caption
    0Figure
    1Saving the OS File

    following window is displayed.
    Image Modified

  6. Click Save.
  7. 1Powering On the VM

    Click Power on to power on the VM.

    Caption0Figure


    Image Modified


  8. The SBC Installer window is displayed. Press Enter to boot.

    Caption
    0Figure
    1SBC Installer Window

    Image Removed

  9. Once the installation completes, you are prompted to enter the login credentials.

    Caption
    0Figure
    1Login Information

    Image Modified

  10. Log on to CLI as linuxadmin. Provide the following IP addresses:

    1. Primary Management IPv4 Address

    2. Primary Management Network Mask

    3. Primary Management Gateway IP Address, you are prompted to use IPv6 address.

    4. Enter n if you do not want to set IPv6
    Caption0Figure1Ip Addresses

    1. Image Modified