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-faq.yml
+12-7Lines changed: 12 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -4,7 +4,7 @@ metadata:
4
4
description: Frequently asked questions and best practices for Azure Virtual Desktop.
5
5
author: Heidilohr
6
6
ms.topic: faq
7
-
ms.date: 04/14/2022
7
+
ms.date: 02/13/2023
8
8
ms.author: helohr
9
9
ms.custom: devx-track-azurepowershell
10
10
manager: femila
@@ -48,22 +48,22 @@ sections:
48
48
- question: |
49
49
If I set drain mode on session hosts, will autoscale change my configured setting?
50
50
answer: |
51
-
Yes, autoscale will still turn VMs in drain mode on or off, no matter who put it in drain mode. Autoscale overrides drain mode on all VMs included in scaling, so if you want to exclude a VM from scaling actions, you must use exclusion tags.
51
+
Yes, autoscale still turns VMs in drain mode on or off, no matter who put it in drain mode. Autoscale overrides drain mode on all VMs included in scaling, so if you want to exclude a VM from scaling actions, you must use exclusion tags.
52
52
53
53
- question: |
54
54
How often does autoscale monitor the session hosts and perform scaling evaluations?
55
55
answer: |
56
-
Autoscale monitors for when users sign in or out of their session hosts and categorizes this activity as session change events. Session change events trigger a scaling evaluation that creates logs. If there aren't any session change events or the event service has an outage, autoscale then checks to see if it missed any events. When several session change events happen within a short time period, then the feature will batch the scaling evaluations. This batching allows autoscale to process large numbers of events quickly without overloading the system.
56
+
Autoscale monitors for when users sign in or out of their session hosts and categorizes this activity as session change events. Session change events trigger a scaling evaluation that creates logs. If there aren't any session change events or the event service has an outage, autoscale then checks to see if it missed any events. When several session change events happen within a short time period, the feature batches the scaling evaluations. This batching allows autoscale to process large numbers of events quickly without overloading the system.
57
57
58
58
- question: |
59
59
Can force sign-out happen in any phase of the day?
60
60
answer: |
61
-
No. If you've enabled autoscale, you can only force users to sign out during the ramp-down phase. This means that if, during ramp-down, a session host is put in drain mode in preparation for it to be shut down but not all users get signed out before the phase changes to off-peak, the remaining user sessions will not be forced to sign out from their session. This is because during off-peak hours, users aren't forced to sign out of their sessions. Instead, autoscale will wait until all users have signed out before deallocating the VM. For example, if the ramp-down phase is 15 minutes long, and the wait time before signing out users and shutting down VMs is 20 minutes long, the schedule will shift to the off-peak phase and the user sessions will not be forced to sign out.
61
+
No. If you've enabled autoscale, you can only force users to sign out during the ramp-down phase. If you put a session host in drain mode during ramp-down to prepare it to be shut down but not all users sign out before the phase changes to off-peak, the remaining user sessions won't be forced to sign out from their session. The reason users aren't signed out is because autoscale doesn't force users to sign out of their sessions during off-peak hours. Instead, autoscale waits until all users have signed out before deallocating the VM. For example, if the ramp-down phase is 15 minutes long, and the wait time before signing out users and shutting down VMs is 20 minutes long, the schedule shifts to the off-peak phase and the user sessions won't be forced to sign out.
62
62
63
63
- question: |
64
64
If I configure autoscale to force users to sign out during ramp-down, will it also sign out users with active sessions?
65
65
answer: |
66
-
Yes. Idle, disconnected, and active sessions will be forced to sign out if the users don't sign out during the ramp-down phase wait time.
66
+
Yes. Idle, disconnected, and active sessions are forced to sign out if the users don't sign out during the ramp-down phase wait time.
67
67
68
68
- question: |
69
69
If an active session is forced to sign out, but the user tries to reconnect, is there a way to prevent them from starting a new session on a session host that autoscale is about to turn off?
@@ -83,7 +83,7 @@ sections:
83
83
- question: |
84
84
Why would I want to configure the load balancing algorithm differently during different phases of the scaling plan schedule?
85
85
answer: |
86
-
When you set up your scaling plan schedule, you can specify different load balancing algorithms for different phases of the day. For example, during the ramp-up and peak phases, you can use the breadth-first load balancing algorithm. This algorithm will ensure you have an even distribution of user sessions during the first two phases of the day, which will optimize performance. Likewise, during the ramp-down and off-peak phases, you can use the depth-first load balancing algorithm to help the autsocale feature consolidate user sessions until it reaches the minimal possible number of session hosts in the host pool.
86
+
When you set up your scaling plan schedule, you can specify different load balancing algorithms for different phases of the day. For example, during the ramp-up and peak phases, you can use the breadth-first load balancing algorithm. This algorithm ensures you have an even distribution of user sessions during the first two phases of the day, which optimizes performance. Likewise, during the ramp-down and off-peak phases, you can use the depth-first load balancing algorithm to help the autsocale feature consolidate user sessions until it reaches the minimal possible number of session hosts in the host pool.
87
87
88
88
- question: |
89
89
Can you use Azure CLI to configure autoscale?
@@ -93,9 +93,14 @@ sections:
93
93
- question: |
94
94
Does autoscale handle scaling session hosts in secondary regions if the session hosts in the primary region have an outage?
95
95
answer: |
96
-
No. Customers will need to set up their own disaster recovery strategy to manage outages. Autoscale only handles scaling existing VMs within the region they're created in.
96
+
No. Customers need to set up their own disaster recovery strategy to manage outages. Autoscale only handles scaling existing VMs within the region they're created in.
97
97
98
98
- question: |
99
99
Does autoscale consider availability zones during scaling operations if session hosts are created in multiple zones within a region?
100
100
answer: |
101
101
No. Autoscale does not know what availability zone a VM was created in and so may not perform scaling operations across all zones equally.
102
+
103
+
- question: |
104
+
Can autoscale turn off all VMs in a host pool and still work properly?
105
+
answer: |
106
+
Autoscale can turn off all VMs in a host pool if the minimum percentage of hosts is set to 0% and there are no active user sessions in the host pool. However, if the last session host that’s been turned on in the host pool still has active user sessions on it, those users won’t be forced to sign out. The final VM won’t turn off until after those users sign out.
0 commit comments