You can create VM-VM affinity rules to specify whether selected individual virtual machines run on the same host or kept on separate hosts.
Prerequisites
Create the topology.
Procedure
Results
The affinity and anti-affinity rules are added.
Example
VDU | Affinity Rules | Anti-Affinity Rules |
---|---|---|
VDU 1, VDU 2 | The deployed VDUs are always kept together on the same ESXi host even for scaled-out instances. | The deployed VDUs are always kept apart on different ESXi hosts. for scaled-out instances, an anti-affinity rule is created for every permutation and combination. |
VDU 1 | All the scaled VDU instances of VDU 1 are kept together on the same ESXi host. | All the scaled VDU instances of VDU 1 are kept apart on different ESXi hosts and only one anti-affinity rule is created. |