Storage DRS affinity or anti-affinity rules might prevent a datastore from entering maintenance mode. You can ignore these rules when you put a datastore in maintenance mode.

When you activate the Ignore Affinity Rules for Maintenance option for a datastore cluster, vCenter Server ignores Storage DRS affinity and anti-affinity rules that prevent a datastore from entering maintenance mode.

Storage DRS rules are ignored only for evacuation recommendations. vCenter Server does not violate the rules when making space and load balancing recommendations or initial placement recommendations.

Procedure

  1. Browse to the datastore cluster in the vSphere Client.
  2. Click the Configure tab and click Services.
  3. Select DRS and click Edit.
  4. Expand Advanced Options and click Add.
  5. In the Option column, type IgnoreAffinityRulesForMaintenance.
  6. In the Value column, type 1 to activate the option.
    Type 0 to deactivate the option.
  7. Click OK.

Results

The Ignore Affinity Rules for Maintenance Mode option is applied to the datastore cluster.