AVD Hybrid on VMware vSphere: Enable personal host pool Auto-scaling

Note

The feature is in Public Preview.

Single-user personal desktop host pools provide each user with a dedicated, permanently assigned host VM. This host VM can be used only by the assigned user. Auto-scaling can be configured to keep desktops on during pre-defined working hours and automatically shut them off outside of those hours. Users can manually turn their desktops on and off using the "End-user" RBAC role.

Nerdio Manager allows you to perform auto-scaling on vSphere personal host pools. This enables the following:

  • Personal desktops can be automatically powered on and off on a schedule. Auto-scale is schedule-based only for vSphere personal host pools, so the user-driven mode available for Azure personal host pools is not offered.

  • New desktops can be added automatically when the number of unassigned desktops runs low (Auto-grow).

  • Auto-healing automatically attempts to repair "broken" session hosts by restarting them or running scripted actions against them (for example, re-installing the AVD agent). Deletion and recreation is not offered for personal hosts, since they carry user data.

To configure auto-scale for a vSphere personal host pool:
  1. Navigate to Host Pools, select the Hybrid Host Pools area, and locate the vSphere personal host pool you wish to work with. From the more options menu, select Enable auto-scale.

  2. Enter the following information:

    UI Element

    Type

    Description

    Auto-scale timezone

    Drop-down list

    Select the time zone for the auto-scale process.

  3. 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. The Hybrid Client App service principal must have the Azure Connected Machine Onboarding role on this resource group.

    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 vSphere configuration (vCenter Server instance) that hosts the new session hosts. vSphere configurations are set up in Integrations.

    Datacenter

    Drop-down list

    Select the vSphere datacenter where new session hosts are created. Available after you select a vSphere configuration.

    Folder

    Drop-down list

    Select the vSphere VM folder where new session hosts are placed. Available after you select a datacenter.

    Resource pool

    Drop-down list

    Select the vSphere resource pool where new session hosts run. Available after you select a datacenter.

    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 (1 to 1024).

    VM naming

    Drop-down list

    Select the naming mode for hosts created by auto-scale or auto-grow.

    • 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.

    Note

    New session hosts are cloned from the selected VM template. The network must provide DHCP. Nerdio Manager customizes and domain-joins each new VM during provisioning, so the template does not need to be generalized (sysprepped) in advance. See AVD Hybrid on VMware vSphere: Create a VM template.

  4. Select the Default schedule or Alternative schedule area, and enter the following information:

    UI Element

    Type

    Description

    Schedule

    Toggle

    Alternative schedule area only. Toggle on to use the settings in this area during the days and dates you select below. Outside of this schedule, auto-scale uses the settings from the Default schedule area.

    Days

    Drop-down list (multi-select)

    Alternative schedule area only. Select the days of the week on which the alternative schedule applies.

    Dates

    Date range picker

    Alternative schedule area only. Optional. Add one or more date ranges during which the alternative schedule applies.

    Auto-scale mode

    Drop-down list (disabled)

    Fixed to Schedule-based. vSphere personal host pools do not support user-driven auto-scaling.

    Auto-scale profile

    Drop-down list

    Select a shared profile, or Custom to configure the settings below manually.

  5. Enter the following Working Hours information:

    UI Element

    Type

    Description

    Work days

    Drop-down list (multi-select)

    Select the days on which desktops should be powered on (for example, Monday - Friday).

    Working hours

    Drop-down lists (start and end, hour + minute)

    Select the start and end times of the working hours window.

    Power off aggressiveness

    Drop-down list

    • High: power off all VMs, including those with active or disconnected sessions, after sending a warning message first.

    • Medium: power off only VMs without an active session.

    • Low: only power off VMs with no active or disconnected sessions.

    Power on timing

    Drop-down list

    Select Never, Once, or Continuously to control whether/how VMs are powered on at the start of working hours.

    Power off timing

    Drop-down list

    Select Never, Once, or Continuously to control whether/how VMs are powered off at the end of working hours.

    Include hosts without assigned user

    Checkbox

    Optional. Include unassigned desktops in the auto-scale process.

  6. Enter the following Auto-Grow information:

    Note

    Auto-grow is available for vSphere personal host pools, but the Auto-Grow section appears only in Nerdio Manager environments where this feature is enabled. If you don't see it, contact your Nerdio account team.

    UI Element

    Type

    Description

    Auto-grow

    Toggle

    Toggle on to enable auto-grow. Disabled by default.

    Add a new host when the number of available (not assigned to a user) falls below

    Number field + drop-down list

    Type the threshold (up to 50), and select whether it is a number of Desktops or a % of total desktops. When the number of unassigned desktops falls below this threshold, a new host is added using the template above.

  7. Enter the following Messaging information:

    UI Element

    Type

    Description

    Send a warning message to active users

    Drop-down list

    Select the number of minutes before powering off the desktop that the warning message should be sent (for example, 10 minutes).

    Message content

    Text field

    Type the message to send to active users before powering off their desktop. For example: "Sorry for the interruption. This desktop will be powered off in 10 minutes. Please save your work and log out."

  8. Enter the following Auto-Heal Broken Hosts information:

    Note

    Auto-scale can automatically attempt to repair "broken" session hosts by restarting them or running scripted actions (for example, re-installing the AVD agent). Deleting or recreating the host is not offered here, because personal hosts carry user data.

    UI Element

    Type

    Description

    Auto-heal broken hosts

    Toggle

    Toggle on to enable auto-heal. Disabled by default.

    Sign of a broken host: AVD agent status

    Drop-down list (multi-select)

    Select the AVD agent status values (for example, Stale heartbeat (>2hrs)) that mark a session host as broken, and select whether the host Has no sessions, Has no active sessions, or Even has active sessions.

    First action timeout

    Number field (minutes)

    Type the number of minutes to wait after a host is detected as broken before running the first recovery action.

    Recovery actions

    Drop-down list (multi-select)

    Select one or more recovery actions to run, in order: Restart VM and/or scripted actions. Once the host leaves the broken state, the remaining actions do not run.

    Timeout between recovery actions

    Number field (minutes)

    Type the number of minutes to wait after each recovery action before running the next one.

  9. Toggle Auto-scale On, and select Save.

Was this article helpful?

0 out of 0 found this helpful
Have more questions? Submit a request

Comments (0 comments)

Article is closed for comments.