You can check the compliance of each host in a cluster only against the desired configuration set for the entire cluster. If a host is out of compliance with the desired configuration, you can see detailed information about the settings that make the host non-compliant.

The Check Cluster Configuration Compliance task runs automatically when you add a host to the cluster. You can manually run a compliance check only on the current desired configuration of the cluster.

Starting with vSphere 8.0 Update 1, you can enable vSphere Configuration Profiles on a cluster that contains hosts connected to a vSphere Distributed Switch. If you add a host connected to a vSphere Standard Switch to a cluster that contains hosts connected to a vSphere Distributed Switch, vSphere Configuration Profiles shows the added host as non-compliant. You must use the vSphere Distributed Switch workflows to remediate the host and make the host compliant with the desired cluster configuration. For more information about how to add a host to a vSphere Distributed Switch, see the vSphere Networking documentation.

Note: In vSphere 8.0 Update 3, vSphere Configuration Profiles can manage the vSphere Distributed Switch configuration of the hosts in a cluster managed with a desired configuration. You can also use the workflows for managing and configuring the vSphere Distributed Switches described in the vSphere Networking documentation.

Prerequisites

  • Verify that vCenter Server and ESXi are of version 8.0 Update 1 or later for using vSphere Configuration Profiles on a cluster that you manage with a single image.
  • Verify that vCenter Server and ESXi are of version 8.0 Update 3 or later for using vSphere Configuration Profiles on a cluster that you manage with baselines.
  • Verify that you have the required license.
  • Verify that you have the required privileges for checking compliance. See Required Privileges for Using vSphere Configuration Profiles.

Procedure

  1. In the vSphere Client, navigate to a cluster that you manage with a single image or to a cluster that you manage with baselines.
  2. On the Configure tab, click Desired State > Configuration.
  3. On the Compliance tab, click Check compliance.
    The Check Cluster Configuration Compliance task starts. After the task finishes, a list of all non-compliant hosts shows on the Compliance tab.
  4. View the compliance results for each non-compliant host in the cluster.
    1. On the Compliance tab, select a host from the Hosts list.
      An information panel appears on the right. You see the host settings and the respective desired and current values that cause the noncompliance.

What to do next

Remediate the cluster to make all non-compliant hosts compliant.