Note
The feature is in Public Preview.
Single-user dynamic desktop host pools provide each user a dedicated host VM for the duration of their session. Once the user logs off, the desktop is returned as an available session host to the pool and can be used by other users. Auto-scale can be flexibly configured to maintain a certain amount of available desktop capacity during various times of day and remove it (scale in) when no longer needed. When auto-scale is turned off, session hosts can be manually added to and removed from the host pool.
Note
By default, the Auto-scale option is disabled. When you enable auto-scaling, you can configure the desktop template (VM template, vSphere location, sizing), and set criteria for host pool sizing, scaling logic, scale-in restrictions, and messaging.
To enable vSphere host pool auto-scaling:
-
Navigate to Host Pools, select the Hybrid Host Pools area, and locate the dynamic vSphere host pool you wish to work with. From the more options menu, select Enable auto-scale.
-
Enter the following information:
UI Element
Type
Description
Auto-scale timezone
Drop-down list
Select the time zone for the auto-scale process.
-
Under Hosts will be provisioned based on the template for pool, enter the following information:
UI Element
Type
Description
Name
Text field + drop-down list
Type the name for newly added hosts, and select whether to use a Prefix or a Pattern.
-
Prefix can be used when creating multiple session hosts. The Prefix limit is 10 valid Windows computer name characters; a unique 4-character alphanumeric suffix is automatically appended (for example,
AVDHOST-s72h). Do not add a "-" to the Prefix. -
Pattern can be used to specify an advanced naming convention. Characters must be enclosed in
{}:#for sequential numbers,?for random alphanumeric characters (for example,AVDHOST{###}→AVDHOST000..AVDHOST999;AVDHOST-{???}→AVDHOST-d83, etc.).
Resource group
Drop-down list
Select the Azure resource group where the Arc-enabled machine resources for new session hosts are registered.
Location
Drop-down list
Select the Azure region where the Arc-enabled machine resources are registered. This should match your Arc onboarding configuration.
vSphere configuration
Drop-down list
Select the linked vSphere (vCenter Server) instance that hosts the new session hosts. Instances are linked in Settings > Integrations.
Datacenter
Drop-down list
Select the vSphere datacenter where new session hosts are created.
Folder
Drop-down list
Select the vSphere VM folder where new session hosts are placed.
Resource pool
Drop-down list
Select the vSphere resource pool where new session hosts run.
VM template
Drop-down list
Select the vSphere VM template to use as the golden image for new session hosts. The list shows the templates in the selected datacenter.
Total vCPUs
Drop-down list
Select the number of virtual CPUs for new session hosts (1 to 64).
RAM (GB)
Drop-down list
Select the RAM for new session hosts, in GB.
VM naming
Drop-down list
Select the naming mode for newly added hosts.
-
Standard: use the next available name, regardless of previous usage.
-
Reuse: always attempt to reuse names that have been used previously.
-
Unique: never reuse names that have been used previously.
Automatically re-image used hosts
Drop-down list
Select whether hosts that had at least one user log in are automatically re-imaged when returned to the pool. Disabled by default.
-
Disabled: hosts are not re-imaged automatically.
-
Always: used hosts are always re-imaged.
-
During scale-in restrictions only: used hosts are re-imaged only during the scale-in restriction window. This option requires a scale-in restriction and cannot be used with the Spare (available) desktops trigger.
Note
Changes to the template will apply to newly created or re-imaged host VMs.
Note
New session hosts are cloned from the selected VM template. The network must provide DHCP, because Nerdio Manager configures the network adapter of each new host for DHCP. See AVD Hybrid on VMware vSphere: Create a VM template.
-
-
Select the Default schedule or Alternative schedule area, and enter Alternative schedule details if needed (Days, Dates, etc.).
-
Select the auto-scale profile:
UI Element
Type
Description
Auto-scale profile
Drop-down list
Select a shared profile, or Custom to configure the settings below manually.
-
Enter the following Host Pool Properties information:
UI Element
Type
Description
Session limit per host
Text field
Maximum sessions per host before a new host is started.
Load balancing
Drop-down list
-
Breadth first spreads users evenly across hosts.
-
Depth first fills one host before starting the next.
-
-
Enter the following Host Pool Sizing information:
UI Element
Type
Description
Measure type
Drop-down list
Select how host pool sizing values below are measured (for example, Count).
Active host defined as
Drop-down list
Select the active host definition. AVD agent available is recommended over "VM started."
Base host pool capacity
Text field
Number of session host VMs always part of the pool.
Min active host capacity
Text field
Minimum number of running hosts always available.
Burst beyond base capacity
Text field
Extra host capacity created above the base when demand requires it.
-
Enter the following Scaling Logic information for Auto-Scale Trigger 1:
UI Element
Type
Description
Auto-scale trigger type
Drop-down list
Select the auto-scale trigger for event-based scaling. Example shown: Spare (available) desktops. Spare (available) desktops is offered when Session limit per host is 1, and Available sessions is offered for higher limits. Avg active sessions is also available.
Maximum host pool sessions
Calculated value (read-only)
Cap on total sessions across the pool, calculated from host pool sizing.
Maintain up to X spare (available) desktops
Drop-down list + text field
Select when the target spare-desktop count applies (for example, Always), and type the number of spare desktops to maintain.
Note
CPU usage and RAM usage triggers are not supported on AVD Hybrid host pools. One auto-scale trigger can be configured per schedule.
-
Enter the following Scale in restrictions information:
Note
This feature is in Public Preview.
UI Element
Type
Description
Stop or remove (scale in) hosts only from
Drop-down list
Select when scale-in may occur (for example, Any).
Scale in aggressiveness
Drop-down list
Select High, Medium, or Low.
Deactivate (drain mode) hosts
Drop-down list
Available when you select a time window for Stop or remove (scale in) hosts only from. Select No or All but N. When enabled, all hosts except the minimum active hosts number specified above are deactivated (set to drain mode) at the start of the scale in time window.
-
Enter the following Rolling Drain Mode information:
UI Element
Type
Description
Rolling Drain Mode
Toggle
Toggle on to enable rolling drain mode. Disabled by default.
-
Enter the following Pre-Stage Hosts information:
UI Element
Type
Description
Pre-stage hosts
Toggle
Toggle on to enable host pre-staging. Disabled by default.
-
Enter the following Messaging information:
UI Element
Type
Description
Send a warning message to users on the host
Drop-down list
Select the number of minutes before scaling in that the warning message should be sent (for example, 10 minutes).
Message content
Text field
Type the message to send to users before scaling in a host. For example: "Sorry for the interruption. We are doing some housekeeping and need you to log out. You can log in right away to continue working. We will be terminating your session in 10 minutes if you haven't logged out by then."
-
Enter the following Auto-Heal Broken Hosts information:
Note
Auto-scale can automatically attempt to repair "broken" session hosts by restarting, running scripted actions (for example, re-installing the AVD agent), and deleting/recreating them.
UI Element
Type
Description
Auto-heal broken hosts
Toggle
Toggle on to enable auto-heal. Disabled by default.
-
Toggle Auto-scale On at the bottom of the page, and select Save.
Comments (0 comments)