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
Copy file name to clipboardExpand all lines: articles/virtual-desktop/autoscale-create-assign-scaling-plan.md
+19-19Lines changed: 19 additions & 19 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ 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.
@@ -46,7 +46,7 @@ To learn how to assign the *Desktop Virtualization Power On Off Contributor* rol
46
46
47
47
## Create a scaling plan
48
48
49
-
### [Portal](#tab/portal)
49
+
### [Azure portal](#tab/portal)
50
50
51
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:
52
52
@@ -109,8 +109,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
109
109
110
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).
111
111
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.
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.
114
114
115
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:
116
116
@@ -120,14 +120,14 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
120
120
- Capacity threshold (%)
121
121
- Force logoff users
122
122
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).
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).
131
131
132
132
- Likewise, **Off-peak hours** works the same way as **Peak hours**:
133
133
@@ -155,8 +155,8 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
155
155
156
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.
157
157
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.
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.
160
160
161
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.
162
162
@@ -193,7 +193,7 @@ Now that you've assigned the *Desktop Virtualization Power On Off Contributor* r
193
193
194
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.
195
195
196
-
### [PowerShell](#tab/powershell)
196
+
### [Azure PowerShell](#tab/powershell)
197
197
198
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.
199
199
@@ -368,7 +368,7 @@ To configure a time limit policy using Group Policy:
368
368
369
369
Select the relevant tab for your scenario.
370
370
371
-
### [Portal](#tab/portal)
371
+
### [Azure Portal](#tab/portal)
372
372
373
373
To edit an existing scaling plan using the Azure portal:
374
374
@@ -384,7 +384,7 @@ To edit an existing scaling plan using the Azure portal:
384
384
385
385
1. To edit the plan's friendly name, description, time zone, or exclusion tags, go to the **Properties** tab.
386
386
387
-
### [PowerShell](#tab/powershell)
387
+
### [Azure PowerShell](#tab/powershell)
388
388
389
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.
390
390
@@ -436,7 +436,7 @@ You can assign a scaling plan to any existing host pools of the same type in you
436
436
437
437
If you disable a scaling plan, all assigned resources will remain in the state they were in at the time you disabled it.
438
438
439
-
### [Portal](#tab/portal)
439
+
### [Azure Portal](#tab/portal)
440
440
441
441
To assign a scaling plan to existing host pools:
442
442
@@ -454,7 +454,7 @@ To assign a scaling plan to existing host pools:
454
454
> [!div class="mx-imgBorder"]
455
455
> 
456
456
457
-
### [PowerShell](#tab/powershell)
457
+
### [Azure PowerShell](#tab/powershell)
458
458
459
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.
0 commit comments