Skip to content

Commit c532e56

Browse files
committed
Change TOC placement, refine the VM placement article
1 parent faa441d commit c532e56

File tree

2 files changed

+40
-20
lines changed

2 files changed

+40
-20
lines changed

azure-local/TOC.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,8 +254,6 @@ items:
254254
href: manage/create-arc-virtual-machines.md
255255
- name: Connect to VM via SSH
256256
href: manage/connect-arc-vm-using-ssh.md
257-
- name: Place VMs in Rack Aware Cluster
258-
href: plan/rack-aware-clustering-vm-placement.md
259257
- name: Manage Azure Local VMs
260258
href: manage/manage-arc-virtual-machines.md
261259
- name: Manage Azure Local VM resources
@@ -279,6 +277,10 @@ items:
279277
href: manage/troubleshoot-arc-enabled-vms.md
280278
- name: FAQs
281279
href: manage/azure-arc-vms-faq.yml
280+
- name: Rack Aware Cluster
281+
items:
282+
- name: Place VMs in Rack Aware Cluster
283+
href: plan/rack-aware-clustering-vm-placement.md
282284

283285
- name: Trusted launch for Azure Local VMs
284286
items:

azure-local/plan/rack-aware-clustering-vm-placement.md renamed to azure-local/manage/rack-aware-clustering-vm-placement.md

Lines changed: 36 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,40 +5,39 @@ author: alkohli
55
ms.author: alkohli
66
ms.topic: overview
77
ms.service: azure-local
8-
ms.date: 04/01/2025
8+
ms.date: 04/07/2025
99
---
1010

1111
# Place Azure Local VMs on a Rack Aware Cluster (Preview)
1212

1313
[!INCLUDE [applies-to](../includes/hci-applies-to-23h2.md)]
1414

15-
This article describes how to place an Azure Local virtual machine (VM) on a Rack Aware Cluster.
15+
This article describes how to place an Azure Local virtual machine (VM) enabled by Azure Arc, on a Rack Aware Cluster.
1616

1717
[!INCLUDE [important](../includes/hci-preview.md)]
1818

1919
## About Rack Aware Cluster and Azure Local VMs
2020

21-
Azure Local Rack Aware Cluster is an advanced architecture designed to enhance fault tolerance and data distribution within an Azure Local instance. This architecture enables you to cluster nodes that are strategically placed across two physical racks in two different rooms or buildings with high bandwidth and low latency. An example of Rack Aware Cluster could be the use in a manufacturing plant to minimize the risk of data loss or downtime in the event of a rack-level failure.
21+
You can run Azure Local VMs on a Rack Aware Cluster running on an Azure Local instance. A Rack Aware Cluster is designed to enhance fault tolerance and data distribution within an Azure Local instance.
2222

23-
## Prerequisites
23+
Before you place Azure VMs on a Rack Aware Cluster, you must have availability zones. Availability zones expands the level of control you have to maintain the availability of the applications and data on your VMs. An Availability Zone is a physically separate zone, within an Azure region. There are three Availability Zones per supported Azure region.
2424

25-
Before you create an Azure Local VM for a rack aware cluster, make sure that all prerequisites listed in [Create Azure Local virtual machines enabled by Azure Arc](../manage/create-arc-virtual-machines.md) are met.
25+
Each Availability Zone has a distinct power source, network, and cooling. By designing your solutions to use replicated VMs in zones, you can protect your apps and data from the loss of a data center. If one zone is compromised, then replicated apps and data are instantly available in another zone.
2626

27-
## Create a VM in a specific availability zone without strict placement
27+
Once you have the availability zones, you can assign those to the VMs to reduce latency, improve performance, ensure redundancy and meet compliance requirements.
2828

29-
Once you have set up availability zones in a rack aware cluster, you can create Azure Local VMs on a specific availability zone to reduce latency, improve performance, ensure redundancy, and meet compliance requirements.
29+
## Prerequisites
3030

31-
When you create a VM in a specific availability zone, the default option is without strict placement. The VM is created on a machine within the specified zone (`--zone`).
31+
- Make sure that you've access to a Rack Aware Cluster. The Rack Aware Cluster must have availability zones configured. For more information, see [Configuring availability zones](../index.yml).
32+
- Before you create an Azure Local VM for a rack aware cluster, make sure that all prerequisites listed in [Create Azure Local virtual machines enabled by Azure Arc](../manage/create-arc-virtual-machines.md) are met.
3233

33-
If all machines within a zone are down, the VM can migrate to another machine outside of the zone. However, the VM attempts to fail back to a machine within the original zone when that availability zone recovers.
34+
## Create and place the Azure Local VM
3435

35-
> [!NOTE]
36-
> If no zone is specified when creating an Azure Local VM, the system automatically chooses an optimal placement within the rack aware cluster.
36+
### Sign in and set the subscription
3737

38-
1. Connect to a machine on your Azure Local instance.
39-
1. Sign in and set the subscription:
38+
[!INCLUDE [hci-vm-sign-in-set-subscription](../includes/hci-vm-sign-in-set-subscription.md)]
4039

41-
:::image type="content" source="media/rack-aware-clustering-overview/rack-aware-cluster-vm-sign-in.png" alt-text="Screenshot showing VM sign in." lightbox="media/rack-aware-clustering-overview/rack-aware-cluster-vm-sign-in.png":::
40+
### Set the parameters
4241

4342
1. Set the parameters:
4443

@@ -56,16 +55,30 @@ If all machines within a zone are down, the VM can migrate to another machine ou
5655
$nicName ="local-vnic"
5756
$storagePathName = "local-sp"
5857
$storagePathId = "/subscriptions/<Subscription ID>/resourceGroups/local-rg/providers/Microsoft.AzureStackHCI/storagecontainers/local-sp"
59-
$zone = local-zone
58+
$zone = "local-zone"
6059
```
6160
61+
You can now create the Azure Local VM in a specific availability zone with or without strict placement.
62+
63+
### Create a VM in a specific availability zone without strict placement
64+
65+
Once you have set up availability zones in a rack aware cluster, you can create Azure Local VMs on a specific availability zone to reduce latency, improve performance, ensure redundancy, and meet compliance requirements.
66+
67+
When you create a VM in a specific availability zone, the default option is without strict placement. The VM is created on a machine within the specified zone (using the `--zone` flag).
68+
69+
If all machines within a zone are down, the VM can migrate to another machine outside of the zone. However, the VM attempts to fail back to a machine within the original zone when that availability zone recovers.
70+
71+
> [!NOTE]
72+
> If no zone is specified when creating an Azure Local VM, the system automatically chooses an optimal placement within the rack aware cluster.
73+
74+
6275
1. Run the following command:
6376
6477
```azurecli
6578
az stack-hci-vm create --name $vmName --resource-group $resource_group --admin-username $userName --admin-password $password --computer-name $computerName --image $imageName --location $location --authentication-type all --nics $nicName --custom-location $customLocationID --hardware-profile memory-mb="8192" processors="4" --storage-path-id $storagePathId –zone $zone
6679
```
6780
68-
1. Verify that the VM was created in the desired zone. Look under `placementProfile` in the output.
81+
1. Verify that the VM is created in the desired zone. Look under the `placementProfile` in the output.
6982
7083
```azurecli
7184
"placementProfile": {
@@ -74,9 +87,14 @@ If all machines within a zone are down, the VM can migrate to another machine ou
7487
},
7588
```
7689
77-
## Create a VM in a specific availability zone with strict placement enabled
90+
### Create a VM in a specific availability zone with strict placement enabled
91+
92+
To create a VM in a specific availability zone and ensure it stays within that availability zone, you can specify another flag `--strict-placement` to `true`. The VM is created on a node within the specified zone (`--zone`). If all machines within a zone are down, the VM also goes down.
93+
94+
> [!TIP]
95+
> Only enable strict placement if the VM isn't required to be always running or needs to adhere to a specific availability zone due to compliance requirements.
7896
79-
To create a VM in a specific availability zone and ensure it stays within that availability zone, you can specify another flag `--strict-placement` to `true`. The VM is created on a node within the specified zone (`--zone`). If all machines within a zone are down, the VM also goes down. Only enable strict placement if the VM isn't required to be always running or needs to adhere to a specific availability zone due to compliance requirements.
97+
Follow these steps to create a VM in a specific availability zone with strict placement enabled:
8098
8199
1. Run the following command:
82100

0 commit comments

Comments
 (0)