6.5.1

Table Of Contents
Storage DRS Integration with Storage Profiles
Storage Policy Based Management (SPBM) allows you to specify the policy for a virtual machine which is
enforced by Storage DRS. A datastore cluster can have set of datastores with dierent capability proles. If
the virtual machines have storage proles associated with them, Storage DRS can enforce placement based
on underlying datastore capabilities.
As part of Storage DRS integration with storage proles, the Storage DRS cluster level advanced option
EnforceStorageProfiles is introduced. Advanced option EnforceStorageProfiles takes one of these integer
values: 0,1 or 2. The default value is 0. When the option is set to 0, it indicates that there is no storage prole
or policy enforcement on the Storage DRS cluster. When the option is set to 1, it indicates that there is a
storage prole or policy soft enforcement on the Storage DRS cluster. This is analogous with DRS soft rules.
Storage DRS will comply with storage prole or policy in the optimum level. Storage DRS will violate the
storage prole compliant if it is required to do so. Storage DRS anity rules will have higher precedence
over storage proles only when storage prole enforcement is set to 1. When the option is set to 2, it
indicates that there is a storage prole or policy hard enforcement on the Storage DRS cluster. This is
analogous with DRS hard rules. Storage DRS will not violate the storage prole or policy compliant. Storage
proles will have higher precedence over anity rules. Storage DRS will generate fault: could not fix
anti-affinity rule violation
Prerequisites
By default, Storage DRS will not enforce storage policies associated with a virtual machine. Please congure
EnforceStorageProfiles option according to your requirements. The options are Default (0), Soft (1) or Hard
(2).
Procedure
1 Log in to the vSphere Web client as an Administrator.
2 In the vSphere Web Client, click on the Storage DRS cluster, then select Manage >  > Storage
DRS.
3 Click Edit > Advanced Options >  parameters and select Add.
4 Click in the area under the Option heading and type EnforceStorageProfiles
5 Click in the area under the Value heading to the right of the previously entered advanced option name
and type the value of either 0, 1 or 2.
6 Click OK.
vSphere Resource Management
54 VMware, Inc.