ESX Virtualization

VMware ESXi, vSphere, VMware Backup, Hyper-V... how-to, videos....

Nakivo Backup and Replication - #1 Backup solution for Virtual, physical, cloud, NAS and SaaS

Menu
  • Certification
      • VCP-DCV vSphere 8
          • vcp2024-125.
        • Close
    • Close
  • VMware
    • Configuration Maximums
    • vSphere
      • vSphere 8.0
      • vSphere 7.0
      • vSphere 6.7
      • vSphere 6.5
      • vSphere 6.0
      • Close
    • VMworld
      • VMware EXPLORE 2024
      • VMware EXPLORE 2023
      • VMware EXPLORE 2022
      • VMworld 2019
      • VMworld 2018
      • VMworld 2017
      • VMworld 2016
      • VMworld 2015
      • VMworld 2014
      • VMworld 2013
      • VMworld 2012
      • VMworld 2011
      • Close
    • Close
  • Microsoft
    • Windows Server 2012
    • Windows Server 2016
    • Windows Server 2019
    • Close
  • Categories
    • Tips – VMware, Microsoft and General IT tips and definitions, What is this?, How this works?
    • Server Virtualization – VMware ESXi, ESXi Free Hypervizor, VMware vSphere Server Virtualization, VMware Cloud and Datacenter Virtualization
    • Backup – Virtualization Backup Solutions, VMware vSphere Backup and ESXi backup solutions.
    • Desktop Virtualization – Desktop Virtualization, VMware Workstation, VMware Fusion, VMware Horizon View, tips and tutorials
    • How To – ESXi Tutorials, IT and virtualization tutorials, VMware ESXi 4.x, ESXi 5.x and VMware vSphere. VMware Workstation and other IT tutorials.
    • Free – Free virtualization utilities, ESXi Free, Monitoring and free backup utilities for ESXi and Hyper-V. Free IT tools.
    • Videos – VMware Virtualization Videos, VMware ESXi Videos, ESXi 4.x, ESXi 5.x tips and videos.
    • Home Lab
    • Reviews – Virtualization Software and reviews, Disaster and backup recovery software reviews. Virtual infrastructure monitoring software review.
    • Close
  • Partners
    • NAKIVO
    • StarWind
    • Zerto
    • Xorux
    • Close
  • This Web
    • News
    • ESXi Lab
    • About
    • Advertise
    • Archives
    • Disclaimer
    • PDFs and Books
    • Close
  • Free
  • Privacy policy

VCP6.5-DCV Objective 5.2 – Configure vSphere DRS and Storage DRS Cluster

By Vladan SEGET | Last Updated: March 7, 2018

Shares

We're close to the end, but few more chapters are left to finish. Our study guide page continues to fill up: VCP6.5-DCV Study guide. Today's topic: VCP6.5-DCV Objective 5.2 – Configure vSphere DRS and Storage DRS Cluster. Certainly a nice one today.

The latest certification exam  VCP6.5-DCV has The exam has 70 Questions (single and multiple choices), passing score 300, and you have 105 min to complete the test.

You can still take the older one,  VCP6-DCV which seems less demanding. It has 4 chapters less.  We wish everyone good luck with the exam.

Check our VCP6.5-DCV Study Guide Page. We're not perfect, but take this as an additional resource to learn from. You can combine the traditional study PDFs, Books, Pluralsight training with our guide.

You can download your free copy via this link – Download Free VCP6.5-DCV Study Guide at Nakivo.

VCP6.5-DCV Study guide PDF

VCP6.5-DCV Objective 5.2 – Configure vSphere DRS and Storage DRS Cluster

  • Add/remove Host DRS Group
  • Add/remove virtual machine DRS Group
  • Manage DRS affinity/anti-affinity rules
  • Configure the proper DRS automation level based on a set of business requirements
  • Explain how DRS affinity rules effect virtual machine placement
  • Understand Network DRS
  • Differentiate load balancing policies
  • Describe Predictive DRS

Add/remove Host DRS Group

In order to Create a Host DRS group you'll need to:

vSphere Client > Select Hosts And Clusters > Configure > Select VM/Host Groups and click Add.

In the Create VM/Host Group dialog box, type a name for the group > Select Host Group from the Type drop-down box and click Add > Click the checkbox next to a host to add it. Continue this process until all desired hosts have been added > Click OK.

VCP6.5-DCV configure vSphere DRS

Add/remove virtual machine DRS Group

Let's create a VM DRS Group:

vSphere Client > Select Hosts And Clusters > Configure > select VM/Host Groups and click Add.

In the Create VM/Host Group dialog box, type a name for the group > Select VM Group from the Type drop-down box and click Add > Click the checkbox next to a virtual machine to add it > Click OK.

VCP6.5-DCV DRS Create VM group

Manage DRS affinity/anti-affinity rules

vSphere Client > Select Hosts And Clusters > Configure > VM/Host Rule > Add. > Type a name for the rule > From the Type drop-down menu, select either Keep Virtual Machines Together or Separate Virtual Machines. > Add > Select at least two VMs to which the rule will apply and click OK.

Configure the proper DRS automation level based on a set of business requirements

Automation levels are described as follows.

  • Manual – Placement and migration recommendations are displayed but do not run until you manually apply the recommendation.
  • Fully Automated – Placement and migration recommendations run automatically.
  • Partially Automated – Initial placement is performed automatically. Migration recommendations are displayed but do not run.
  • Disabled

TIP: When DRS is disabled, the cluster’s resource pool hierarchy and affinity rules are not reestablished when DRS is turned back on. So if you disable DRS, the resource pools are removed from the cluster.

To avoid losing the resource pools, instead of disabling DRS, you should suspend it by changing the DRS automation level to manual (and disabling any virtual machine overrides). This prevents automatic DRS actions but preserves the resource pool hierarchy.

There you can check the drop-down menu and try to check the:

DRS Automation Levels

vCenter Server does not migrate the virtual machine or provide migration recommendations for it.

To change the automation level on a per VM basis

vSphere Client > Select Hosts And Clusters > Configure > Services > Under Services, select vSphere DRS and click Edit. Expand DRS Automation.

  • Select the Enable individual virtual machine automation levels check box.
  • To temporarily disable any individual virtual machine overrides, deselect the Enable individual virtual machine automation levels check box.

Virtual machine settings are restored when the checkbox is selected again.

  • To temporarily suspend all vMotion activity in a cluster, put the cluster in manual mode and deselect the Enable individual virtual machine automation levels check box.
  • Select one or more virtual machines.
  • Click the Automation Level column and select an automation level from the drop-down menu > Click OK.

Explain how DRS affinity rules effect virtual machine placement

You can control the placement of virtual machines on hosts within a cluster by using affinity rules. Certainly useful if you want (or not) that two or more VMs runs on the same host(s).

You can create two types of rules.

VM-Host affinity rule – specifies an affinity relationship between a group of virtual machines and a group of hosts. There are ‘required‘ rules (designated by “must“) and ‘preferential’ rules (designated by “should“.)

An affinity rule specifies that the members of a selected virtual machine DRS group can or must run on the members of a specific host DRS group. An anti-affinity rule specifies that the members of a selected virtual machine DRS group cannot run on the members of a specific host DRS group.

A VM-Host affinity rule includes the following components:

  • One virtual machine DRS group.
  • One host DRS group.

VM-VM affinity rule – Whether VMs should run on the same host or be kept on separate hosts.

With an anti-affinity rule, DRS tries to keep the specified virtual machines apart. You could use such a rule if you want to guarantee that certain virtual machines are always on different physical hosts. In that case, if a problem occurs with one host, not all virtual machines would be placed at risk.

A rule specifying affinity causes DRS to try to keep the specified virtual machines together on the same host, for example, for performance reasons. With an anti-affinity rule, DRS tries to keep the specified virtual machines apart, for example, so that when a problem occurs with one host, you do not lose both virtual machines.

When you add or edit an affinity rule, and the cluster’s current state is in violation of the rule, the system continues to operate and tries to correct the violation. For manual and partially automated DRS clusters, migration recommendations based on rule fulfillment and load balancing are presented for approval. You are not required to fulfill the rules, but the corresponding recommendations remain until the rules are fulfilled.

To check whether any enabled affinity rules are being violated and cannot be corrected by DRS, select the cluster’s DRS tab and click Faults. Any rule currently being violated has a corresponding fault on this page. Read the fault to determine why DRS is not able to satisfy the particular rule. Rules violations also produce a log event.

Where?

Where? In the vSphere Web Client > Host and clusters > Configuration > VM/Host Rules> Add > Give your rule a name. From the Type menu, select Virtual Machines to Hosts. Select the virtual machine DRS group and the host DRS group to which the rule applies.

VCP6.5-DCV DRS VM Host rules

Understand Network DRS

Starting vSphere 6.5, DRS no takes into consideration also the network utilization. It takes into account the network utilization of host and network usage requiremets of VMs durin g initial placement and load balancing. As a result, load balancing and DRS is more “intelligent”.

This wasn't always the case as usually, DRS considered only the compute resource (CPU and memory) utilization of hosts and VMs for balancing load cross hosts and placing VMs during Power-on operations. While CPU and memory resources are the most important in most cases, the network utilization is another aspect. We could end up in a situation where the network is already saturated on a host, but DRS still makes the decision to place the VM on that particular host.

The network-aware DRS in vSphere 6.5 is only to make sure the host has sufficient network resources available, as well as all compute resources required by the VM.

However, comped to a regular DRS, which balances the CPU and memory load, the network-aware DRS does not balance the network load in the cluster, which means it will not trigger a vMotion when there is network load imbalance.

DRS does the initial placement in two steps:

  • It compiles the list of possible hosts based on cluster constraints and compute resource availability and ranks them.
  • Then, from the list of hosts, it picks the host with the best rank and best network resource availability

Differentiate load balancing policies

During DRS operation:

  • DRS generates a list of possible migration proposals.
  • Eliminates the proposals whose destination hosts are network saturated.
  • From the remaining list of proposals, recommends the one with the maximum balance improvement in terms of compute resources and that also contributes to network resource availability on the source host, in case the source host is network saturated.

Host Network Saturation Threshold – DRS will not place a VM to a host which network is overloaded. Only if its network utilization is beyond a certain threshold. This threshold is set to 80% by default. So, unless the host network utilization is above 80%, DRS considers the host to be a good candidate in terms of network resource availability.

If a host’s network utilization is at or above the saturation threshold, DRS considers it to be network saturated. If all the hosts in the cluster are network saturated, DRS will prefer not to migrate VMs with network load, since migrating network loaded VMs to an already network saturated host would result in further degradation of VM performance. When DRS cannot migrate VMs due to this behavior, this can sometimes result in an imbalanced cluster.

Monitoring Host Network Utilization – Introduced in vSphere 6.5 you have a possibility to monitor the host network load distribution under the DRS monitoring tab in the vSphere Web Client.

The network utilization percentage of a host is the average capacity that is being utilized across all the physical NICs (pNICs) on that host. For example, if a host has three pNICs, one of them is 90% utilized and the other two are 0% utilized, then the network utilization of the host is considered to be 30%.

Describe Predictive DRS

Predictive DRS happens when vCenter server proactively rebalances the VMs based on predictive patterns in the cluster workload. Predictive DRS bases its data provide by vRealize Operations Manager. vROPS monitor VMs running within a vCenter server and analyzes the historical data. Based on this, it can forecast data, predictable patterns of resources usage. Those data are used by predictive DRS, which moves VMs around based on the patters.

Check our VCP6.5-DCV Study Guide Page. 

More from ESX Virtualization

  • VCP6.5-DCV Study Guide
  • VMware Virtual Hardware Performance Optimization Tips
  • What is VMware Instant Clone Technology?
  • VMware vSphere Essentials Plus Kit Term
  • Configuration Maximums
  • VMware Transparent Page Sharing (TPS) Explained

Stay tuned through RSS, and social media channels (Twitter, FB, YouTube)

Shares
Vote !

| Filed Under: Server Virtualization Tagged With: VCP6.5-DCV Objective 5.2

About Vladan SEGET

This website is maintained by Vladan SEGET. Vladan is as an Independent consultant, professional blogger, vExpert x16, Veeam Vanguard x9, VCAP-DCA/DCD, ESX Virtualization site has started as a simple bookmarking site, but quickly found a large following of readers and subscribers.

Connect on: Facebook. Feel free to network via Twitter @vladan.

Private Sponsors

Featured

  • Thinking about HCI? G2, an independent tech solutions peer review platform, has published its Winter 2023 Reports on Hyperconverged Infrastructure (HCI) Solutions.
  • Zerto: One Platform for Disaster Recovery, Backup & Cloud Mobility: Try FREE Hands-On Labs Today!
Click to Become a Sponsor

Most Recent

  • Veeam Backup & Replication v13 Beta: A Game-Changer with Linux
  • What is Veeam Data Cloud Vault and how it can help SMBs
  • Nakivo Backup and Replication – Malware Scan Feature
  • Zerto 10 U7 released with VMware NSX 4.2 Support
  • XorMon NG 1.9.0 Infrastructure Monitoring – now also with Veeam Backup Support
  • Heartbeat vs Node Majority StarWind VSAN Failover Strategy
  • Vulnerability in your VMs – VMware Tools Update
  • FREE version of StarWind VSAN vs Trial of Full version
  • Commvault’s Innovations at RSA Conference 2025 San Francisco
  • VMware ESXi FREE is FREE again!

Get new posts by email:

 

 

 

 

Support us on Ko-Fi

 

 

Buy Me a Coffee at ko-fi.com

Sponsors

Free Trials

  • DC Scope for VMware vSphere – optimization, capacity planning, and cost management. Download FREE Trial Here.
  • Augmented Inline Deduplication, Altaro VM Backup v9 For #VMware and #Hyper-V – Grab your copy now download TRIAL.

VMware Engineer Jobs

VMware Engineer Jobs

YouTube

…

Find us on Facebook

ESX Virtualization

…

Copyright © 2025 ·Dynamik-Gen · Genesis Framework · Log in