A pooled host pool has 10 session hosts and a custom max session limit of 15. A power management scaling plan is assigned to the host pool. No session hosts have an exclusion tag. The ramp-up phase uses a Minimum percentage of hosts of 25% and a Capacity threshold of 60%.
When the ramp-up phase starts, all session hosts are deallocated and no users are connected.
How many session hosts does autoscale keep turned on, and above how many user sessions will autoscale turn on another session host?
The minimum percentage of hosts is converted to a host count and rounded up, so 25% of 10 hosts means 3 hosts stay on during ramp-up. Available capacity is based on the hosts that are turned on multiplied by the max session limit: 3 x 15 = 45. When the user sessions exceed 60% of that capacity (27), autoscale turns on another session host, as in the documented example where 2 hosts x 20 sessions at 75% trigger a third host above 30 sessions.
- Not correct: 3 session hosts; more than 18 user sessions. This treats 60% as the free capacity left (trigger at 40% used). In the documented example, a host is added when the sessions exceed the threshold percentage of the running capacity, which here is 27.
- Correct: 3 session hosts; more than 27 user sessions. 25% of 10 hosts is 2.5, which is rounded up to 3. Three running hosts with a limit of 15 give a capacity of 45, and 60% of 45 is 27, so a fourth host starts above 27 sessions.
- Not correct: 3 session hosts; more than 90 user sessions. This applies the threshold to all 10 hosts (150 sessions). Capacity is calculated from the hosts that are turned on, 3 x 15 = 45, so the trigger is above 27 sessions.
- Not correct: 2 session hosts; more than 18 user sessions. This rounds 2.5 hosts down to 2. Autoscale rounds a fractional host count up, so 3 hosts are kept on.