Reader small image

You're reading from  VMware vSphere 6.x Datacenter Design Cookbook - Second Edition

Product typeBook
Published inJun 2016
PublisherPackt
ISBN-139781785283468
Edition2nd Edition
Tools
Right arrow
Authors (2):
Hersey Cartwright
Hersey Cartwright
author image
Hersey Cartwright

Hersey Cartwright has worked in the technology industry since 1996 in many roles, from help desk support to IT management. He first started working with VMware technologies in 2006. He is currently a Solutions Engineer for VMware, where he designs, sells, and supports VMware software-defined datacenter products in enterprise environments within the healthcare industry. He has experience working with a wide variety of server, storage, and network platforms.
Read more about Hersey Cartwright

kim bottu
kim bottu
author image
kim bottu

Since 2012 Kim Bottu has been the EMEA Virtualization Engineer for an international Biglaw firm where he focuses mainly on virtual datacenter performance optimization and virtual datacenter design. Kim holds the following certifications and honors: VCA-NV, VCP5-DCV, VCP6-DCV, VCAP5-DCD and has been named vExpert 2016. Kim can be reached at www.vMusketeers.com.
Read more about kim bottu

View More author details
Right arrow

Using VM affinity and anti-affinity rules


When virtual machines are powered on in a DRS cluster, vCenter determines where the virtual machines should be placed in order to balance resource usage across the cluster. The DRS scheduler runs periodically to migrate virtual machines using vMotion in order to maintain a balance of resource usage across the cluster. Affinity or anti-affinity rules can be used to control where VMs are placed within a cluster. Affinity rules keep VMs on the same physical host, reducing the load on the physical network by keeping traffic between them from leaving the host. Anti-affinity rules keep VMs separated on different physical hosts, ensuring higher availability.

One case of an affinity rule would be to keep all of the virtual machines supporting an application on the same host. This would ensure that network communications between the virtual machines supporting the application do not traverse the physical network.

An example use case of an anti-affinity rule...

lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
VMware vSphere 6.x Datacenter Design Cookbook - Second Edition
Published in: Jun 2016Publisher: PacktISBN-13: 9781785283468

Authors (2)

author image
Hersey Cartwright

Hersey Cartwright has worked in the technology industry since 1996 in many roles, from help desk support to IT management. He first started working with VMware technologies in 2006. He is currently a Solutions Engineer for VMware, where he designs, sells, and supports VMware software-defined datacenter products in enterprise environments within the healthcare industry. He has experience working with a wide variety of server, storage, and network platforms.
Read more about Hersey Cartwright

author image
kim bottu

Since 2012 Kim Bottu has been the EMEA Virtualization Engineer for an international Biglaw firm where he focuses mainly on virtual datacenter performance optimization and virtual datacenter design. Kim holds the following certifications and honors: VCA-NV, VCP5-DCV, VCP6-DCV, VCAP5-DCD and has been named vExpert 2016. Kim can be reached at www.vMusketeers.com.
Read more about kim bottu