VMware vSphere

 View Only
  • 1.  DRS recommendations

    Posted Jun 12, 2025 01:20 PM

    Hello,

    I have an environment with 15 ESXI hypervisors. The environment is set to partial automation. I have implemented  affinity / anti-affinity rules and I use the command :

    get-DrsRecommendation

    which contains recommendation on where virtual machines should be hosted.

    However, even though I follow the set of recommendations, every time I migrate a VM, DRS makes another recommendation.

    I have tried:

    1. moving all the VMs to recommended hypervisors
    2. Just moving one VM to the recommended hypervisor

    However, a new recommendation is always generated, with the majority of time for VMs that were migrated based on previous recommendations

    It seems that there are continuous soft affinity rule violations.

    Does anyone know how I can implement the recommended changes from DRS and not have new recommendations pop up? This seems never ending

    Thanks in advance!

    Mark



  • 2.  RE: DRS recommendations

    Posted Jun 13, 2025 05:45 AM

    Hi Mark,

    What version of vSphere is your environment running?




  • 3.  RE: DRS recommendations

    Posted Jun 13, 2025 08:57 AM

    Hi Alexandru,

    We have vSphere 7.0.3 build 22837322.

    Thanks!

    Mark




  • 4.  RE: DRS recommendations

    Broadcom Employee
    Posted Jun 13, 2025 05:52 AM

    Do you have a large numbers of DRS rules? As it could be that conflicting rules are creating this trickling effect. 




  • 5.  RE: DRS recommendations

    Posted Jun 13, 2025 09:00 AM

    Hi Duncan,

    I do have a large number of DRS rules, but they are not overly complicated. The rules basically divide the VMs amongst the available hypervisors; 

    I have divided the hypervisors into two groups. Half of the VMs are allocated to group 1 and the other half to group 2. 

    I then have rules where certain VMs cannot be hosted on the same hypervisor, but there are more than enough hypervisors to support this scenario.

    Thanks!

    Mark