When you associate a policy with virtual machine objects, and select the datastores on which virtual machines and virtual disks run, you can check whether virtual machines and virtual disks use datastores that are compliant with the policy.
If you check the compliance of a virtual machine whose host or cluster has storage policies disabled, the result of the check is Not Compliant because the feature is disabled.
To perform a compliance check for a storage policy, associate the policy with at least one virtual machine or virtual disk.
- From the vSphere Web Client Home, click .
- Double-click a storage policy.
- Click the Monitor tab, and click VMs and Virtual Disks.
- Click Trigger VM Storage Policy Compliance Check.
The Compliance Status column shows the storage compliancy status for virtual machines and their policies.
The datastore that the virtual machine or virtual disk uses has the storage capabilities that are required by the policy.
The datastore supports specified storage requirements, but cannot currently satisfy the virtual machine storage policy. For example, the status might become Not Compliant when physical resources that back up the datastore are unavailable or exhausted. You can bring the datastore into compliance by making changes in the physical configuration, for example, by adding hosts or disks to the cluster. If additional resources satisfy the virtual machine storage policy, the status changes to Compliant.
Out of Date
The status indicates that the policy has been edited, but the new requirements have not been communicated to the datastore where the virtual machine objects reside. To communicate the changes, reapply the policy to the objects that are out of date.
This storage policy references datastore capabilities that are not supported by the datastore where virtual machine resides.
What to do next
When you cannot bring the non-compliant datastore into compliance, migrate the files or virtual disks to a compatible datastore. See Find a Compatible Storage Resource for a Noncompliant Virtual Machine.
If the status is Out of Date, reapply the policy to the objects. See Reapply Virtual Machine Storage Policy.