Configuring the Enhanced vMotion Compatibility mode

The EVC mode is a feature that enables us to maximize the vMotion compatibility of hosts in a cluster. We can check the EVC mode at a cluster level and on a per-host basis. We can check the EVC mode on a cluster using the EVCMode property of a cluster.

For example, we can check the EVC mode for the cluster that we just created, using the following cmdlet:

PS C:\> Get-Cluster -Name "Lab Cluster" | Select -Property Name,EVCMode

Name        EVCMode
----        -------
Lab Cluster        

As seen in the preceding example, no EVC mode has been set on this cluster.

Next, let's check the maximum supported EVC mode on the ESXi hosts. To do this, we can check the MaxEVCMode property of the host:

PS C:\> Get-VMHost -Name Esxi1.lab.com ...

Get Mastering PowerCLI now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.