In desktop client (aka VI client) we do not have option to schedule DRS, also scheduling DPM in desktop client we have only option i.e. ON or OFF DPM through “Change cluster power settings” scheduled task. Recently I was exploring DRS & DPM scheduled task web client workflows & I should say DRS/DPM scheduled task web client workflow has been enhanced greatly. Now we can schedule a task for both DRS & DPM not only just to set ON or OFF but also to configure its automation level & threshold. This is going to simplify admin efforts in maintaining DRS & DPM. Is not it great? As everybody probably knows basics of DRS & DPM so I am not going to explain how DRS & DPM works. This post is about how to configure DRS/DPM scheduled tasks by using web client, as DPM is part of DRS, we can configure both DRS & DPM scheduled task in single window pane. Here is where you can get DRS schedule configuration tab.
Once you click on Schedule DRS tab, we will get the UI page where we can configure DRS & DPM.
DRS configuration:You can set Automation level, migration threshold & VM automation level as per requirement as below
DPM configuration: In off hours now you can keep DPM in fully automated mode & make DPM threshold aggressive, these settings will lead DPM to put as many as hosts into standby mode & will generate power ON host recommendation only when it is absolutely required. Once the configuration is over as per the requirement, next important setting is to set time at which schedule needs to be executed to take configuration in effect. It is better if you choose schedule to execute on daily basis in off hours as shown in below UI, this will avoid schedule management efforts.You could see in above UI, you have various options to set the timings for schedule to be executed.
Note: Please note that you need to schedule one more scheduled tasks in order to change DRS/DPM settings before peak hours starts.
Here is one more useful blog post by “Frank” on DPM schedule tasks using desktop client.
Vikas Shitole is a Staff engineer 2 at VMware (by Broadcom) India R&D. He currently contributes to core VMware products such as vSphere, VMware Private AI foundation and partly VCF . He is an AI and Kubernetes enthusiast. He is passionate about helping VMware customers & enjoys exploring automation opportunities around core VMware technologies. He has been a vExpert since last 11 years (2014-24) in row for his significant contributions to the VMware communities. He is author of 2 VMware flings & holds multiple technology certifications. He is one of the lead contributors to VMware API Sample Exchange with more than 35000+ downloads for his API scripts. He has been speaker at International conferences such as VMworld Europe, USA, Singapore & was designated VMworld 2018 blogger as well. He was the lead technical reviewer of the two books “vSphere design” and “VMware virtual SAN essentials” by packt publishing.
In addition, he is passionate cricketer, enjoys bicycle riding, learning about fitness/nutrition and one day aspire to be an Ironman 70.3