Azure WVD - Host Pool Scaling plan not working?

Andrea Tordin 20 Reputation points
2024-10-22T10:56:59.8833333+00:00

Hello,

I have an host pool on Azure WVD with 30 session hosts with Windows 10 Single Session. My goal is to have only 1 VM in running state other than the VM running with 1 user session, the rest turned off. I have configured the pool Scaling Plan with the following options:

In General:

  • Repeat on: Everyday

In Ramp-up:

  • Start time (12 hour system): 06:00 AM
  • Load balancing algorithm: Depth-first- Minimum percentage of hosts (%): 3
  • Capacity threshold (%): 90

In Peak hours:

  • Start time (12 hour system): 08:00 AM
  • Load balancing algorithm: Depth-first
  • Capacity threshold (%): 90

In Ramp-down:

  • Start time (12 hour system): 07:00 PM
  • Load balancing algorithm: Depth-first
  • Minimum percentage of active hosts (%): 3
  • Capacity threshold (%): 90
  • Force sign out users: No
  • Stop VMs when: VMs have no active sessions
  • In Off-peak hours:
  • Start time (12 hour system): 08:00 PM
  • Load balancing algorithm: Depth-first
  • Capacity threshold (%): 90

With this configuration the scaling works correctly except for the VMs that leaves in running that don't have a session on, it seems that the pool always has at least 2 VMs without session in running, and I only want 1. Is the configuration correct? Why in Peak hours i am not able to select the percentage of hosts without a session I want to leave running?

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
9,035 questions
Azure Virtual Desktop
Azure Virtual Desktop
A Microsoft desktop and app virtualization service that runs on Azure. Previously known as Windows Virtual Desktop.
1,841 questions
{count} votes

Accepted answer
  1. Lijitha B 515 Reputation points Moderator
    2024-10-23T15:09:54.1666667+00:00

    Hi Andrea Tordin,

    I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer.

    Issue: You have an Azure WVD host pool with 30 session hosts and want to keep only 1 VM running (besides the one with an active user session) while the others are turned off. Your scaling plan has a minimum percentage of active hosts set to 3%, which seems to result in at least 2 VMs remaining active without sessions. In Peak hours, you can't specify a percentage for idle hosts to remain running. The configuration needs adjustments to meet your goal.

    Solution: The setting "Minimum percentage of hosts (%):" was actually fine with the set value 3, the setting I was not considering is Capacity threshold (%): which was configured with set value of 90. To get only 1 running VM as mentioned in previous posts, I had to configure it to 96%.

    If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.

    Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.