Configure EVC to ensure that virtual machine migrations between hosts in the cluster do not fail because of CPU feature incompatibilities.
Several EVC approaches are available to ensure CPU compatibility:
- If all the hosts in a cluster are compatible with a newer EVC CPU or Graphics (vSGA) mode, you can change the EVC CPU or Graphics (vSGA) mode of an existing EVC cluster.
- You can enable EVC for a cluster that does not have EVC enabled.
- You can raise the EVC mode to expose more CPU features.
- You can lower the EVC mode to hide CPU features and increase compatibility.
Prerequisites
- Verify that all hosts in the cluster have supported CPUs for the EVC mode you want to enable. See Knowledge Base article KB 1003212 for a list of supported CPUs.
- Verify that all hosts in the cluster are connected and registered on vCenter Server. The cluster cannot contain a disconnected host.
- Virtual machines must be in the following power states, depending on whether you raise or lower the EVC mode.
EVC Mode Virtual Machine Power Action Raise the EVC mode to a CPU baseline with more features. Running virtual machines can remain powered on. New EVC mode features are not available to the virtual machines until they are powered off and powered back on again. A full power cycling is required. Rebooting the guest operating system or suspending and resuming the virtual machine is not sufficient. Tip: You can configure a virtual machine to power cycle when its guest OS is rebooted, by setting the vmx.reboot.powerCycle VM parameter to TRUE. When the virtual machine is powered back on, this configuration parameter is removed. To edit the virtual machine configuration settings, you can use the VMware Host Client. See Edit the Configuration File Parameters in the VMware Host Client topic in the vSphere Single Host Management - VMware Host Client guide. See the VMware vSphere Blog post for information about how to set this parameter to a group of virtual machines using VMware PowerCLI.Lower the EVC mode to a CPU baseline with fewer features. Power off virtual machines if they are powered on and running at a higher EVC mode than the one you intend to enable. Note: When you take a snapshot of a virtual machine in an EVC cluster, keep in mind the following use cases:- If you take a snapshot of a running virtual machine before an EVC downgrade, an attempt to revert to that snapshot after the EVC downgrade fails and the virtual machine is left in a suspended state.
- If you take a snapshot of a virtual machine before an EVC upgrade, you can revert to that snapshot before or after the EVC upgrade.
To verify the EVC mode for virtual machines, see Determine the EVC Mode of a Virtual Machine.