This article describes how to change the vSphere DRS Automation Level and Migration Threshold by creating scheduled tasks. It outlines the steps to restrict DRS-initiated vMotion to off-peak hours using scheduled tasks, minimizing vMotion operations during peak business hours.
VMware vCenter Server
You can allow DRS to actively perform migrations during a specific time window by using the Schedule DRS feature to modify the Automation Level or Migration Threshold from the configuration screen:
This method switches DRS between Fully Automated (where it actively performs migrations) and Partially Automated (where it only provides recommendations) at your desired times.
This method keeps DRS in Fully Automated mode but adjusts the sensitivity of the threshold to concentrate migrations within your preferred window and minimize them outside of it.
Depending on the products integrated with your vSphere environment, disabling DRS or setting it to Manual may not be supported or allowed. Please note that the following are only a few examples, and other integrated software, solutions, or third-party products may also have similar strict DRS configuration requirements.
VMware Cloud Director:
To successfully power on virtual machines from VMware Cloud Director, the DRS Automation Level must be configured to either Fully Automated or Partially Automated.
vSphere Supervisor:
To deploy and utilize vSphere Supervisor, the DRS Automation Level must be set to Fully Automated.