XenApp 7.14 – (Really) Manage a DR!

Posted on Posted in Citrix

Announced a few days ago, the 7.14 version includes a new cool feature : Now, you can really manage the disaster recovery of a XenApp environment!

Before 7.14, the only setting available to manage the load throttling was this one:

Concurrent Logon Tolerance setting

You can control the number of pending logons a server delivering Server OS machines can concurrently accept by setting the Concurrent Logon tolerance. This helps avoid server performance problems.

The Concurrent Logon Tolerance setting is equivalent to Load Throttling in XenApp.

If all servers are at or higher than the Concurrent Logons Tolerance setting, the next logon request is assigned to the server with the lowest pending logons. If more than one server meets this criteria, the server with the lowest load index is selected.

 

Like I described during E2EVC events in Sydney and Tokyo, in case of an active/active DR scenario, if one of the site goes down and users try to reconnect massively, the second site will die due to the load that can’t be handle by the remaining server.

This is why, I’ve created an enhancement request through the Citrix support team, and here we are! There is a new feature in the product!

At present, the feature is not exposed in the graphical interface and should be set on all of your Delivery Controllers through a registry key

 

The registry value is the following:

HKLM\Software\Policies\Citrix\DesktopServer\LogonToleranceIsHardLimit

In order to enforce the Concurrent Logon Tolerance setting, the value of this DWORD should be set to 1.

 

Here is the .reg file to configure the enforcement:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Citrix\DesktopServer]

“LogonToleranceIsHardLimit”=dword:00000001

 

After that, the user who tries to connect during a high load, will not be able to logon if there is already enough “inProgress” session on every available server in the selected Delivery Group:

 

A warning event is created in the broker application eventlog:

2 thoughts on “XenApp 7.14 – (Really) Manage a DR!

Leave a Reply