Skip to content

Commit e6a8192

Browse files
Merge pull request #226939 from Heidilohr/work-scaling-faq
Added new question to autoscale FAQ.
2 parents dadc0eb + 67d0b98 commit e6a8192

File tree

1 file changed

+12
-7
lines changed

1 file changed

+12
-7
lines changed

articles/virtual-desktop/autoscale-faq.yml

Lines changed: 12 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ metadata:
44
description: Frequently asked questions and best practices for Azure Virtual Desktop.
55
author: Heidilohr
66
ms.topic: faq
7-
ms.date: 04/14/2022
7+
ms.date: 02/13/2023
88
ms.author: helohr
99
ms.custom: devx-track-azurepowershell
1010
manager: femila
@@ -48,22 +48,22 @@ sections:
4848
- question: |
4949
If I set drain mode on session hosts, will autoscale change my configured setting?
5050
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.
5252
5353
- question: |
5454
How often does autoscale monitor the session hosts and perform scaling evaluations?
5555
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.
5757
5858
- question: |
5959
Can force sign-out happen in any phase of the day?
6060
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.
6262
6363
- question: |
6464
If I configure autoscale to force users to sign out during ramp-down, will it also sign out users with active sessions?
6565
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.
6767
6868
- question: |
6969
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:
8383
- question: |
8484
Why would I want to configure the load balancing algorithm differently during different phases of the scaling plan schedule?
8585
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.
8787
8888
- question: |
8989
Can you use Azure CLI to configure autoscale?
@@ -93,9 +93,14 @@ sections:
9393
- question: |
9494
Does autoscale handle scaling session hosts in secondary regions if the session hosts in the primary region have an outage?
9595
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.
9797
9898
- question: |
9999
Does autoscale consider availability zones during scaling operations if session hosts are created in multiple zones within a region?
100100
answer: |
101101
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

Comments
 (0)