VM-VM affinity rule
The VM-VM affinity rule is used to specify that selected VMs should run on the same host. You could configure this rule to improve performance. The anti-affinity rule behaves in exactly the opposite way and it's used to ensure some VMs are kept on different hosts.
Anti-affinity can be applied to AD domain controllers, for example, to keep them on different hosts to avoid AD issues in case one host fails. Only the DC running on the failed host is not available, while the others won't be affected, continuing to provide the authentication service with no interruption.
You can't enable two affinity rules if they clash. For example, if one rule is configured to keep VMs together and another rule keeps the same VMs separated, ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access