Submit a request

Nerdio Help Center

Pre-stage schedules in NMM


Applies to: Nerdio Manager for MSP (NMM) v2.2.0


NMM allows you to configure multiple auto-scale pre-stage settings to ramp up host pool capacity during certain days of the week and times of days. The custom pre-stage schedule day selection can be set based on preset date ranges (e.g. Monday-Friday) or by selecting one or more individual days of the week. For example, in education environments, multiple schedules can be used to turn on session hosts based on a pre-defined class schedules for different grades.

Let us explore how you can configure pre-stage scheduling in NMM.

Login to NMM portal and click "Manage" option on an existing account:

Login_to_account.PNG

From the main menu on your account's page, select "AVD->Host pools" tab as shown below:

Select_AVD_hostpools.PNG

Select a host pool say "Nayan-Test" and expand "Manage Hosts" drop-down on it:

Hostpools_manage.PNG

Select "Manage Hosts->Auto-scale->Configure" option to configure auto-scale settings on your dynamic host pool:

Hostpool_autoscale_configure.PNG

 

You need to enable the auto-scale toggle switch (located on the right hand side of the screen) for your dynamic pool and choose appropriate settings for Host pool sizing, Scaling logic, Pre-stage hosts and Messaging sections as shown below:

Autoscale_ON_nayantest.PNG

You need to provide the following details:

NAME PREFIX: Name prefix to be used when creating multiple session hosts. Name prefix limit is 10 valid, Windows computer name characters. When using a prefix, the system will automatically append “-xxxx” (with four random characters) to the name prefix to make a unique name.

NETWORK: Select from drop-down

DESKTOP IMAGE (TEMPLATE): The image that the host VMs will be cloned from. 

VM SIZE (TEMPLATE): VM size of newly created session hosts.

RUNNING OS DISK (TEMPLATE): OS Disk type and size of newly created session hosts. Must be equal to or larger than the size of the Desktop Image selected above.

STOPPED OS DISK SIZE: Select from dropdown

Re-use host names: NMM will re-use names of previously destroyed hosts when creating new hosts.

Note: The changes to these settings will only apply to host VMs created after the changes. You can force a host to be resized/re-imaged to apply the new settings.

Host Pool Sizing

This section determines how many hosts will be available for the host pool. Select how you want to define the active host, enter values for base host capacity, minimum active host capacity and burst beyond base capacity:

Host_pool_sizing.PNG

Scaling Logic

In this section, you need to define the scaling logic based on which hosts will be scaled in or out.You need to provide the following details:

  • Select the autoscale trigger (CPU usage, average active sessions, available sessions)
  • Provide details for scale in and scale out criteria -start/stop certain number of hosts if CPU utilization exceeds/drops beyond a certain percentage
  • Provide criteria for scale in restrictions (specify time to remove/stop hosts) and scale-in aggressiveness (high, medium, low) specify  as shown below:

Scaling_logic.PNG

Pre-stage Hosts

This is the section that allows you to specify times at which the determined number of session hosts will be available to serve user logins. This allows you to ensure that hosts will be available to serve the anticipated user demand at the start of the work day. Use the slider at the right to enable the pre-stage behavior. Use  other fields to specify the timezone, which days are considered work days, what time of day the hosts should be available, the number of hosts to be enabled at that time and the scale-in delay.

Prestage_hosts.PNG

Enable "Use multiple schedules" flag to add more than one pre-stage host schedules. Then click "+" sign to add multiple non-overlapping pre-stage schedules as per your changing business needs. You can click "-" sign to remove previously added pre-stage schedules. This features helps you to power on session hosts in advance before working hours and thus prevent "logon storms".

Use_multiple_schedules.PNG

Messaging

This section determines the message that end users will see if the host they're connected to has been selected for scale-in. The user will need to log out and log back in, at which point they will be assigned to another host not targeted for scale-in.

Messaging.PNG

Auto-heal Broken Hosts

This section determines which actions NMM will take to repair hosts that are not responding properly. The statuses are reported by the Azure AVD agent.

Auto-heal-broken-hosts.PNG

You can leverage the “user-driven” multi-session host pool auto-scaling mode – new auto-scale trigger to scale out using Start VM on Connect and scale in based on lack of sessions on session host VMs. You can also combine user-driven scaling with pre-stage schedules to improve users' login experience during login storms and leverage scale in time restrictions.

 

 

 

Was this article helpful?
0 out of 0 found this helpful

Comments

Please sign in to leave a comment.