vCenter is built, now we can start doing some of the cooler things VMware vSphere has to offer; up first - Dynamic Resource Scheduler. DRS can be run in either manual, partially automated or fully automated mode. Partially automated will make initial placements of new virtual machines and virtual machines during power on operations and suggest how to rebalance the cluster. Fully automated, well its fully automated. It will balance cluster resources based on how aggressive you want it to be. For a deeper dive into DRS, check out the Clustering Deep Dive book, basically the bible for all things HA and DRS.
To enable DRS, log into the vSphere web client and perform the following steps:
- Click on vCenter >> Hosts and Clusters
- Right click the cluster you created, in my case CL01 and select Settings
- Click on vSphere DRS and click the Edit button
- Click the Turn ON vSphere DRS checkbox
- Give I have only two hosts, I have left DRS Automation to "Partially Automated" - in a real use case, there is little reason not to set it to "Fully Automated" - of course you need to understand your environment and its impact before making that decision
- If you Click on DRS Automation you can see advanced features and further explanation on the various settings.
- When finished, click OK. The cluster will be reconfigured.
So enabling DRS - not to hard; understanding all of the settings and how it impacts your environment - well that is typically the harder part. As for our home lab setup, we are ready to setup vMotion - a requirement for DRS to be fully automated!