Enable Azure Hybrid Benefit for SQL Server in Azure VMware Solution
In this article, 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 and the virtual machines on that host.
Important
It's 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 two hosts run SQL Server, the Azure Hybrid Benefit applies to 72 cores, regardless of the number of SQL Server instances or other virtual machines are on that host.
View a video tutorial for configuring Azure Hybrid Benefit for SQL Server in Azure VMware Solution
Configure VM-Host placement policy
Users can configure the VM-Host placement policy to enable Azure Hybrid Benefit for SQL Server through the Azure Portal or Azure CLI.
To enable through the Azure CLI, reference az vmware placement-policy vm-host.
For the Azure Portal step-by-step see below:
From your Azure VMware Solution private cloud, select Azure Hybrid Benefit, then Create VM-Host 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 to be applied to the VM-Host affinity policy.
- Add Hosts – Select the hosts to run the 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 VM-Host affinity policies with the Azure Hybrid Benefit for SQL Server.
More information
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for