Book Image

VMware vSphere 6.5 Cookbook - Third Edition

By : Abhilash G B, Cedric Rajendran
Book Image

VMware vSphere 6.5 Cookbook - Third Edition

By: Abhilash G B, Cedric Rajendran

Overview of this book

VMware vSphere is a complete and robust virtualization product suite that helps transform data centers into simplified on-premises cloud infrastructures, providing for the automation and orchestration of workload deployment and life cycle management of the infrastructure. This book focuses on the latest release of VMware vSphere and follows a recipe-based approach, giving you hands-on instructions required to deploy and manage a vSphere environment. The book starts with the procedures involved in upgrading your existing vSphere infrastructure to vSphere 6.5, followed by deploying a new vSphere 6.5 environment. Then the book delves further into the procedures involved in managing storage and network access to the ESXi hosts and the virtual machines running on them. Moving on, the book covers high availability and fair distribution/utilization of clustered compute and storage resources. Finally, the book covers patching and upgrading the vSphere infrastructure using VUM, certificate management using VMCA, and finishes with a chapter covering the tools that can be used to monitor the performance of a vSphere infrastructure.
Table of Contents (18 chapters)

Creating VM affinity or anti-affinity rules

VM affinity or anti-affinity rules go a level down from the group level affinity to a virtual machine level rule. The objective is to ensure that virtual machines are tied together or repel each other. This feature comes into play in situations where you may have two load balancer VMs that you want to keep apart, so that in the event of an underlying host failure the other instance is unaffected. Similarly, any clustering-based VMs would need to be kept separate to ensure both are not impacted by the same failures. In this recipe, we will walk through an example of ensuring that VMs run together.

Getting ready

These rules are created for VMs that are in a DRS-enabled ESXi cluster...