Forum Discussion
Azure Virtual Desktop (AVD) | Scaling plans and Autoscaling
- Oct 19, 2021
Please verify documentation here: https://docs.microsoft.com/en-us/azure/virtual-desktop/autoscale-scaling-plan., which came with slight delay. When searching the table of contents for autoscale you will find additional articles how to use diagnostics and FAQ
Ensure your review limitations and ensure you have the custom RBAC role set-up :)!
Great work. I do have a question regarding the Capacity treshold during ramp-up/ramp-down.
The docs state:
- Capacity threshold (%): This percentage evaluates whether to turn on/off VMs during the ramp-up and peak hours. So if your total host pool capacity is 100 sessions, and you specify a 60% Capacity threshold, once you exceed it, then autoscale will turn on additional session hosts.
Is this treshold calculated based on the current capacity? So let's say I have 10VM's in total, 10 sessions per/VM, Total capacity is 100 sessions. 2 hosts are active, which means current capacity is 20. If we set capacity to 60%, will it ramp up when 60% of 20 is reached of 60% of 100. The first seems logical, but that's not what the docs are saying, since it refers to "total host pool capacity".
- evasseOct 25, 2021Bronze ContributorThe calculation goes always from the total host pool capacity.
- Robert FolkersOct 25, 2021Copper Contributor
evasse That makes no sense, an example:
Host pool with 10 hosts x10 sessions = 100 sessions max.
Ramp up starts @ 8AM
Ramp up capacity treshold is 60%
Hosts at start ramp up is 40%
In this case @ 8AM, 4 hosts (40%) will be active and max 40 people can login. Based on the docs and what you're saying, no more hosts will be started, because we never hit 60% (=60 sessions) of total capacity.
If I'm mistaken, please elaborate where my logic is flawed.
- schmidtp_duna-drava_huNov 24, 2021Copper Contributor
Robert Folkers To my understanding the threshold of 60% means the actual user sessions / all user sessions on the currently running VMs.