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.
About this task
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.
Enable Storage DRS.
- Browse to the datastore cluster in the vSphere Web Client navigator.
- Click the Manage tab and click Settings.
- Under Storage DRS click the Schedule Storage DRS button.
- In the Edit Datastore Cluster dialog box, click Storage DRS Settings.
- Expand Storage DRS Automation.
- Select cluster Automation Level.
- Set the Utilized Space Threshold.
Use the Utilized Space Threshold slider to select the threshold.
- Expand I/O metrics.
- Select whether to enable I/O metric for SDRS recommendations.
- Set the I/O latency threshold.
Use the I/O latency threshold slider to select the threshold.
- Expand Advanced options.
- Use the drop-down menu to set the Check imbalances interval.
- Set the I/O imbalance threshold.
Use the I/O imbalance threshold slider to select the amount of imbalance that Storage DRS should tolerate.
- Use the slider to adjust the Minimum space utilization difference.
- Configure Scheduling options.
- 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. You can add multiple email addresses separated by commas.
- Click OK.
Under Manage, select the Scheduled Tasks tab to view scheduled tasks. The scheduled task runs at the specified time.
You can change the Storage DRS configuration back to the original configuration that was present in peak hours by creating another scheduled task with the appropriate timings.