What Is DRS in VMware Vsphere
What Is DRS in VMware Vsphere
DRS Requirements
The requirements for DRS, along with the general requirements for a
vSphere cluster, include:
vSphere Enterprise or vSphere Enterprise Plus license
A CPU with Enhanced vMotion Compatibility for VM live migration with
vMotion
A dedicated vMotion network
A configured VMware vMotion is required to operate a DRS cluster,
unlike an HA cluster, where vMotion is required only if using Fault
Tolerance. Also, the vSphere license required for VMware DRS is higher
than the license for using vSphere High Availability.
Predictive DRS
The main concept of Predictive DRS is to collect information about VM
placement and then, based on the previously collected information,
predict when and where high resource usage will occur. Using this
information, Predictive DRS can move VMs between hosts for better
load balancing before an ESXi server is overloaded and VMs lack
resources. This feature can be useful when there are time-based
demand changes for VMs in a cluster. Predictive DRS is disabled by
default. VMware vRealize Operations Manager is required to use Power
DRS.
Distributed Power Manager
Distributed Power Manager (DPM) is a feature used to migrate VMs if
there are enough free resources in a cluster to shut down an ESXi host
(put a host into the standby mode) and run VMs on the remaining ESXi
hosts within the cluster (remaining hosts must provide enough
resources to run the needed VMs).
When more resources are needed in a cluster to run VMs, DPM initiates
a server that was shut down to wake up and operate in normal mode.
One of the supported power management protocols is used to power
on a host via the network. These protocols are Intelligent Platform
Management Interface (IPMI), Hewlett-Packard Integrated Lights-Out
(iLO), or Wake-On-LAN (WOL). Then DRS migrates some VMs to this
server to distribute workloads and balance a cluster. By default,
Distributed Power Management is disabled. DPM recommendations
can be applied automatically or manually.
Storage DRS
While DRS migrates VMs based on CPU and RAM computing resources,
Storage DRS migrates virtual machine files from one datastore to
another based on datastore usage, for example, free disk space. Affinity
and anti-affinity rules allow you to configure whether Storage DRS must
store a VM’s virtual disk files together on the same datastore. For
example, you can configure the anti-affinity rule to store the VMDK files
of a VM that performs I/O intensive operations on different datastores.
You do this to avoid performance degrading of the VM and initial VM
datastore (I/O disk workloads will be distributed across multiple
datastores when using the anti-affinity rule).
Storage DRS is useful when using VMs with thin provisioned disks in
case of overprovisioning. Storage DRS helps avoid situations when the
size of thin disks grows, and as a result, there is no free space on a
datastore. Lack of free space causes the VMs storing virtual disks on
that datastore to fail. Virtual machine disk files can be migrated from
one datastore to another with Storage vMotion while the VM is running.
The DRS cluster can have the automation level configured as Fully
Automated. In this case, all VMs are moved around to accommodate the
host's load, and no single host is overloaded.
You can configure the VM Override to Manual; in which case, the VM is
excluded from the cluster-wide configuration.
This is pretty handy in many scenarios where you do not want a particular
VM to be moved around by DRS; for example, a vCenter Server VM (or
VCSA).
There are four options in all:
Disabled – You will disable DRS automation completely for this VM.
Manual – You will receive notifications from your DRS for manual
vMotion tasks.
Partially Automated – This option provides an initial placement
automatically. However, migration recommendations are only
displayed; they do not run.
Fully Automated – This option provides default settings on a per-
cluster basis.
VM Overrides for vSphere DRS
On the same screen, you can set options for what happens with this VM
when there is an HA failover. A VM can have various restart priorities. You
can choose from the following options: Lowest, Low,
Medium, High, Highest, and Disabled.
In our case of a VMware vCenter server VM, you would want to use
the Highest option, since this VM must be restarted before anything else--
perhaps even before a domain controller VM, since the initialization of the
internal DB takes at least five minutes.
VM Overrides for vSphere HA