You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -13,11 +13,10 @@ Autoscale lets you scale your session host virtual machines (VMs) in a host pool
13
13
14
14
To learn more about autoscale, see [Autoscale scaling plans and example scenarios in Azure Virtual Desktop](autoscale-scenarios.md).
15
15
16
-
>[!NOTE]
16
+
>[!NOTE]
17
17
> - Azure Virtual Desktop (classic) doesn't support autoscale.
18
18
> - 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.
19
19
> - 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.
21
20
22
21
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.
23
22
@@ -47,7 +46,7 @@ To learn how to assign the *Desktop Virtualization Power On Off Contributor* rol
47
46
48
47
## Create a scaling plan
49
48
50
-
### [Portal](#tab/portal)
49
+
### [Azure portal](#tab/portal)
51
50
52
51
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:
53
52
@@ -110,8 +109,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
110
109
111
110
- 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).
112
111
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.
115
114
116
115
- 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:
117
116
@@ -121,14 +120,14 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
121
120
- Capacity threshold (%)
122
121
- Force logoff users
123
122
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).
132
131
133
132
- Likewise, **Off-peak hours** works the same way as **Peak hours**:
134
133
@@ -156,8 +155,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
156
155
157
156
- 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.
158
157
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.
161
160
162
161
- 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.
163
162
@@ -194,7 +193,7 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
194
193
195
194
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.
196
195
197
-
### [PowerShell](#tab/powershell)
196
+
### [Azure PowerShell](#tab/powershell)
198
197
199
198
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.
200
199
@@ -369,7 +368,7 @@ To configure a time limit policy using Group Policy:
369
368
370
369
Select the relevant tab for your scenario.
371
370
372
-
### [Portal](#tab/portal)
371
+
### [Azure Portal](#tab/portal)
373
372
374
373
To edit an existing scaling plan using the Azure portal:
375
374
@@ -385,7 +384,7 @@ To edit an existing scaling plan using the Azure portal:
385
384
386
385
1. To edit the plan's friendly name, description, time zone, or exclusion tags, go to the **Properties** tab.
387
386
388
-
### [PowerShell](#tab/powershell)
387
+
### [Azure PowerShell](#tab/powershell)
389
388
390
389
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.
391
390
@@ -437,7 +436,7 @@ You can assign a scaling plan to any existing host pools of the same type in you
437
436
438
437
If you disable a scaling plan, all assigned resources will remain in the state they were in at the time you disabled it.
439
438
440
-
### [Portal](#tab/portal)
439
+
### [Azure Portal](#tab/portal)
441
440
442
441
To assign a scaling plan to existing host pools:
443
442
@@ -455,7 +454,7 @@ To assign a scaling plan to existing host pools:
455
454
> [!div class="mx-imgBorder"]
456
455
> 
457
456
458
-
### [PowerShell](#tab/powershell)
457
+
### [Azure PowerShell](#tab/powershell)
459
458
460
459
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.
Copy file name to clipboardExpand all lines: articles/virtual-desktop/start-virtual-machine-connect.md
+1-4Lines changed: 1 addition & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,14 +4,11 @@ description: Learn how to enable or disable Start VM on Connect for Azure Virtua
4
4
ms.topic: how-to
5
5
author: dknappettmsft
6
6
ms.author: daknappe
7
-
ms.date: 06/04/2024
7
+
ms.date: 10/07/2024
8
8
---
9
9
10
10
# Configure Start VM on Connect
11
11
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
-
15
12
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.
16
13
17
14
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