Placement polices now in public preview for Azure VMware Solution
Published date: August 16, 2021
Placement policies are used to define constraints for running virtual machines in the Azure VMware Solution software-defined data center (SDDC). These constraints allow you to decide where and how the virtual machines should run within the SDDC clusters. Placement polices are used to support performance optimization of virtual Machines (VMs) through policy, and help mitigate the impact of maintenance operations to policies within the SDDC cluster.
When you create a placement policy, it creates a vSphere Distributed Resource Scheduler (DRS) rule in the specified vSphere cluster. It also includes additional logic for interoperability with Azure VMware Solution operations.
There are two basic placement policy types now supported:
- Virtual Machine to Virtual Machine: this refers to a policy that is applied to VMs with respect to each other.
- VM-VM Affinity policies instruct DRS to try keeping the specified VMs together on the same host for performance reasons as an example.
- VM-VM Anti-Affinity policies instruct DRS to try keeping the specified VMs apart from each other on separate hosts. It's useful in scenarios where you may want to spread your virtual machines across hosts to ensure availability of the applications.
- Virtual Machine to SDDC Host: this refers to a policy applied to selected VMs to either run on, or avoid selected hosts.
- VM-Host Affinity policies instruct DRS to try running the specified VMs on the hosts defined.
- VM-Host Anti-Affinity policies instruct DRS to try running the specified VMs on hosts other than those defined.
For more information on requirements for placement policies in Azure VMware Solution and how to create and apply them, read the documentation.