Forum Discussion
LeonPlaat
Feb 14, 2023Copper Contributor
AVD scaling plan exclusion tag does not exclude host from total "max session limit" on host pool
Bear with me :), I'll start at the beginning A host pool has a property called “max session limit”. This is the amount of users PER host. Then we have scaling plans that can use a tag in order to e...
tommykneetz
Feb 21, 2023Iron Contributor
HI - you need to add the tag and enable drain mode.. then scaling plan should leave your hosts untouched
- LeonPlaatFeb 21, 2023Copper Contributor
Thanks tommykneetz for your input.
Although what you say is true that was not exactly the point I trying to get at.
Let say you have 10 hosts (with max session limit of 20 per host) and you put 5 of them in drainmode and add the tag, effectively having 5 hosts available. The scaling plan on the other hand still thinks it can host 200 sessions, even though in practice we can host only 100 sessions.
No sessions will go to the hosts that are in drain mode, but if the scaling setting "Minimum percentage of hosts (%) " is set to 80% it will try to spin up 8 hosts, which it cannot, so will spin up only 5.
Where I would expect it would take 80% of 5 hosts it actually takes 80% of 10 hosts.
I would love the option to change this.
- tommykneetzFeb 21, 2023Iron ContributorI will create my own test to check
- tommykneetzFeb 24, 2023Iron Contributoryes it is by design
- LeonPlaatFeb 24, 2023Copper ContributorThank you tommykneetz for checking that. Much appreciated.
I'de love Microsoft to change this or at least make it an option to set this manually. I think this is very confusing and more difficult to manage in a world where we should redeploy to do updates.
Thanks again for you effort.