VMware Cloud Community
jjhays
Contributor
Contributor

vSphere 5.5U3 - Cannot enable DRS affinity Rule

I have created a vApp with 16 VMs in a vSphere 5.5 enabled cluster.  In each vApp, a two VMs (total of 8 pairs) that  need to reside on the same host as they are connection to an Internal Only virtual portgroup on a VDS switch.  I have created the DRS rules for each pair via Powercli.  The VMs are added correctly, however only one rule is enabled.  The other 7 rules show disabled in the GUI and with the Get-DRS rule PowerCLI command.  I have attempted to enable the rules (check the box) in the GUI and through the PowerCLI without success.  No errors show up in the logs or when I run the PowerCLI Set-DRS rule.  Recent Tasks show the  Reconfigure cluster task completed, but the rules are not enabled.

How do I get the DRS rules enabled.

Thanks

John

0 Kudos
2 Replies
Alim786
Expert
Expert

How many ESXi Hosts are in the cluster ?

Is it also configured for HA ?

Are there any Host or Cluster errors/issues ?

Can you provide a screenshot of cluster config ?

VCP6-DCV, VCP5, CCNA, MCTS 2008R2, MCSA 2008R2, CCA, ITIL. Please mark answer helpful or correct as appropriate.
0 Kudos
Alim786
Expert
Expert

Also are there any Anti-Affinity rules ?

VCP6-DCV, VCP5, CCNA, MCTS 2008R2, MCSA 2008R2, CCA, ITIL. Please mark answer helpful or correct as appropriate.
0 Kudos