To ensure that affinity and anti-affinity rules are strictly applied, set an advanced option for vSphere DRS. Setting the advanced option ForceAffinePoweron to 1 will enable strict enforcement of the affinity and anti-affinity rules that you created.


  1. Browse to the cluster in the vSphere Client.
  2. Click Configure.
  3. Under Services, select vSphere DRS and click Edit.
  4. Expand Advanced Options and click Add.
  5. In the Option column, type ForceAffinePoweron.
  6. In the Value column, type 1.
  7. Click OK.