Storage DRS integration with storage profiles
search cancel

Storage DRS integration with storage profiles

book

Article ID: 335981

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

This article provides information on how to configure Storage DRS to work with storage profile enforcement.

In vCenter Server 6.0.0b and above, Storage DRS can be configured to have storage profile enforcement. SDRS Storage Profile Enforcement only works during the initial placement of the VMs, not after when a VM becomes non compliant with a datastore after a period of time.

Environment

VMware vCenter Server 6.0.x
VMware vCenter Server 7.0.x
VMware vCenter Server 8.0.x

Resolution

As part of this SDRS integration with storage profile, one SDRS cluster level advanced option is introduced, EnforceStorageProfiles. Advanced option EnforceStorageProfiles takes one of these integer values, 0,1 or 2 where the default value is 0.

When option is set to 0, it indicates that there is NO storage profile or policy enforcement on the SDRS cluster.

When option is set to 1, it indicates that there is storage profile or policy SOFT enforcement on the SDRS cluster. It is analogous with DRS soft rules. SDRS will comply with storage profile/policy in the optimum level. However if required, SDRS will violate the storage profile compliant.

When option is set to 2, it indicates that there is storage profile or policy HARD enforcement on the SDRS cluster. It is analogous with DRS hard rules. In any case, SDRS will not violate the storage profile or policy compliant.

Notes:

  • Please configure EnforceStorageProfiles option as per your requirement. The options are Default (0), Soft (1) or Hard (2).
  • vCloud Director (vCD) backed by SDRS cluster does NOT support Soft (1) or Hard (2) storage profile enforcements. vCloud Director (vCD) will work well with Default (0) option


To adjust this setting from vSphere Web Client

  1. Log in to the vSphere Web client as an Administrator.
  2. In the vSphere Web Client, click on the SDRS cluster, then click Manage > Settings > Storage DRS
  3. Click Edit >Advanced options >Configuration parameters >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 either 0, 1 or 2.
  6. Click OK.


To adjust this setting from vSphere Client (VI client)

  1. Log in to the vSphere Client as an Administrator.
  2. In the vSphere Client, right-click the SDRS cluster, then click Edit Settings > SDRS Automation
  3. Click Advanced Options.
  4. Click in the area under the Options 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 either 0, 1 or 2.
  6. Click OK.
  7. Click OK.

Additional Information