Skip to content

Commit fec1216

Browse files
authored
Merge pull request #200498 from vamckMS/adh-ultra-ssd-vk
Adh ultra ssd vk
2 parents 9acefea + 4ca8ebd commit fec1216

File tree

1 file changed

+50
-12
lines changed

1 file changed

+50
-12
lines changed

articles/virtual-machines/dedicated-hosts-how-to.md

Lines changed: 50 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ ms.date: 09/01/2021
1111
ms.reviewer: mattmcinnes
1212

1313

14+
1415
#Customer intent: As an IT administrator, I want to learn about more about using a dedicated host for my Azure virtual machines
1516
---
1617

@@ -24,18 +25,23 @@ This article guides you through how to create an Azure [dedicated host](dedicate
2425
## Limitations
2526

2627
- The sizes and hardware types available for dedicated hosts vary by region. Refer to the host [pricing page](https://aka.ms/ADHPricing) to learn more.
28+
- Not all Azure VM SKUs, regions and availability zones support ultra disks, for more information about this topic, see [Azure ultra disks](disks-enable-ultra-ssd.md) . Ultra disk support for dedicated hosts is currently in preview.
2729
- The fault domain count of the virtual machine scale set can't exceed the fault domain count of the host group.
2830

2931
## Create a host group
3032

31-
A **host group** is a resource that represents a collection of dedicated hosts. You create a host group in a region and an availability zone, and add hosts to it. When planning for high availability, there are more options. You can use one or both of the following options with your dedicated hosts:
33+
A **host group** is a resource that represents a collection of dedicated hosts. You create a host group in a region and an availability zone, and add hosts to it. You can use one or both of the following options with your dedicated hosts to ensure high availability:
3234
- Span across multiple availability zones. In this case, you're required to have a host group in each of the zones you wish to use.
3335
- Span across multiple fault domains, which are mapped to physical racks.
3436

3537
In either case, you need to provide the fault domain count for your host group. If you don't want to span fault domains in your group, use a fault domain count of 1.
3638

3739
You can also decide to use both availability zones and fault domains.
3840

41+
Enabling ultra disks (Preview) is a host group level setting and can't be changed after a host group is created.
42+
43+
If you intend to use LSv2 or M series VMs, with ultra disks (Preview) on dedicated hosts, set host group's **Fault domain count** to **1**.
44+
3945
### [Portal](#tab/portal)
4046

4147
In this example, we'll create a host group using one availability zone and two fault domains.
@@ -49,6 +55,7 @@ In this example, we'll create a host group using one availability zone and two f
4955
1. For **Host group name**, type *myHostGroup*.
5056
1. For **Location**, select **East US**.
5157
1. For **Availability Zone**, select **1**.
58+
1. Select **Enable Ultra SSD** (Preview) to use ultra disks with supported Virtual Machines.
5259
1. For **Fault domain count**, select **2**.
5360
1. Select **Automatic placement** to automatically assign VMs and scale set instances to an available host in this group.
5461
1. Select **Review + create** and then wait for validation.
@@ -64,6 +71,17 @@ Not all host SKUs are available in all regions, and availability zones. You can
6471
```azurecli-interactive
6572
az vm list-skus -l eastus2 -r hostGroups/hosts -o table
6673
```
74+
You can also verify if a VM series supports ultra disks (Preview).
75+
76+
```azurecli-interactive
77+
subscription="<mySubID>"
78+
# example value is southeastasia
79+
region="<myLocation>"
80+
# example value is Standard_E64s_v3
81+
vmSize="<myVMSize>"
82+
83+
az vm list-skus --resource-type virtualMachines --location $region --query "[?name=='$vmSize'].locationInfo[0].zoneDetails[0].Name" --subscription $subscription
84+
```
6785

6886
In this example, we'll use [az vm host group create](/cli/azure/vm/host/group#az-vm-host-group-create) to create a host group using both availability zones and fault domains.
6987

@@ -77,6 +95,8 @@ az vm host group create \
7795

7896
Add the `--automatic-placement true` parameter to have your VMs and scale set instances automatically placed on hosts, within a host group. For more information, see [Manual vs. automatic placement](dedicated-hosts.md#manual-vs-automatic-placement).
7997

98+
Add the `--ultra-ssd-enabled true` (Preview) parameter to enable creation of VMs that can support ultra disks.
99+
80100

81101
**Other examples**
82102

@@ -99,6 +119,17 @@ az vm host group create \
99119
--platform-fault-domain-count 2
100120
```
101121

122+
The following code snippet uses [az vm host group create](/cli/azure/vm/host/group#az-vm-host-group-create) to create a host group that supports ultra disks (Preview) and auto placement of VMs enabled.
123+
124+
```azurecli-interactive
125+
az vm host group create \
126+
--name myFDHostGroup \
127+
-g myDHResourceGroup \
128+
-z 1 \
129+
--ultra-ssd-enabled true \
130+
--platform-fault-domain-count 2 \
131+
--automatic-placement true
132+
```
102133
### [PowerShell](#tab/powershell)
103134

104135
This example uses [New-AzHostGroup](/powershell/module/az.compute/new-azhostgroup) to create a host group in zone 1, with 2 fault domains.
@@ -110,15 +141,20 @@ $location = "EastUS"
110141
111142
New-AzResourceGroup -Location $location -Name $rgName
112143
$hostGroup = New-AzHostGroup `
113-
-Location $location `
114144
-Name myHostGroup `
115-
-PlatformFaultDomain 2 `
116145
-ResourceGroupName $rgName `
117-
-Zone 1
146+
-Location $location `
147+
-Zone 1 `
148+
-EnableUltraSSD `
149+
-PlatformFaultDomain 2 `
150+
-SupportAutomaticPlacement true
118151
```
119152

153+
Add the `-SupportAutomaticPlacement true` parameter to have your VMs and scale set instances automatically placed on hosts, within a host group. For more information about this topic, see [Manual vs. automatic placement ](dedicated-hosts.md#manual-vs-automatic-placement).
154+
155+
156+
Add the `-EnableUltraSSD` (Preview) parameter to enable creation of VMs that can support ultra disks.
120157

121-
Add the `-SupportAutomaticPlacement true` parameter to have your VMs and scale set instances automatically placed on hosts, within a host group. For more information, see [Manual vs. automatic placement](dedicated-hosts.md#manual-vs-automatic-placement).
122158

123159
---
124160

@@ -177,6 +213,8 @@ $dHost = New-AzHost `
177213

178214
Now create a VM on the host.
179215

216+
If you would like to create a VM with ultra disks support, make sure the host group in which the VM will be placed is ultra SSD enabled (Preview). Once you've confirmed, create the VM in the same host group. See [Deploy an ultra disk](disks-enable-ultra-ssd.md#deploy-an-ultra-disk) for the steps to attach an ultra disk to a VM.
217+
180218
### [Portal](#tab/portal)
181219

182220
1. Choose **Create a resource** in the upper left corner of the Azure portal.
@@ -301,7 +339,7 @@ You can add an existing VM to a dedicated host, but the VM must first be Stop\De
301339

302340
- The VM size must be in the same size family as the dedicated host. For example, if your dedicated host is DSv3, then the VM size could be Standard_D4s_v3, but it couldn't be a Standard_A4_v2.
303341
- The VM needs to be located in same region as the dedicated host.
304-
- The VM can't be part of a proximity placement group. Remove the VM from the proximity placement group before moving it to a dedicated host. For more information, see [Move a VM out of a proximity placement group](./windows/proximity-placement-groups.md#move-an-existing-vm-out-of-a-proximity-placement-group)
342+
- The VM can't be part of a proximity placement group. Remove the VM from the proximity placement group before moving it to a dedicated host. For more information about this topic, see [Move a VM out of a proximity placement group](./windows/proximity-placement-groups.md#move-an-existing-vm-out-of-a-proximity-placement-group)
305343
- The VM can't be in an availability set.
306344
- If the VM is in an availability zone, it must be the same availability zone as the host group. The availability zone settings for the VM and the host group must match.
307345

@@ -330,7 +368,7 @@ az vm update - n myVM -g myResourceGroup --host myHost
330368
az vm start -n myVM -g myResourceGroup
331369
```
332370

333-
For automatically placed VMs, only update the host group. For more information, see [Manual vs. automatic placement](dedicated-hosts.md#manual-vs-automatic-placement).
371+
For automatically placed VMs, only update the host group. For more information about this topic, see [Manual vs. automatic placement](dedicated-hosts.md#manual-vs-automatic-placement).
334372

335373
Replace the values with your own information.
336374

@@ -402,7 +440,7 @@ az vm host get-instance-view \
402440
--name myHost
403441
```
404442

405-
The output will look similar to this:
443+
The output will look similar to the below example:
406444

407445
```json
408446
{
@@ -513,7 +551,7 @@ Get-AzHost `
513551
-InstanceView
514552
```
515553

516-
The output will look similar to this:
554+
The output will look similar to the below example:
517555

518556
```
519557
ResourceGroupName : myDHResourceGroup
@@ -611,7 +649,7 @@ Once you've deleted all of your hosts, you may delete the host group using [az v
611649
az vm host group delete -g myDHResourceGroup --host-group myHostGroup
612650
```
613651

614-
You can also delete the entire resource group in a single command. This will delete all resources created in the group, including all of the VMs, hosts and host groups.
652+
You can also delete the entire resource group in a single command. The following command will delete all resources created in the group, including all of the VMs, hosts and host groups.
615653

616654
```azurecli-interactive
617655
az group delete -n myDHResourceGroup
@@ -638,7 +676,7 @@ Once you've deleted all of your hosts, you may delete the host group using [Remo
638676
Remove-AzHost -ResourceGroupName $rgName -Name myHost
639677
```
640678

641-
You can also delete the entire resource group in a single command using [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup). This will delete all resources created in the group, including all of the VMs, hosts and host groups.
679+
You can also delete the entire resource group in a single command using [Remove-AzResourceGroup](/powershell/module/az.resources/remove-azresourcegroup). This following command will delete all resources created in the group, including all of the VMs, hosts and host groups.
642680

643681
```azurepowershell-interactive
644682
Remove-AzResourceGroup -Name $rgName
@@ -648,7 +686,7 @@ Remove-AzResourceGroup -Name $rgName
648686

649687
## Next steps
650688

651-
- For more information, see the [Dedicated hosts](dedicated-hosts.md) overview.
689+
- For more information about this topic, see the [Dedicated hosts](dedicated-hosts.md) overview.
652690

653691
- There's sample template, available at [Azure Quickstart Templates](https://github.com/Azure/azure-quickstart-templates/blob/master/quickstarts/microsoft.compute/vm-dedicated-hosts/README.md), which uses both zones and fault domains for maximum resiliency in a region.
654692

0 commit comments

Comments
 (0)