facebooktwitteryoutube
Home About Contact VCP Virtual Home Lab VCP6 Study Guide VCAP-DCV Deploy Study guide
in blueprint - 01 Feb, 2016
by mordi - no comments
VCP6-DCV blueprint section 9 – Objective 9.2: Configure Advanced vSphere DRS Features

In this post we will continue covering the objective from the blueprint and now its time for Configure Advanced vSphere DRS Features.

The following are objectives from the blueprint:

  • Configure the proper Distributed Resource Scheduler (DRS) automation level based on a set of business requirements
  • Explain how DRS affinity rules effect virtual machine placement
  • Add/remove virtual machine DRS Group
  • Add/remove Host DRS Group
  • Configure VM-Host affinity/anti-affinity rules
  • Configure VM-VM affinity/anti-affinity rules
  • Enable/disable Distributed Resource Scheduler (DRS) affinity rules

Configure the proper Distributed Resource Scheduler (DRS) automation level based on a set of business requirements:

Before we configure DRS we will need to enable it first in our cluster , i am using the same cluster configuration from the previous post on vSphere HA

To enable DRS from Cluster>>Manage>>Setting>>vShere DRS>> Edit >> click on the check box to turn it On.

DRS1

There are 3 automation levels:

  • Manual – vCenter will ONLY recommend moving resources.
  • Partially Automated – VM’s will automatically place onto host at power on and vCenter will recommend moving resources
  • Fully Automated – vCenter take full control on re-balancing the VM’s

You can also configure Migration threshold which can initiate vMotion based on that threshold , i used the default (i know there is a lot more to it but i leave it for the VCAP study).

DRS2

Explain how DRS affinity rules effect virtual machine placement:

There are four affinity rules configuration: 

  • VM -VM anti-affinity rule: DRS will not allow the following VM’s to be on the same ESXi host
  • VM-VM affinity rules:DRS will make sure that the followng VM’s will always be on the same ESXi host
  • VM-Host anti affinity rules: DRS will not allow the following VM’s to be on a certain ESXi host
  • VM-Host affinity rules: DRS will make sure that the followng VM’s will always be on the certain ESXi host

Add/remove virtual machine DRS Group / Add/remove Host DRS Group:

To add VM’s/Host DRS group from  Cluster>>Manage>>Setting>>VM/Host Group and then click on Add.

you can change between Hosts and VM’s.

DRS3

Configure VM-Host affinity/anti-affinity rules / Configure VM-VM affinity/anti-affinity rules and Enable/disable Distributed Resource Scheduler (DRS) affinity rules:

Enable / Disable DRS affinity rule is just a check box when you define the rule.

To configure  VM-VM affinity/anti-affinity rules: from Cluster>>Manage>>Setting>>VM/Host rules and then click on Add.

DRS4

DRS5

To configure  VM-Host affinity/anti-affinity rules:

After creating the groups you can choose the third option “Virtual Machine to hosts” when creating a rule.

You can also choose the “Should” option and DRS will move the VM’s only as the last option.

DRS6DRS7

Thanks for reading

Mordi.

 

 

Leave a Reply