Book Image

VMware vSphere 6.x Datacenter Design Cookbook - Second Edition

By : Hersey Cartwright, kim bottu
Book Image

VMware vSphere 6.x Datacenter Design Cookbook - Second Edition

By: Hersey Cartwright, kim bottu

Overview of this book

VMware is the industry leader in data center virtualization. The vSphere 6.x suite of products provides a robust and resilient platform to virtualize server and application workloads. With the release of 6.x a whole range of new features has come along such as ESXi Security enhancements, fault tolerance, high availability enhancements, and virtual volumes, thus simplifying the secure management of resources, the availability of applications, and performance enhancements of workloads deployed in the virtualized datacenter. This book provides recipes to create a virtual datacenter design using the features of vSphere 6.x by guiding you through the process of identifying the design factors and applying them to the logical and physical design process. You’ll follow steps that walk you through the design process from beginning to end, right from the discovery process to creating the conceptual design; calculating the resource requirements of the logical storage, compute, and network design; mapping the logical requirements to a physical design; security design; and finally creating the design documentation. The recipes in this book provide guidance on making design decisions to ensure the successful creation, and ultimately the successful implementation, of a VMware vSphere 6.x virtual data center design.
Table of Contents (19 chapters)
VMware vSphere 6.x Datacenter Design Cookbook Second Edition
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

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