latoga labs

Technology of Business & Business of Technology

  • About
  • Contact
  • Carbon Lab
  • IoT Lab
  • View latoga’s profile on Twitter
  • View greglato’s profile on LinkedIn

© 2006–2023 · Log in

vSphere 4.1 Hidden Gem: Host Affinity Rules

July 16, 2010 Leave a Comment

During the vSphere 4.1 beta period, two of my clients were very interested in the new Host Affinity Rules for issues they were having.  The day vSphere 4.1 was released I had a call to discuss Host Affinity Rules with another client to explore issues they were having that host affinity rules could solve.  Each of these global enterprise clients are running 1000’s of VMs in production and each have different uses for Host Affinity Rules that the average user may overlook.

I was planning on providing a quick overview of the Host Affinity Rules in this post, but Frank Denneman already provided a great overview that I can’t really improve on.  Start with his post to to understand the basics of the new Host Affinity Rules.

A few Host Affinity Rule use cases:

  • Physical server based software licensing:  As hard as it is to believe, some software vendors still tie their software to physical computers.  Using Host Affinity rules allow you to purchase licenses for a subset of your physical servers in your vSphere cluster. (typically 2 so you have HA).  By forcing the VMs running the software in question to run on specific servers, you can ensure compliance with the software licensing.
  • Isolation for troublesome VMs: as with most troubleshooting processes, the newest thing in an environment usually gets the blame.  For one of my clients this means that new workloads moved into the vSphere environment that have performance issues result in the application owners blaming vSphere for the performance issues.  Even after using something like vCenter AppSpeed to show the user where the performance problem exists in their application, app owners still won’t believe it until their VM is running by itself.  With Host Affinity Rules, you can force the problem-some VM to run on a server that has nothing else on it.  (Take that non-believer app owner!)
  • Another approach to host pinning and reservations:  Some clients use pinning and reservations to help ensure certain levels of performance for some of their end users.  Like any over-riding control, you can eventually end up with more of these rules than can be realistically managed.  Host Affinity rules could be used in their place by forcing a more large grained control.  Of course, the same rule sprawl can occur with host affinity rules.  So it’s best to use them sparingly at first and really make sure the end users really need them before using them.  After all, cloud computing is supposed to make things easier for both end users and IT administrators…fight the gravitational pull of end user special needs.  More often than not these needs don’t really exist.

Filed Under: New Tech, Virtualization, VMware Tagged With: Host Affinity Rules, vSphere 4.1

About latoga labs

Welcome to the career blog of Greg A. Lato (latoga). Discussing topics around business transformation & disruption, data management, ML/AI, IoT/IIoT, cloud, and technology flotsam.

DISCLAIMER
Everything here reflects my views and opinions and not necessarily the views or opinions of any company, client, employer, or group associated with me.

TRANSPARENCY
I am currently a direct stockholder of AAPL, AMT, AMZN, ANET, BOFI, BRK, COUP, CTSH, DIS, FANUY, FB, GOOG, MELI, MIDD, NFLX, PRLB, PSTG, SHOP, TCEHY, TCX, THO, TSLA, TTD, TWLO, VEEV, WDAY.