How Parallels RAS Autoscaling works with RDSH based on RAS Template

2 users found this article helpful

This article describes how the Parallels RAS Autoscale mechanism operates with RDSH host pools that are provisioned using a RAS Template.

When creating or modifying a host pool, Parallels RAS allows you to configure several Autoscale settings to automatically add, power on, drain, or remove RDSH hosts based on workload thresholds.

Available settings

Setting name Explanation

Min number of hosts to be added to the host pool from template

Specifies the minimum number of hosts that will be automatically added when the template is assigned to the host pool.

This number includes both powered-on or powered-off hosts as defined under Host Pool > Provisioning > Host Settings.
Hosts may remain powered off until session demand triggers their automatic startup (see Add new or power on existing hosts when workload threshold is above (%) ).

Max number of hosts to be added to the host pool from template

This is the number of maximum hosts a host pool is allowed to have. At no time the number of hosts in a host pool should exceed this number.
Add new or power on existing hosts when workload threshold is above (%) This is the workload % of the host pool required to trigger a request (refer to the workload calculation explained below).

Number of hosts to be added to the host pool per request

This is the number of hosts to be added per request, if the number of hosts to be requested is going to exceed the maximum number of allowed hosts, the auto-scaling engine only adds the required servers.

Drain and power off hosts from host pool when workload is below (%) and Workload remains below this level for:

This is the workload % of the host pool required to trigger un-assignment (removal of host from host pool). If workload remains below is not set to immediate, then it will only trigger the un-assignment if the workload % of host pool is still below after the remains below time has elapsed. Please note that if in between the first un-assignment trigger and the second check after the remains below time has elapsed the workload % meets the request criteria, the un-assignment request is discarded.

Remove hosts from host pool after drain and power off

Specifies if hosts should be removed from the host pool after being drained and powered off.

.

 

Workload calculation

The RDSH host pool workload is determined by comparing the number of active and disconnected sessions against the maximum session capacity configured for that pool.

Formula

Workload % = (Current Sessions ÷ Max Sessions) × 100

Session data can be monitored from the Site Info or Session Management sections within the RAS Console.

 

Autoscale Trigger Conditions

The checks for RDSH template requests and un-assignment are triggered by one of the following scenarios:

Note: Only the Primary Connection Broker of each site will trigger/process the mentioned checks. The check is not triggered immediately when the apply notification is received because there might be agents that need to be redistributed in a multiple Connection Brokers environment.

 

Example

Given environment

Min number of hosts to be added to the host pool from Template: 1
Max. Sessions 50
Max number of hosts to be added to the host pool from Template: 5
Add new or power on existing hosts when workload threshold is above (%): 60
Number of hosts to be added to the host pool per request: 1
Drain and power off host pool from group when workload is below (%)  20
and Workload remain below this level for Immediate
Remove hosts from host pool after drain and power off Enable

 

Scenario

Was this article helpful?

Tell us how we can improve it.