NSX VIBs are specific to the version of ESXi that is installed on the host. If you upgrade ESXi, you must install new NSX VIBs appropriate for the new ESXi version.
Before you begin
Verify NSX 6.3.x is installed.
Check the VMware Product Interoperability Matrix to verify which versions of vSphere and ESXi are compatible with your NSX installation. See http://www.vmware.com/resources/compatibility/sim/interop_matrix.php.Important:
NSX 6.3.x is not interoperable with the initial release of ESXi 6.5. You must upgrade to ESXi 6.5.0a or later to be compatible with NSX 6.3.0. Check the interoperability matrix for the latest interoperability information.
Read the appropriate version of the vSphere documentation for detailed instructions on upgrading vSphere, including the vSphere Upgrade Guide and the Installing and Administering VMware vSphere Update Manager Guide.
Verify Platform Services Controller and vCenter Server systems are upgraded to the new vSphere version.
Verify vSphere Update Manager is installed and configured.
Make sure the fully qualified domain names (FQDNs) of all of your hosts can be resolved.
If DRS is disabled, power off or vMotion the VMs manually before beginning the upgrade.
If DRS is enabled, the running VMs are moved automatically during the host cluster upgrade. Before beginning the upgrade, make sure that DRS can work in your environment.
Make sure that DRS is enabled on the host clusters.
Make sure that vMotion functions correctly.
Check the host connection state with vCenter.
Check that you have a minimum three ESXi hosts in each host cluster. During an NSX upgrade, a host cluster with only one or two hosts is more likely to have issues with DRS admission control. For a successful NSX upgrade, VMware recommends that each host cluster have at least three hosts. If a cluster contains fewer than three hosts, the recommendation is to manually evacuate the hosts.
In a small cluster with only two or three hosts, if you have created anti-affinity rules stating that certain VMs must reside on separate hosts, these rules might prevent DRS from moving the VMs during the upgrade. Either add additional hosts to the cluster or disable the anti-affinity rules during the upgrade and reenable them after the upgrade is complete. To disable an anti-affinity rule, navigate to Enable rule.. Edit the rule and deselect
About this task
When you upgrade to ESXi 6.5 with NSX 6.3.x installed, vMotion of VMs to VXLAN prepared vSphere Distributed Switches on the upgraded host is blocked until the new NSX VIBs have been installed.
VMware recommends using vSphere Upgrade Manager to upgrade hosts to ESXi 6.5 in an NSX 6.3.x environment.
Whatever method you use to upgrade ESXi, you should follow this workflow. On one host at a time, do the following:
Once the ESXi upgrade completes, the host exits maintenance mode, however, you cannot move VMs connected to logical switches to the host until the next step has completed.
Upgrade NSX VIBs
Once the VIBs are upgraded and the host has been removed from maintenance mode, you can move VMs connected to logical switches to the host.
You must upgrade one host at a time. Do not select a cluster or datacenter to remediate when you to upgrade ESXi.
- In the vSphere Web Client, navigate to .
- Follow the instructions in Import Host Upgrade Images and Create Host Upgrade Baselines to import a host upgrade image and create a host upgrade baseline.
- Click the ESXi Images tab, click Import ESXi Image and browse to the image you want to upload.
- Click the Host Baselines tab and click New Baseline. Use the New Baseline wizard to create a new Baseline, selecting Host Upgrade as the Baseline type.
- Upgrade one host at a time. Repeat these steps for each host.
- Navigate to Hosts and Clusters and select a host to upgrade. Do not select a cluster or datacenter.
- Right click the host and select . Use the Attach Baseline or Baseline Group wizard to select a baseline. See Attach Baselines and Baseline Groups to Objects in the vSphere documentation for full instructions.
- Right click the host and select . Use the Remediate wizard to select a baseline. See Remediate Hosts Against an Upgrade Baseline in the vSphere documentation for full instructions.
- If the host has status Not connected after the reboot, connect the host. Right click the host and select .
- To verify the upgrade is complete, right click the host and select Upgrades check box to scan for upgrade compliance. If the Compliance Status is Compliant, the upgrade is complete.
. Select the
See Manually Initiate a Scan of ESXi Hosts in the vSphere documentation for full instructions.
- Navigate to .
- Locate the host on which you upgraded ESXi. The Installation Status displays Not Ready.
Click Not Ready to see more information.
- Select the host and click
to trigger NSX VIB installation.
If you are upgrading from ESXi 5.5, and the cluster has DRS enabled, DRS will attempt to reboot the host in a controlled fashion that allows the VMs to continue running. If DRS fails for any reason, the Resolve action halts. In this case, you may need to move the VMs manually and then retry the Resolve action or put the host into maintenance mode and reboot manually.
If you are upgrading from ESXi 6.0, and the cluster has DRS enabled, DRS will attempt to put the host into maintenance mode in a controlled fashion that allows the VMs to continue running. If DRS fails for any reason, the Resolve action halts. In this case, you may need to move the VMs manually and then retry the Resolve action or put the host into maintenance mode manually.Important:
If you are upgrading from ESXi 6.0, and you manually put a host into maintenance mode to install the host VIBs, you must verify that the host VIB install has completed before you take the host out of maintenance mode. The Host Preparation will display Installation Status Installing even though the install is complete.
Check the Recent Tasks pane in the vSphere Web Client and verify all Install tasks have completed.
Connect to the host command line and run the esxcli software vib list | grep esx-v command. The first part of the VIB version displays the version of ESXi for the VIB. For example, before upgrade from ESXi 6.0 to ESXi 6.5.
[root@host-1:~] esxcli software vib list | grep esx-v esx-vsip 6.0.0-0.0.XXXXXXX VMware VMwareCertified 2017-01-23 esx-vxlan 6.0.0-0.0.XXXXXXX VMware VMwareCertified 2017-01-23
After upgrade to ESXi 6.5:
[root@host-1:~] esxcli software vib list | grep esx-v esx-vsip 6.5.0-0.0.XXXXXXX VMware VMwareCertified 2017-01-23 esx-vxlan 6.5.0-0.0.XXXXXXX VMware VMwareCertified 2017-01-23