In a VMware NSX setup, before an upgrade to ESXi 8.0 and later, make sure that the NSX kernel module is part of the image or upgrade baseline.
To use ESXCLI for the upgrade of an ESXi host in a vSphere system that includes NSX-T Data Center, you must follow the procedures described in Upgrading Hosts by Using ESXCLI Commands:
Prerequisites
- Download from VMware Customer Connect the NSX Kernel Module for VMware ESXi 8.0 zip file for the version of VMware NSX deployed in your environment. For example, nsx-lcp-4.0.1.0.0.xxx-esx80.zip for VMware NSX 4.0.1.
Procedure
- Place your ESXi host in maintenance mode. For more information, see Place a Host in Maintenance Mode.
- Download an ESXi 8.x image profile in a software depot that is accessible through a URL or in an offline ZIP depot.
- Run the ESXCLI command
esxcli software profile update --depot <path-to-depot-file> -p ESXi-X.X.X-XXXXXX-standard --allow-downgrades --no-sig-check
. For example:esxcli software profile update --depot /vmfs/volumes/5e8fd197-68bce4dc-f8f1-005056af93cf/VMware-ESXi-8.0.0-xxx-depot.zip -p ESXi-8.0.0-xxx-standard --allow-downgrades --no-sig-check
. For more information, see Upgrade or Update a Host with Image Profiles. - Install the NSX kernel module by using the ESXCLI command
esxcli software vib install -d <path_to_kernel_module_file> --no-sig-check
. For example:esxcli software vib install -d /tmp/nsx-lcp-4.0.1.0.0.xxx-esx80.zip
- Reboot the ESXi host.
- Move your ESXi host out of maintenance mode.