Skip to content

Joseph-T-Gordon

A complete log of all recent projects and skills

Menu
  • About me
  • Posts/Projects
  • Resume/Certifications
Menu

Post #12 (VMware) – VM Overrides, Affinity and Anti-Affinity

Posted on December 1, 2022June 26, 2023 by admin

Learned a bit more about both VM override as well as vm-vm and vm-host affinity and anti-affinity. VM overrides are pretty simple with services such as HA and DRS enabled at the cluster level you can use VM overrides to change these setting on certain VMs say set DRS to manual or disable HA on a specific set of VMs. I touched upon host affinity in a previous post, host affinity is set on the vm/host rules at the cluster level, with vm-vm affinity you can set a certain set of VMs to run on the same host. With vm-vm anti-affinity you can have a set of VMs all run on separate host. Then with vm-host affinity you can have a certain set of VMs run on a certain set of hosts. Then finally with vm-host anti-affinity you can have a set of VMs never run on certain hosts. You can also have these changes be mandatory or preferred, so if you have two VMs with vm-vm anti-affinity applied with only one host, with mandatory one of the VMs would have to be powered off but with preferred vCenter would allow it to happen but push the VM off the host as soon as it got the chance.

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

© 2026 Joseph-T-Gordon | Powered by Minimalist Blog WordPress Theme