Skip to content

Commit 6c7c83c

Browse files
Merge pull request #288165 from dknappettmsft/avd-autoscale-hci-ga
AVD autoscale HCI GA
2 parents 91549c6 + 9ae019e commit 6c7c83c

File tree

2 files changed

+21
-25
lines changed

2 files changed

+21
-25
lines changed

articles/virtual-desktop/autoscale-create-assign-scaling-plan.md

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: Create and assign an autoscale scaling plan for Azure Virtual Desktop
33
description: How to create and assign an autoscale scaling plan to optimize deployment costs.
44
author: dknappettmsft
55
ms.topic: how-to
6-
ms.date: 04/18/2024
6+
ms.date: 10/07/2024
77
ms.author: daknappe
88
ms.custom: references_regions, devx-track-azurepowershell, docs_inherited
99
---
@@ -13,11 +13,10 @@ Autoscale lets you scale your session host virtual machines (VMs) in a host pool
1313

1414
To learn more about autoscale, see [Autoscale scaling plans and example scenarios in Azure Virtual Desktop](autoscale-scenarios.md).
1515

16-
>[!NOTE]
16+
> [!NOTE]
1717
> - Azure Virtual Desktop (classic) doesn't support autoscale.
1818
> - You can't use autoscale and [scale session hosts using Azure Automation and Azure Logic Apps](scaling-automation-logic-apps.md) on the same host pool. You must use one or the other.
1919
> - Autoscale is available in Azure and Azure Government.
20-
> - Autoscale support for Azure Stack HCI with Azure Virtual Desktop is currently in PREVIEW. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
2120
2221
For best results, we recommend using autoscale with VMs you deployed with Azure Virtual Desktop Azure Resource Manager templates or first-party tools from Microsoft.
2322

@@ -47,7 +46,7 @@ To learn how to assign the *Desktop Virtualization Power On Off Contributor* rol
4746

4847
## Create a scaling plan
4948

50-
### [Portal](#tab/portal)
49+
### [Azure portal](#tab/portal)
5150

5251
Now that you've assigned the *Desktop Virtualization Power On Off Contributor* role to the service principal on your subscriptions, you can create a scaling plan. To create a scaling plan using the portal:
5352

@@ -110,8 +109,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
110109

111110
- For **Load balancing**, you can select either breadth-first or depth-first load balancing. Breadth-first load balancing distributes new user sessions across all available session hosts in the host pool. Depth-first load balancing distributes new sessions to any available session host with the highest number of connections that hasn't reached its session limit yet. For more information about load-balancing types, see [Configure the Azure Virtual Desktop load-balancing method](configure-host-pool-load-balancing.md).
112111

113-
> [!NOTE]
114-
> You can't change the capacity threshold here. Instead, the setting you entered in **Ramp-up** will carry over to this setting.
112+
> [!NOTE]
113+
> You can't change the capacity threshold here. Instead, the setting you entered in **Ramp-up** will carry over to this setting.
115114
116115
- For **Ramp-down**, you'll enter values into similar fields to **Ramp-up**, but this time it will be for when your host pool usage drops off. This will include the following fields:
117116

@@ -121,14 +120,14 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
121120
- Capacity threshold (%)
122121
- Force logoff users
123122

124-
> [!IMPORTANT]
125-
> - If you've enabled autoscale to force users to sign out during ramp-down, the feature will choose the session host with the lowest number of user sessions (active and disconnected) to shut down. Autoscale will put the session host in drain mode, send those user sessions a notification telling them they'll be signed out, and then sign out those users after the specified wait time is over. After autoscale signs out those user sessions, it then deallocates the VM.
126-
>
127-
> - If you haven't enabled forced sign out during ramp-down, you then need to choose whether you want to shut down ‘VMs have no active or disconnected sessions’ or ‘VMs have no active sessions’ during ramp-down.
128-
>
129-
> - Whether you’ve enabled autoscale to force users to sign out during ramp-down or not, the [capacity threshold](autoscale-glossary.md#capacity-threshold) and the [minimum percentage of hosts](autoscale-glossary.md#minimum-percentage-of-hosts) are still respected, autoscale will only shut down VMs if all existing user sessions (active and disconnected) in the host pool can be consolidated to fewer VMs without exceeding the capacity threshold.
130-
>
131-
> - You can also configure a time limit policy that will apply to all phases to sign out all disconnected users to reduce the [used host pool capacity](autoscale-glossary.md#used-host-pool-capacity). For more information, see [Configure a time limit policy](#configure-a-time-limit-policy).
123+
> [!IMPORTANT]
124+
> - If you've enabled autoscale to force users to sign out during ramp-down, the feature will choose the session host with the lowest number of user sessions (active and disconnected) to shut down. Autoscale will put the session host in drain mode, send those user sessions a notification telling them they'll be signed out, and then sign out those users after the specified wait time is over. After autoscale signs out those user sessions, it then deallocates the VM.
125+
>
126+
> - If you haven't enabled forced sign out during ramp-down, you then need to choose whether you want to shut down ‘VMs have no active or disconnected sessions’ or ‘VMs have no active sessions’ during ramp-down.
127+
>
128+
> - Whether you’ve enabled autoscale to force users to sign out during ramp-down or not, the [capacity threshold](autoscale-glossary.md#capacity-threshold) and the [minimum percentage of hosts](autoscale-glossary.md#minimum-percentage-of-hosts) are still respected, autoscale will only shut down VMs if all existing user sessions (active and disconnected) in the host pool can be consolidated to fewer VMs without exceeding the capacity threshold.
129+
>
130+
> - You can also configure a time limit policy that will apply to all phases to sign out all disconnected users to reduce the [used host pool capacity](autoscale-glossary.md#used-host-pool-capacity). For more information, see [Configure a time limit policy](#configure-a-time-limit-policy).
132131
133132
- Likewise, **Off-peak hours** works the same way as **Peak hours**:
134133

@@ -156,8 +155,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
156155

157156
- For **VMs to start**, select whether you want only personal desktops that have a user assigned to them at the start time to be started, you want all personal desktops in the host pool (regardless of user assignment) to be started, or you want no personal desktops in the pool to be started.
158157

159-
> [!NOTE]
160-
> We highly recommend that you enable Start VM on Connect if you choose not to start your VMs during the ramp-up phase.
158+
> [!NOTE]
159+
> We highly recommend that you enable Start VM on Connect if you choose not to start your VMs during the ramp-up phase.
161160
162161
- For **When disconnected for**, specify the number of minutes a user session has to be disconnected before performing a specific action. This number can be anywhere between 0 and 360.
163162

@@ -194,7 +193,7 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
194193
195194
1. Once you're done, go to the **Review + create** tab and select **Create** to create and assign your scaling plan to the host pools you selected.
196195

197-
### [PowerShell](#tab/powershell)
196+
### [Azure PowerShell](#tab/powershell)
198197

199198
Here's how to create a scaling plan using the Az.DesktopVirtualization PowerShell module. The following examples show you how to create a scaling plan and scaling plan schedule. Be sure to change the `<placeholder>` values for your own.
200199

@@ -369,7 +368,7 @@ To configure a time limit policy using Group Policy:
369368

370369
Select the relevant tab for your scenario.
371370

372-
### [Portal](#tab/portal)
371+
### [Azure Portal](#tab/portal)
373372

374373
To edit an existing scaling plan using the Azure portal:
375374

@@ -385,7 +384,7 @@ To edit an existing scaling plan using the Azure portal:
385384

386385
1. To edit the plan's friendly name, description, time zone, or exclusion tags, go to the **Properties** tab.
387386

388-
### [PowerShell](#tab/powershell)
387+
### [Azure PowerShell](#tab/powershell)
389388

390389
Here's how to update a scaling plan using the Az.DesktopVirtualization PowerShell module. The following examples show you how to update a scaling plan and scaling plan schedule.
391390

@@ -437,7 +436,7 @@ You can assign a scaling plan to any existing host pools of the same type in you
437436
438437
If you disable a scaling plan, all assigned resources will remain in the state they were in at the time you disabled it.
439438
440-
### [Portal](#tab/portal)
439+
### [Azure Portal](#tab/portal)
441440
442441
To assign a scaling plan to existing host pools:
443442
@@ -455,7 +454,7 @@ To assign a scaling plan to existing host pools:
455454
> [!div class="mx-imgBorder"]
456455
> ![A screenshot of the scaling plan window. The "enable autoscale" check box is selected and highlighted with a red border.](media/enable-autoscale.png)
457456
458-
### [PowerShell](#tab/powershell)
457+
### [Azure PowerShell](#tab/powershell)
459458
460459
1. Assign a scaling plan to existing host pools using [Update-AzWvdScalingPlan](/powershell/module/az.desktopvirtualization/update-azwvdscalingplan). The following example assigns a personal scaling plan to two existing personal host pools.
461460

articles/virtual-desktop/start-virtual-machine-connect.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,11 @@ description: Learn how to enable or disable Start VM on Connect for Azure Virtua
44
ms.topic: how-to
55
author: dknappettmsft
66
ms.author: daknappe
7-
ms.date: 06/04/2024
7+
ms.date: 10/07/2024
88
---
99

1010
# Configure Start VM on Connect
1111

12-
> [!IMPORTANT]
13-
> Start VM on Connect for Azure Stack HCI with Azure Virtual Desktop is currently in PREVIEW. See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
14-
1512
Start VM on Connect lets you reduce costs by enabling end users to power on the virtual machines (VMs) used as session hosts only when they're needed. You can then power off VMs when they're not needed.
1613

1714
For personal host pools, Start VM on Connect only powers on an existing session host VM that is already assigned or can be assigned to a user. For pooled host pools, Start VM on Connect only powers on a session host VM when none are turned on and more VMs are only be turned on when the first VM reaches the session limit.

0 commit comments

Comments
 (0)