Virtual Machine Automation Level in a DRS Cluster

By | 22/11/2017

By default when you enable DRS on a cluster, the automation level selected at cluster level is applicable on all VM’s that resides in that cluster. But if you wish then you can configure the automation level per VM to satisfy your environment requirements.

Remember: The more individual changes you make, the more management overhead you add, as well as potentially reducing the effectiveness of DRS.

There 3 automation levels which we have with DRS is:

  • Manual: vCenter will only recommend moving resources.
  • Partially Automated : When a VM is created or powered on, vCenter will automatically place the VM on to a best host so as to maintain clutser balance. Once the VM is powered on, vCenter will present migration recommendation to vSphere administrator to approve when a cluster imbalance occurs.
  • Fully Automated: In this mode, vCenter take full control of initial placement and VM migrations and do not provide any recommendation to administrator to approve. 

To configure automation level for individual VM’s, login to Web Client and edit cluster properties and ensure that “Enable Individual virtual machine automation levels” is check marked. It is enabled by default btw. 

vm-automation-1.PNG

Now select VM Overrides and click on Add button. 

vm-automation-2.PNG

Click on green + button to add those VM’s on which you want to set custom automation level. 

vm-automation-3

Add the VM’s from the list. 

vm-automation-4

Now to change DRS automation level, click on Automation level and select one from the list. Here I am selecting Partially automated (my clutser settings is ‘fully automated’)

If a virtual machine automation level is set to Disabled, vCenter Server does not migrate that virtual machine or provide migration recommendations for it. This is known as pinning the virtual machine to its registered host.

vm-automation-5

Hit OK and now you will have a list of VM’s on which you have set a custom automation level. 

vm-automation-7.PNG

I hope you find this post informational. Feel free to share this on social media if it is worth sharing. Be sociable 🙂

 

Category: VMware

About Alex Hunt

Hi All I am Manish Jha. I am currently working in OVH US as Operations Support Engineer (vCloud Air Operations). I have around 7 Years of IT experience and have exposure on VMware vSphere, vCloud Director,vSphere Replication, vRealize Automation, NSX and RHEL. If you find any post informational to you please press like and share it across social media and leave your comments if you want to discuss further on any post. Disclaimer: All the information on this website is published in good faith and for general information purpose only. I don’t make any warranties about the completeness, reliability and accuracy of this information. Any action you take upon the information you find on this blog is strictly at your own risk. The Views and opinions published on this blog are my own and not the opinions of my employer or any of the vendors of the product discussed.