When Elastic layers are assigned to VDAs they may fail to attach if VDA's are launched from shutdown

When Elastic layers are assigned to VDAs they may fail to attach if VDA's are launched from shutdown

book

Article ID: CTX693308

calendar_today

Updated On:

Description

Elastic layers intermittently fail to attach during session launch.

Layers are assigned to VDAs not users

Ulayersvc logs show the different group membership is determined during each launch

Working:

ActiveDirectoryInfoService: Machine Group SID(s): test\Domain Computers, test\group1, test\group2

Failure

ActiveDirectoryInfoService: Machine Group SID(s): test\Domain Computers, test\group1

CompositingManager: User <UPN> logged in successfully.  No elastic layers were attached.

Environment

Caution! Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it.

Resolution

Increase how frequently we try to determine machine groups. 

By default, we wait 30 seconds to retry polling the groups until we successfully grab the groups once, then we refresh every 10 minutes.

Add the following registry string value in order to set the interval to 5 seconds

Path: HKEY_LOCAL_MACHINE\SOFTWARE\Unidesk\ULayer

Type: REG_SZ

Name: StartupGroupRefreshInterval 

Value: 00:00:05.

This can be done in any non-elastic layer and added to the image

 


Problem Cause

Race condition on boot between layer attach and group membership determination