Upgrading a virtual machine to the latest hardware version (multiple versions) (1010675)

Purpose

This article provides information about upgrading a virtual machine to the latest hardware version.

Resolution

You can upgrade the hardware version of virtual machines to the latest version of ESXi in use. For virtual machines that are running on ESXi 5.x, VMware recommends that you upgrade the virtual hardware to the latest available version.

ESXi/ESX version

Virtual hardware version

ESXi 6.5

13

ESXi 6.0

11

ESXi 5.5

10

ESXi 5.1

9

ESXi 5.0

8

ESXi/ESX 4.1/4.0

7

ESXi/ESX 3.5

4

When upgrading virtual hardware, consider these points:

Before you upgrade the virtual hardware version of a virtual machine, create a snapshot or backup of the virtual machine in case there are issues post upgrade.

Upgraded virtual machines cannot be powered on by an ESX 2.x host, even if relocated to a VMFS 2 datastore.

When you upgrade virtual hardware, no downtime is required for vCenter Server or ESXi/ESX hosts. For virtual machines, the only significant downtime is the time to shut down and restart the guest operating systems.

Verify that all .vmdk files are available to the ESXi/ESX hosts on a VMFS 3, VMFS 5, or NFS datastore.

Verify that the virtual machines are stored on VMFS 3, VMFS 5 or NFS datastores.

Determine the version of the virtual hardware by selecting the virtual machine from the vSphere Client or vSphere Web Client and clicking the Summary tab. The VM Version label in the Compatibility field displays the virtual hardware version.

Upgrading virtual hardware on a single virtual machine

To upgrade the virtual hardware of a single virtual machine:

Note: In a vSphere 5.5 environment, you must use the vSphere Web Client to upgrade the virtual hardware to version 10. You cannot edit the settings of the virtual machine by connecting directly to an ESXi host or the vCenter Server through vSphere Client that is on Hardware version 10. If you connect directly to an ESXi host using the vSphere Client and attempt to edit virtual machine settings, you see the error:

You cannot use the vSphere client to edit the settings of virtual machines of version 10 or higher. Use the vSphere Web Client to edit the settings of this virtual machine.

Start the vSphere Client or vSphere Web Client and log in to the vCenter Server.

Power off the virtual machine.

Right-click the virtual machine and select the menu option to upgrade virtual hardware:

In the vSphere Client, the option is Upgrade Virtual Hardware.

In the vSphere Web Client, the option is Compatibility > Upgrade VM Compatibility.

The virtual hardware is upgraded to the latest supported version.

Note: The Upgrade Virtual Hardware or Upgrade VM Compatibility options only appear if the virtual hardware on the virtual machine is not the latest supported version.

Click Yes to continue with the virtual hardware upgrade.

Power on the virtual machine.

Note: If the virtual machine has a Microsoft Windows guest operating system, the operating system detects a new device, configures the device, and may prompt you to reboot the guest operating system. If any unknown devices are recognized, the operating system may prompt you to configure the device manually.

For Windows guest operating systems, reboot the guest operating system to make the changes take effect.

Upgrading virtual hardware on multiple virtual machines

You can upgrade virtual hardware on multiple virtual machines in a single operation using the Virtual Machines tab.

Note: In a vSphere 5.5 environment, you must use the vSphere Web Client to upgrade the virtual hardware to version 10. You cannot edit the settings of the virtual machine by connecting directly to an ESXi host or the vCenter Server through vSphere Client that is on Hardware version 10. If you connect directly to an ESXi host using the vSphere Client and attempt to edit virtual machine settings, you see the error:

You cannot use the vSphere client to edit the settings of virtual machines of version 10 or higher. Use the vSphere Web Client to edit the settings of this virtual machine.

To upgrade virtual hardware on multiple virtual machines:

Start the vSphere Client or vSphere Web Client and log in to the vCenter Server.

Select the host or cluster that contains the virtual machines to upgrade.

Click the Virtual Machines tab.

Select and power off the virtual machines to upgrade.

Right-click your selections.

Select Upgrade Virtual Hardware and click Yes.

Power on the virtual machines.

Note: For Microsoft Windows guest operating systems, the operating system detects a new device, configures the device, and may prompt you to reboot the guest operating system. If any unknown devices are recognized, the operating system may prompt you to configure the device manually.

For Windows guest operating systems, reboot the guest operating system to make the changes take effect.

Ensuring that your virtual machine is upgraded to latest hardware version

To ensure that your virtual machine is upgraded to latest hardware version:

Migrate the virtual machine from a host with an earlier ESXi/ESX version to a host with the latest ESXi/ESX version. For more information, see the Migrating Virtual Machines in the vSphere Web Client section in the vCenter Server and Host Management guide.

Note: Upgrading VMware Tools must be done before upgrading the virtual hardware.

Shut down the virtual machine and upgrade the virtual hardware.

Power on the virtual machine.

Note: In some instances, the operating system may require you to reboot the virtual machine after powering it on.

Ensure all the virtual machine network settings (such as IP, DHCP, and DNS) are correct.

Notes:

If you are using dynamic DNS, some Windows versions require to run the ipconfig /registerdns command.

If you are using DHCP, a new IP address may be assigned because the MAC address changes on the virtual NIC during the hardware upgrade. If you are using statically assigned DHCP addresses, ensure that you assign the new MAC IP address that you were using before the virtual hardware upgrade.

Additional Information

You can upgrade VMware Tools and the virtual hardware manually from within each virtual machine or you can use VMware vCenter Update Manager.

For more information on manually upgrading VMware Tools and virtual hardware, see:

Note: The virtual machine compatibility setting determines the virtual hardware available to the virtual machine, which corresponds to the physical hardware available on the host. You can review and compare the hardware available for different compatibility levels to help you determine whether to upgrade the virtual machines in your environment.