You can create a scheduled task to change Storage DRS settings for a datastore cluster so that migrations for fully automated datastore clusters are more likely to occur during off-peak hours.
You can create a scheduled task to change the automation level and aggressiveness level for a datastore cluster. For example, you might configure Storage DRS to run less aggressively during peak hours, when performance is a priority, to minimize the occurrence of storage migrations. During non-peak hours, Storage DRS can run in a more aggressive mode and be invoked more frequently.
Prerequisites
Enable Storage DRS.
Procedure
- Browse to the datastore cluster in the vSphere Client.
- Click the Configure tab and click Services.
- Under vSphere DRS click the Schedule DRS button.
- In the Edit Datastore Cluster dialog box, click SDRS Scheduling.
- Expand DRS Automation.
- Select an automation level.
- Set the Migration threshold.
Use the Migration slider to select the priority level of vCenter Server recommendations that adjust the cluster's load balance.
- Select whether to enable Virtual Machine Automation.
Override for individual virtual machines can be set from the VM Overrides page.
- Expand Power Managment.
- Select an automation level.
- Set the DPM threshold.
Use the DPM slider to select the power recommendations that vCenter Server will apply.
- Type a Task name.
- Type a description of the Task you have created.
- Under Configured Scheduler, click Change and select the time for the task to run and click OK.
- Type an email address to send a notification email to when the task is complete.
- Click OK.
Results
The scheduled task runs at the specified time.