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 VMs to host affinity rules

In this recipe, the objective is to restrict the VMs to run on specific groups of hosts.

Getting ready

A prerequisite to setting an affinity is creating the DRS groups for the respective VMs and hosts.

How to do it...

  1. Select a cluster, and navigate to Configure | VM/Host Rules. Provide a name for the rule and ensure it's enabled.
  2. Choose the affinity TypeVirtual Machines to Hosts. Choose a VM group from the available groups.

  1. Choose the rule from the drop-down menu—Should run on hosts in group. Choose the Host...