VM connectivity issues on ESXi host recently unprepared for NSX
search cancel

VM connectivity issues on ESXi host recently unprepared for NSX

book

Article ID: 404629

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

  • ESXi host was recently unprepared for NSX.
  • VMs running on this host may lose network connectivity.
  • On the ESXi host, stale NSX properties may be observed:
    [root@ESXi:~] net-dvs -l | grep -E "^switch|com.vmware.nsx.*.enable|com.vmware.common.alias"
    switch ## ## ## ## ## ## ## ## - ## ## ## ## ## ## ## ## (cswitch)
     com.vmware.common.alias = <DVS_name> ,         propType = CONFIG
     com.vmware.nsx.<property>.enabled = true ,         propType = CONFIG


    Note:

    cswitch represents a non-NSX prepared switch for DVS 7.0.3 and above.
    vswitch represents an NSX prepared switch.
  • A non-exhaustive list of properties:
    com.vmware.nsx.kcp.enable
    com.vmware.nsx.spf.enabled
    com.vmware.nsx.vdl2.enabled
    com.vmware.nsx.vdsSecurity.enabled
    (please note the list above is non-exhaustive, status of properties may be enable or enabled)

Environment

VMware NSX

Cause

Improper uninstallation of NSX on the ESXi host may lead to stale entries, resulting in VM connectivity issues.

Resolution

This is a known issue affecting VMware NSX

  • To resolve the issue, remove the stale entries before re-preparing the host for NSX by following NSX VIBs are not removed from an ESXi host.
  • Once the stale entries are removed, you can proceed with re-installing NSX on the affected ESXi host through NSX UI.

Additional Information

NSX-INST-VDS