Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletter Hub
Free Learning
Arrow right icon
timer SALE ENDS IN
0 Days
:
00 Hours
:
00 Minutes
:
00 Seconds
Arrow up icon
GO TO TOP
VMware vCenter Cookbook

You're reading from   VMware vCenter Cookbook Over 65 hands-on recipes to help you efficiently manage your vSphere environment with VMware vCenter

Arrow left icon
Product type Paperback
Published in May 2015
Publisher Packt
ISBN-13 9781783553976
Length 302 pages
Edition 1st Edition
Tools
Arrow right icon
Author (1):
Arrow left icon
Kostantin Kuminsky Kostantin Kuminsky
Author Profile Icon Kostantin Kuminsky
Kostantin Kuminsky
Arrow right icon
View More author details
Toc

Table of Contents (15) Chapters Close

VMware vCenter Cookbook
Credits
Foreword
About the Author
About the Reviewers
www.PacktPub.com
Preface
1. vCenter Basic Tasks and Features FREE CHAPTER 2. Increasing Environment Availability 3. Increasing Environment Scalability 4. Improving Environment Efficiency 5. Optimizing Resource Usage 6. Basic Administrative Tasks 7. Improving Environment Manageability Index

Automating VM placement with VM affinity


The Affinity rules feature is a part of Distributed Resource Scheduler (DRS) described in the Balancing loads between hosts recipe in Chapter 5, Optimizing Resource Usage. This feature allows administrators to control the VM placement on cluster hosts. DRS provides its balancing recommendations or migrates VMs automatically if configured, taking into account all the configured affinity rules.

Two types of affinity rules can be created:

  • VM-to-Host, which controls whether particular groups of VMs can be placed on certain hosts.

  • VM-to-VM, which define whether VMs can be kept together on the same host.

One of the more common use cases for affinity rules is performance considerations when certain resource-intensive VMs should be run only on hosts with enough resources. Another scenario is related to license restrictions. For example, MS SQL virtual machines licensed for two processors should be placed on hosts with no more than two CPUs.

When a cluster is in...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime
Visually different images