The management domain in your environment must be upgraded before you upgrade VI workload domains. In order to upgrade to VMware Cloud Foundation 4.2, all VI workload domains in your environment must be at VMware Cloud Foundation 4.1 or 4.1.0.1.

Within a VI workload domain, components must be upgraded in the following order.
  1. NSX-T. See Upgrade NSX-T Data Center.
    Note: NSX-T upgrade is not supported on a vLCM image based stretch cluster. You must unstretch the cluster before proceeding with the upgrade.
  2. vCenter Server. See Upgrade vCenter Server.
  3. ESXi. See Upgrade ESXi.
  4. Workload Management on clusters that have vSphere with Tanzu. Workload Management can be upgraded through vCenter Server. See Working with vSphere Lifecycle Manager.
  5. If you have stretched clusters in your environment, upgrade the vSAN witness host. See Upgrade vSAN Witness Host.

Post Upgrade Steps for NFS-Based Workload Domains

After upgrading VI workload domains, you must add a static route for hosts to access NFS storage over the NFS gateway. This process must be completed before expanding the workload domain.
  1. Identify the IP address NFS server for the workload domain.
  2. Identify the network pool associated with the hosts in the cluster and the NFS gateway for the network pool.
    1. Log in to SDDC Manager.
    2. Click Inventory > Workload Domains and then click the workload domain you are performing the post upgrade steps on.
    3. Click the Clusters tab and then click an NFS-based cluster.
    4. Click the Hosts tab and note down the network pool for the hosts.
    5. Click the Info icon next to the network pool name and note down the NFS gateway.
  3. Ensure that the NFS server is reachable from the NFS gateway. If a gateway does not exist, create it.
  4. Identify the vmknic on each host in the cluster that is configured for NFS traffic.
  5. Configure a static route on each host to reach the NFS server from the NFS gateway.

    esxcli network ip route ipv4 add -g NFS-gateway-IP -n NFS-gateway

  6. Verify that the new route is added to the host using the NFS vmknic

    esxcli network ip route ipv4 list

  7. Ensure that the hosts in the NFS cluster (nfs-cluster-1) can reach the NFS gateway (10.0.24.1) through the NFS vmkernel (vmk2) using the vmkping command.

    vmkping -4 -I vmk2 -s 1470 -d -W 5 10.0.22.250

  8. Repeat steps 2 through 7 for each cluster using NFS storage.