Unable to view the required port groups consistently across all ESXi hosts within the cluster.
search cancel

Unable to view the required port groups consistently across all ESXi hosts within the cluster.

book

Article ID: 444402

calendar_today

Updated On:

Products

VMware vSphere ESXi VMware vCenter Server 8.0

Issue/Introduction

- The vCenter UI displays six port groups on host CS####31, whereas only three are visible on host CS####32

- Configuration snippet for host -- CS####32 



- Configuration snippet for host -- CS####31

-  Reviewed the healthy ESXi host (CSDESX31) and noted that its VMkernel adapters are assigned to the networks listed below. However, there are no VMKs mapped to the "Backup" or "vCenter" networks.

Host -- CS####31

─$ less esxcfg-vmknic_-l.txt

Interface  Port Group/DVPort/Opaque Network        IP Family IP Address                              Netmask         Broadcast       MAC Address         MTU     TSO MSS   Enabled Type                NetStack
vmk0       Management Network                      IPv4      10.###.###.21                            255.255.255.0   10.###.###.255   cc:##:##:##:##:90 1500    65535     true    STATIC              defaultTcpipStack
vmk1       vMotion                                 IPv4      10.###.###.21                            255.255.255.0   10.###.###.255   cc:##:##:##:##:36 1500    65535     true    STATIC              defaultTcpipStack
vmk2       BMC_Network                             IPv4      10.###.###.21                            255.255.255.0   169.###.###.255  cc:##:##:##:##:37 1500        65535          true         DHCP                              defaultTcpipStack

─$ less esxcfg-vswitch_-l.txt


Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
vSwitch0         9216        13          128               1500    vmnic2,vmnic4

  PortGroup Name                         VLAN ID  Used Ports  Uplinks
  ####                                    0        5           vmnic2,vmnic4
  ####                                    0        1           vmnic2,vmnic4
  ####                                   36        1           vmnic2,vmnic4
  ####                                    0        1           vmnic2,vmnic4

Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
vSwitch1         9216        15          1024              1500    vmnic5,vmnic3

  PortGroup Name                        VLAN ID  Used Ports  Uplinks
  #####901                               901      1           vmnic5,vmnic3
  #####900                               900      3           vmnic5,vmnic3
  ######32                                32      6           vmnic5,vmnic3
                                           0      1           vusb0

- But for the problematic esxi host "CS####32" we notice VMK3 & VMK4 is mapped to "Backup & vCenter".

Host -- CS####32

─$ less esxcfg-vmknic_-l.txt


Interface  Port Group/DVPort/Opaque Network        IP Family IP Address                              Netmask         Broadcast       MAC Address       MTU     TSO MSS   Enabled Type                NetStack
vmk0       Management Network                      IPv4      10.###.###.22                          255.255.255.0   10.###.###.255   cc:##:##:##:##:90 1500    65535     true    STATIC              defaultTcpipStack
vmk1       vMotion                                 IPv4      10.###.###.24                          255.255.255.0   10.###.###.255   cc:##:##:##:##:df 1500    65535     true    STATIC              defaultTcpipStack
vmk2       BMC_Network                             IPv4      169.###.###.255                        255.255.0.0     169.###.###.255  cc:##:##:##:##:12 1500    65535     true    DHCP                defaultTcpipStack
vmk3       Backup                                  IPv4      N/A                                     N/A             N/A             cc:##:##:##:##:a0 1500    65535     true    NONE                defaultTcpipStack
vmk4       vCenter                                 IPv4      N/A                                     N/A             N/A             cc:##:##:##:##:10 1500    65535     true    NONE                defaultTcpipStack


─$ less esxcfg-vswitch_-l.txt

Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
vSwitch0         9216        11          128               1500    vmnic4,vmnic2,vusb0

  PortGroup Name                    VLAN ID  Used Ports  Uplinks
  ###                               0        1           vmnic4,vmnic2,vusb0
  ###                               0        1           vmnic4,vmnic2,vusb0
  ###                              36        1           vmnic4,vmnic2,vusb0
  Management Network                0        1           vmnic2,vmnic4,vusb0

Switch Name      Num Ports   Used Ports  Configured Ports  MTU     Uplinks
vSwitch1         9216        42          1024              1500    vmnic3,vmnic5

  PortGroup Name                         VLAN ID  Used Ports  Uplinks
  #####901                               901      1           vmnic5,vmnic3
  #####900                               900      3           vmnic5,vmnic3
  ######32                                32     34           vmnic3,vmnic5

Environment

VMware vCenter
VMware ESXi

Cause

- Observed discrepancies in the standard vSwitch/port group configurations when comparing the two ESXi hosts [CS####31 & CS####32 ].

Resolution

Remove the extraneous vmkernel adapters (vmk3 and vmk4) from the second host and recreating the affected port groups.

Kindly refer this KB article for standard switch creation --  https://knowledge.broadcom.com/external/article?articleNumber=431907