VMware DRS: What It Is and How to Configure It Step by Step

vSphere Distributed Resource Scheduler (DRS) keeps VMs on the hosts that can run them best, moving them with vMotion as load changes. This guide explains how DRS works, what you need, and how to configure every DRS setting in vSphere 7 and 8.

Free Download
for VM, OS, DB, File, NAS, etc.
dan-zeng

Updated by Darlene Yan on 2026/11/19

Table of contents
  • What Is VMware DRS?

  • How Does vSphere DRS Work?

  • How to Enable and Configure vSphere DRS

  • How to Create DRS Affinity and Anti-Affinity Rules

  • How to Configure Distributed Power Management (DPM)

  • DRS Best Practices

  • Protect VMware Clusters with Vinchin Backup & Recovery

  • VMware DRS FAQs

  • Conclusion

In a vSphere cluster, some hosts end up busy while others sit idle. VMware vSphere Distributed Resource Scheduler (DRS) solves this by placing and moving virtual machines automatically, so each VM gets the CPU and memory it needs.

Quick answer: VMware DRS is a vSphere cluster feature that balances VMs across ESXi hosts using vMotion. To enable it, select the cluster in the vSphere Client, go to Configure > Services > vSphere DRS, click Edit, turn on vSphere DRS, and choose an automation level (Fully Automated is recommended) and a migration threshold (the default, level 3, suits most clusters). DRS requires vCenter Server, a vMotion network and a license that includes DRS, such as vSphere Enterprise Plus, VMware vSphere Foundation or VMware Cloud Foundation.

What Is VMware DRS?

vSphere DRS is a feature of vCenter Server that manages CPU and memory resources across the ESXi hosts in a cluster. It does two things:

  • Initial placement: when you power on a VM, DRS chooses the best host for it.

  • Load balancing: while VMs run, DRS migrates them with vMotion when another host can serve them better.

DRS also provides resource pools to divide cluster resources between groups of VMs, affinity rules to keep VMs together or apart, and Distributed Power Management (DPM) to power off unneeded hosts.

VMware DRS is different from vSphere HA: DRS optimizes performance while hosts are running, and HA restarts VMs after a host fails. For a full comparison, see the difference between HA and DRS in VMware vSphere.

How Does vSphere DRS Work?

Since vSphere 7, DRS is VM-centric. Every minute, it calculates a VM DRS Score (0–100%) for each VM, based on how well its CPU, memory and network needs are met on its current host. If a VM would be happier on another host, DRS recommends a vMotion, or performs it automatically, depending on the automation level.

The cluster summary shows a Cluster DRS Score and the distribution of VM scores, so you can see how well workloads are served.

Older versions (vSphere 6.x) balanced by host load every five minutes. If you still run vSphere 6.7, the settings below are similar, but the scoring model differs.

VMware DRS Requirements

RequirementDetails
vCenter ServerDRS is a cluster feature managed by vCenter
LicenseA license that includes DRS, such as vSphere Enterprise Plus, VMware vSphere Foundation (VVF) or VMware Cloud Foundation (VCF). vSphere Standard doesn’t include DRS
vMotionA vMotion VMkernel network configured on every host
StorageShared storage is recommended so DRS can move VMs quickly; vMotion without shared storage also works but is slower
CPU compatibilityCompatible CPUs on all hosts, or Enhanced vMotion Compatibility (EVC) enabled on the cluster
VMsNo settings that block vMotion, such as host-attached devices or passthrough

To set up the vMotion network, see how to configure vMotion.

How to Enable and Configure vSphere DRS

Step 1. Open the DRS settings

1. In the vSphere Client, go to Hosts and Clusters and select the cluster.

2. Click the Configure tab, then Services > vSphere DRS.

3. Click Edit and turn on vSphere DRS.

Step 2. Set the automation level (Automation tab)

Automation levelInitial placementLoad balancing
ManualDRS recommends a host; you chooseDRS recommends migrations; you apply them
Partially AutomatedAutomaticDRS recommends migrations; you apply them
Fully AutomatedAutomaticAutomatic

Fully Automated is recommended for most clusters; use the others while you evaluate DRS or for change-controlled environments.

Step 3. Choose the migration threshold

The threshold slider has five levels, from Conservative (1) to Aggressive (5). Level 1 only makes moves required by rules or maintenance mode; level 5 moves VMs for small improvements. The default, level 3, is right for most clusters.

Step 4. Optional automation settings

  • Predictive DRS: uses forecasts from VMware Aria Operations (formerly vRealize Operations) to move VMs before contention happens.

  • Virtual Machine Automation: allows individual VMs to use a different automation level from the cluster, set later in VM Overrides.

Step 5. Additional options

  • VM Distribution: spreads VMs more evenly across hosts, so a host failure affects fewer VMs.

  • CPU Over-Commitment: limits the ratio of vCPUs to physical cores per host.

  • Scalable Shares: makes resource pool shares scale with the number of VMs, so a high-priority pool with many VMs still gets its fair share.

Step 6. Save and review

Click OK. In Monitor > vSphere DRS, check the cluster and VM DRS scores and any recommendations.

Set VM Overrides

To change DRS behavior for specific VMs, for example to keep a licensed database VM on manual:

1. Select the cluster > Configure > Configuration > VM Overrides.

2. Click Add, select the VMs, and set DRS automation level (for example Manual or Disabled).

How to Create DRS Affinity and Anti-Affinity Rules

Rule typeUse it to
Keep Virtual Machines TogetherKeep VMs that talk to each other a lot on the same host
Separate Virtual MachinesKeep redundant VMs (domain controllers, cluster nodes) on different hosts
Virtual Machines to HostsRun a VM group on (or away from) a host group, as a “must” or “should” rule, for example for licensing
Virtual Machines to Virtual MachinesStart one VM group before another after an HA restart

Create VM and host groups (needed for “Virtual Machines to Hosts”):

1. Select the cluster > Configure > Configuration > VM/Host Groups > Add.

2. Enter a name, choose VM Group or Host Group, add members, and click OK.

Create a rule:

1. Select the cluster > Configure > Configuration > VM/Host Rules > Add.

2. Enter a name, choose the rule type, select the VMs or groups, and click OK.

Use “must” rules sparingly: DRS and HA won’t violate them, even if that means a VM can’t run.

How to Configure Distributed Power Management (DPM)

DPM moves VMs off lightly used hosts and puts those hosts in standby, then powers them on again when demand rises.

1. Make sure each host supports a wake method: IPMI, iLO or Wake-on-LAN. For IPMI/iLO, enter the credentials under the host’s Configure > System > Power Management.

2. In the cluster’s DRS settings, open the Power Management tab and turn on DPM.

3. Choose the DPM automation level: Off, Manual (recommendations only) or Automatic.

4. Set the DPM threshold from conservative to aggressive (level 3 by default).

Test that each host wakes up correctly before enabling Automatic mode.

Configure DRS with PowerCLI

Connect-VIServer vcenter.example.com

# Enable DRS in fully automated mode
Set-Cluster -Cluster "Prod-Cluster" -DrsEnabled $true -DrsAutomationLevel FullyAutomated -Confirm:$false

# Create a rule that keeps two domain controllers on different hosts
New-DrsRule -Cluster "Prod-Cluster" -Name "Separate-DCs" -KeepTogether $false -VM (Get-VM "DC01","DC02")

# List current DRS recommendations
Get-DrsRecommendation -Cluster "Prod-Cluster"

DRS Best Practices

  • Use Fully Automated with the default threshold, and use VM overrides for exceptions rather than lowering the whole cluster.

  • Use identical or EVC-compatible hosts so DRS can move any VM to any host.

  • Give vMotion a dedicated network with enough bandwidth (10 Gbps or more).

  • Keep “must” affinity rules to a minimum; prefer “should” rules.

  • Size VMs realistically; oversized VMs are harder to place.

  • Use resource pools for sharing resources between groups, not as folders.

Protect VMware Clusters with Vinchin Backup & Recovery

DRS keeps VMs running well, and HA restarts them after host failures, but neither protects against deleted data, corruption or ransomware. Vinchin Backup & Recovery adds agentless VMware backup for vSphere clusters, with CBT-based incremental backup, GFS retention, full, instant and file-level recovery, offsite copies and ransomware protection.

It supports 19+ virtualization platforms, as well as databases, NAS and physical servers, and can migrate VMs between VMware and other platforms.

1678935817887981.png Grab a free trial of the Enterprise version now to protect your key data.

VMware DRS FAQs

Q1: How often does DRS check for imbalance?

In vSphere 7 and later, DRS calculates VM DRS scores every minute. In vSphere 6.x, it ran load balancing every five minutes.

Q2: Does DRS require shared storage?

It’s strongly recommended. DRS uses vMotion, which can also move VMs without shared storage by copying their disks, but that is much slower and uses more network bandwidth.

Q3: What is the difference between DRS and Storage DRS?

DRS balances CPU and memory across hosts using vMotion. Storage DRS balances space and I/O across datastores in a datastore cluster using Storage vMotion.

Q4: Can I disable DRS for one VM?

Yes. Add a VM override under Configure > VM Overrides and set the DRS automation level to Disabled or Manual for that VM.

Q5: What happens to resource pools if I turn DRS off?

Turning off DRS deletes the cluster’s resource pools and affinity rules. Save a snapshot of the resource pool tree if prompted, so you can restore it later.

Q6: Do I need DRS if I have vSphere HA?

They do different jobs: HA restarts VMs after a host failure, and DRS balances load while hosts are running. Most clusters use both.

Conclusion

VMware DRS provides flexible resource distribution and load balancing for ESXi hosts in the vSphere cluster. VMware users are able to optimize resources like CPU and memory, save cost on energy, and even predict future failures resulting from resource contention.

Vinchin Backup & Recovery provides complete VM protection for VMware from backup, recovery, and anti-malware technologies. Use this solution for your VMware VMs in the cluster if you are looking for one.

Share on:

Categories: VM Tips