Schedule DRS & DPM in Off-Hours by using vSphere Web Client

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.

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

DRS configuration

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.  DPM_ConfigurationOnce 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.Schedule settingsYou 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.

Leave a Reply

Your email address will not be published.