Deploying VMware vSphere with DRS for Resource Optimization
Distributed Resource Scheduler (DRS) is one of those vSphere features that quietly pays for itself. It watches CPU, memory and rule constraints across a cluster, then uses vMotion to place workloads where they perform best. For Australian IT teams running estates that straddle on-premises datacentre racks and public cloud, deploying VMware vSphere with DRS for resource optimization turns a group of standalone ESXi hosts into a shared pool that absorbs peak demand without buying additional hardware.
The alternative is painfully familiar. A cautious administrator leaves every virtual machine on the host where it was created, then discovers six months later that the oldest node runs hot while newer capacity sits idle. Recovery means a maintenance window full of manual migrations, a spreadsheet of host utilisation figures, and a business that keeps paying for idle silicon.
Local conditions sharpen the argument. Wholesale electricity price volatility tracked by AEMO makes wasted CPU cycles and over-provisioned hosts a genuine cost line for organisations still operating gear in Sydney and Melbourne colocation facilities. Branch offices and small businesses now rely on nbn fixed-line connectivity, making it practical to keep compute close to regional users while centralising management. Hybrid architectures built around the AWS Sydney and Melbourne regions mean virtual machines increasingly compete with cloud instances for the same application budget.
OAIC privacy obligations and assessments aligned with ASD security guidance add a second dimension, because consolidating workloads onto fewer hosts concentrates risk alongside performance gains. A sensible rollout therefore treats DRS as a staged engineering project rather than a checkbox: prepare the cluster correctly, encode the placement rules that reflect actual workload dependencies, choose an automation level that suits each group of hosts, and validate the outcome with real traffic once migration activity begins.
What DRS actually schedules
DRS runs a placement calculation on a recurring interval. For each eligible virtual machine the scheduler weighs CPU and memory demand, current host contention, datastore performance, and whether the candidate placement satisfies the rules you defined. When a better host exists, the scheduler either flags the move or performs it automatically through vMotion, which keeps the guest running while its memory and execution state transfer to the target host.
Sensitivity settings govern how hard the scheduler works to resolve contention. Push them too aggressively and DRS begins shuffling workloads during business hours; leave them too conservative and the cluster drifts back toward the same imbalance DRS was meant to remove. This is where a resource pool strategy helps, because DRS honours soft and hard reservations before it considers any other factor, so an over-promised pool will trap virtual machines exactly where the administrator least wants them.
Affinity, anti-affinity and inter-VM rules override the placement calculation outright. Rules built around replication pairs, backup windows or storage footprints should always outrank generic load-balancing preferences, and keeping them accurate is what stops the scheduler from creating a new class of problem while solving the old one.
Preparing hosts before enabling the scheduler
A DRS cluster needs vCenter Server, ESXi hosts joined to the same vCenter instance, and licensing that includes vMotion. Cluster creation is straightforward, but the preparation work happens underneath it: confirm every host appears on the hardware compatibility list, confirm datastore accessibility with correct multipathing, and confirm the VMkernel adapters and management networks are stable. Tagging hosts and virtual machines correctly during this phase pays dividends later, because those tags become the handles your affinity rules rely on.
Australian deployments carry a few wrinkles worth resolving early. Sites spanning AEST and ACST need disciplined NTP synchronisation, since clock drift breaks Kerberos tickets and makes vCenter Single Sign-On sessions fail in confusing ways. Where a fleet runs vSAN or vVol-backed storage, verify the storage policy is attached to the cluster rather than to individual machines, otherwise DRS can move a guest onto a host whose datastore cannot honour it.
Before touching scheduler settings, work through the IT Diversified configuration guides for vSphere networking and storage fundamentals. Getting the virtual switch, port groups and datastore visibility correct first removes a large share of the troubleshooting burden you would otherwise carry into the DRS tuning phase.
Encoding workload placement rules
The most useful rules describe dependencies that cannot be discovered from resource metrics. A SQL Server AlwaysOn pair should not land on the same host, a latency-sensitive application should avoid a host shared with a backup window, and a virtual machine tied to a licensed host must stay on that host. These are simple statements, yet they capture the reasoning a human administrator applies during every migration.
Australian workloads add concrete examples. The Australian Securities Exchange and major financial institutions operate latency-sensitive platforms where a poorly timed vMotion is an incident rather than a background task, so anti-affinity rules keep matching engines and session layers apart. Public sector estates subject to OAIC privacy requirements often need predictable placement for audit purposes, and agencies running in Canberra frequently balance on-premises infrastructure against AWS Sydney capacity for workload portability.
Keep the rule set small enough to maintain. Each additional rule narrows the scheduler's options, and a cluster suffocated by contradictory rules will simply stop rebalancing. Test changes during a quiet period, review the cluster compliance view afterwards, and prune any rule that has not fired in six months.
Comparing automation levels and rule types
Choosing how much autonomy DRS holds is the decision with the greatest operational impact. Manual mode gives complete control but leaves utilisation gaps in place indefinitely. Fully automated mode keeps the cluster balanced at all hours, yet it will move workloads during trading windows or month-end processing if the rules do not protect them. Most estates settle on a mixed approach, using fully automated clusters for general-purpose workloads and partial automation for sensitive groups.
The following comparison maps the common settings against their optimisation effect and the cost each one imposes on the operations team.
| Cluster setting | Scheduler behaviour | Optimisation outcome | Operational trade-off |
|---|---|---|---|
| Manual mode | Administrators initiate every vMotion | Complete control over placement | Utilisation gaps persist and labour is heavy |
| Partially automated | DRS recommends moves for approval | Contention surfaces early | Approval queues can delay rebalancing |
| Fully automated | Scheduler migrates guests to the best host | Continuous load balancing | Movement during peak hours without rules |
| VM-host anti-affinity | Keeps selected guests off a host | Protects replication and latency pairs | Narrows available placement options |
| VM-host affinity | Pins a guest to preferred hosts | Preserves licensing and specialisation | Can strand a guest on a busy host |
| Storage-aware placement | Reads datastore contention and host state | Shields I/O-heavy workloads | Requires compatible shared storage |
After each change, review the cluster compliance view and the recent task history, then check compute resource recommendations in vCenter. That feedback loop tells you whether the scheduler is finding genuine imbalances or fighting your rules, and it is far easier to adjust one rule than to troubleshoot a cluster that has migrated itself into a corner.
Validating placement and hardening the cluster
Once DRS is active, watch the first week closely. Unexpected vMotion bursts usually point to a single oversized virtual machine whose memory footprint no longer matches its reservation, or to a datastore that cannot sustain the workload it hosts. Schedule a recurring maintenance window and use host maintenance mode to drain one host at a time, then confirm the cluster rebalances onto the remaining capacity without service disruption.
Validate the service path, not just the platform. Confirm the load balancer VIP still forwards traffic after each migration cycle, and exercise the application with automated web application testing so a broken session or health check surfaces immediately rather than at the next business review. Pair that with infrastructure monitoring on CPU, memory, datastore latency and vMotion events, and alert on sustained imbalance as well as on failure.
Recommendations for keeping DRS healthy
- Audit host, virtual machine and datastore tags quarterly so affinity rules continue to match reality.
- Reserve capacity deliberately, because resource pool promises constrain placement more than any other setting.
- Exclude latency-sensitive workloads from fully automated clusters until anti-affinity rules prove reliable.
- Keep at least one host in a cluster free of critical workloads so capacity exists for unplanned migrations.
- Document every DRS rule alongside the business reason it exists, and remove rules that no longer apply.
- Track AEMO-driven power costs alongside utilisation metrics, since consolidation savings should show up on the energy bill.
- Re-test failover and migration procedures after every major storage or network change, not only after hardware refreshes.