Wednesday, October 16, 2013

VMware Storage Distributed Resource Scheduler (SDRS)

Storage DRS automatically places virtual machines and vmdks files on a datastore which has lower latency and most space available. SDRS uses svMotion to move the virtual machines. The virtual machines are automatically balanced by being vMotioned to a better datastore if they aren't receiving the latency they need. SDRS enables you to aggregate datastores to a single object called a datastore cluster. SDRS enables smart placement of virtual machines based on space availability and latency. In other words when you create a new virtual machine/ when a clone is created/ when virtual machine is relocated you will select a datastore cluster instead of particular datastore and SDRS will place the virtual machine on correct datastore in the datastore cluster.
Another thing that SDRS does is the load balancing. SDRS algorithm is triggered based on (a) High latency and (b) Low space. The default threshold to trigger SDRS is the 80% space utilization. Another metric is I/O latency. If I/O latency gets above default threshold of 15ms than the SDRS algorithm can be triggered. I/O latency is evaluated every 8 hour based on last 24 hour trend.
Storage DRS also helps in datastore maintenance. Consider a datastore that is needed to be shutdown for maintenance maybe the SAN lun is degraded and you want to replace one of the disk in the lun. Simply put the datastore in the maintenance mode and all the virtual machines and vmdks files on that particular datastore will be evacuated automatically using svMotion.
Storage DRS VMDK affinity and anti-affinity rules are also available. VMDK affinity rule keeps virtual machine's vmdks together on the same datastore while VMDK anti-affinity rule keeps virtual machine's vmdks on different datastore.

Storage DRS requirements:
1- Minimum of vSphere Enterprise plus license.
2- Storage vMotion must be enabled.
3- Shared storage must be present on all hosts.

Storage DRS configuration:
I have already presented two datastore from the SAN. Backup and Storage namely.

1- Now go to home tab and select Datastore and Datastore clusters.

2-  Right click datacenter and select new datastore cluster.

3- Enter a suitable name and select next.

4- Select next.

5- Select next with the default settings.

6- Select the cluster and select next.

7- Select the datastores and select next.

8- Select finish.

9- The storage DRS cluster has been configured.

Conclusion:
The storage DRS has been sucessfully configured. Now SDRS will move the virtual machine when the datastore is experiencing high latency or low space.  


No comments:

Post a Comment