2V0-621 · Question #150
An administrator attempts to place a Storage DRS enabled Datastore into Maintenance Mode. The task never completes, and the Entering Maintenance Mode status remains at 1%. Which two actions should…
The correct answer is A. Set the Storage DRS advanced option IgnoreAffinityRulesForMaintenance = 1. C. Disable Storage DRS affinity rules associated with this datastore cluster. Storage DRS affinity rules can block the VMDK migrations required to drain a datastore, causing maintenance mode to stall at 1%. The solution is to override or remove the blocking affinity rules.
Question
An administrator attempts to place a Storage DRS enabled Datastore into Maintenance Mode. The task never completes, and the Entering Maintenance Mode status remains at 1%. Which two actions should the administrator take to resolve this problem? (Choose two.)
Options
- ASet the Storage DRS advanced option IgnoreAffinityRulesForMaintenance = 1.
- BSet the Storage DRS advanced option IgnoreAffinityRulesForMaintenance = 0.
- CDisable Storage DRS affinity rules associated with this datastore cluster.
- DEnable Storage DRS affinity rules associated with this datastore cluster.
How the community answered
(19 responses)- A47% (9)
- B37% (7)
- D16% (3)
Why each option
Storage DRS affinity rules can block the VMDK migrations required to drain a datastore, causing maintenance mode to stall at 1%. The solution is to override or remove the blocking affinity rules.
Setting the advanced option IgnoreAffinityRulesForMaintenance = 1 instructs Storage DRS to bypass VM-VM and VM-datastore affinity rules specifically during maintenance mode operations, unblocking the VMDK migrations that are preventing the task from progressing. This is the VMware-recommended method for handling affinity rule conflicts without permanently disabling rules.
Setting IgnoreAffinityRulesForMaintenance = 0 is the default value that enforces affinity rules, which is the exact behavior causing the stall - this change would have no effect on the problem.
Disabling the Storage DRS affinity rules associated with the datastore cluster removes the constraint that is preventing VMDK relocations, allowing Storage DRS to freely migrate workloads off the datastore and complete the maintenance mode transition.
Enabling additional affinity rules increases migration restrictions, making it harder for Storage DRS to evacuate VMDKs from the datastore and worsening the stall.
Concept tested: Storage DRS maintenance mode affinity rule conflict resolution
Source: https://docs.vmware.com/en/VMware-vSphere/7.0/com.vmware.vsphere.resmgmt.doc/GUID-52AEC4E1-96B9-4873-AAB5-3FB869D4FE1B.html
Topics
Community Discussion
No community discussion yet for this question.