Enable Azure Hybrid Benefit for SQL Server in Azure VMware Solution
In this article, you’ll learn how to configure Azure Hybrid Benefit for SQL Server in an Azure VMware Solution private cloud by configuring a placement policy. The placement policy defines the hosts that are running SQL Server as well as the virtual machines on that host.
It is important to note that SQL Server benefits are applied at the host level.
For example, if each host in Azure VMware Solution has 36 cores and you intend to have 2 hosts run SQL Server then the Azure Hybrid Benefit will apply to 72 cores, regardless of the number of SQL Server instances or other virtual machines are on that host.
Configure host-VM placement policy
From your Azure VMware Solution private cloud, select Azure hybrid benefit, then Create host-VM placement policy.
Fill in the required fields for creating the placement policy.
- Name – Select the name that identifies this policy.
- Type – Select the type of policy. This type must be a VM-Host affinity rule only.
- Azure Hybrid Benefit – Select the checkbox to apply the Azure Hybrid Benefit for SQL Server.
- Cluster – Select the correct cluster. The policy is scoped to host in this cluster only.
- Enabled – Select enabled to apply the policy immediately once created.
Select the hosts and VMs that will be applied to the VM-Host affinity policy.
- Add Hosts – Select the hosts that will be running SQL Server. When hosts are replaced, policies are re-created on the new hosts automatically.
- Add VMs – Select the VMs that should run on the selected hosts.
- Review and Create the policy.
Manage placement policies
After creating the placement policy, you can review, manage, or edit the policy by way of the Placement policies menu in the Azure VMware Solution private cloud.
By checking the Azure Hybrid Benefit checkbox in the configuration setting, you can enable existing host-VM affinity policies with the Azure Hybrid Benefit for SQL Server.