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-DCV Objective 9.2 – Configure Advanced vSphere DRS Features

By Vladan SEGET | Last Updated: November 9, 2022

Shares

VMware VCP6-DCV certification exam might seems tough exam you can't fake. True, you have to know your stuff. But we like technology, we like VMware and so we like this exam. Many folks need to re-certify after expiring their VCP 4 or VCP 5. For new people who learning towards this exam I'm currently working on each one of the Objectives from the VMware VCP6-DCV blueprint. For current VCP5-DCV holders it's also possible to pass the VCP6-DCV delta exam, which has 45 questions only.

Those study blog posts are covering topics and objectives from the blueprint from VCP 6 page and are here to help out with studying towards the VMware Certification Exam VCP6-DCV (Datacenter Virtualization). This exam validates you have the skills required to successfully install, deploy, scale and manage VMware vSphere 6.

vSphere Knowledge

  • Identify Distributed Resource Scheduler (DRS) affinity rules
  • Enable/Disable Distributed Resource Scheduler (DRS) affinity rules
  • Identify Distributed Resource Scheduler (DRS) Automation levels
  • Configure Distributed Resource Scheduler (DRS)Automation levels

—————————————————————————————————–

Identify Distributed Resource Scheduler (DRS) affinity rules

The affinity rules controls the initial placement of VMs in DRS enabled clusters.  From vSphere 6.0 documentation…

Two Types:

  • VM-Host (Between a group of virtual machines and a group of hosts) –  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.
  • VM-VM (Between individual virtual machines) –  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.

Requirements:

  • Licenisng. You have to be able activate vSphere HA and DRS cluster.
  • Shared Storage – you need obviously shared storage to be able to activate HA, DRS, vMotion (yes vMotion as well).

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“.)

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.

Enable/Disable Distributed Resource Scheduler (DRS) affinity rules

Where? In the vSphere Web Client > Host and clusters > Manage TAB > 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.

VM/host DRS rules

If you select the Keep virtual machines together (third option in the image above), and so be able to use this rule you must first create VM/host Groups…. (option above close to the step 2 on the left hand side in the picture)

  • Must run on hosts in group –  Virtual machines in VM Group 1 must run on hosts in Host Group A.
  • Should run on hosts in group –  Virtual machines in VM Group 1 should, but are not required, to run on hosts in Host Group A.
  • Must not run on hosts in group – Virtual machines in VM Group 1 must never run on host in Host Group A.
  • Should not run on hosts in group – Virtual machines in VM Group 1 should not, but might, run on hosts in Host Group A.

Create Affinity Rule…

VM/host DRS affinity and anti affinity rules vSphere 6

Create Anti-Affinity Rule…

DRS Anti-Affinity Rules vSphere 6

Identify Distributed Resource Scheduler (DRS) Automation levels

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

FT VMs can benefit from DRS (EVC must be enabled) to be initially placed at best. If FT VMs are on cluster with EVC disabled, then the FT VMs are given the DRS automation levels of “disabled”.

Affinity rules and FT VMs

VM-VM affinity rule is applying to the primary VM only.

Host-VM affinity rule applies to both primary and secondary VM.

Configure Distributed Resource Scheduler (DRS)Automation levels

Where? Select Hosts and clusters > Manage > settings > vSphere DRS > Edit

Then from the drop down menu choose the automation level you need.

DRS automation levels

Tools

  • vSphere Installation and Setup Guide
  • vSphere Administration with the vSphere Client Guide
  • What’s New in the VMware vSphere® 6.0 Platform
  • vSphere Resource Management
  • vSphere Client / vSphere Web Client
Shares
5/5 - (2 votes)

| Filed Under: Server Virtualization Tagged With: VCP6-DCV, VCP6-DCV Objective 9.2 - Configure Advanced vSphere DRS Features

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