Objective
Requirements
XenApp 6.5 farmBackground
XenApp 6.5 offers new roles, including a worker role (session host only) and a controller role. The default role for a XenApp server is a controller role. The controller server is responsible for farm management tasks while the only task of the session-only servers or workers is to host user sessions.A farm requires at least one server to act as a controller, which can host the XML and Zone Data Collector roles. A worker cannot perform the role of a data collector, nor can it trigger elections.
There might be times when you need to determine the role of a particular XenApp server in the farm.
Instructions
To detect if a XenApp 6.5 server is a worker or a controller, complete the following procedure:
-
Open the AppCenter Console.
-
Navigate to the Servers section.
-
Click the server you want to check.
-
In the Information tab note the value for the Session-host Mode field. Following are the values for this field:
-
Disabled: Indicates that this server is a controller.
-
Enabled: Indicates that this server is a worker.
-

The second method to detect if a XenApp 6.5 server is a worker or a controller is to check the server registry in the following location:
HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\IMA\RUNTIME
For the DWORD named WorkerRole, a value of 0 (zero) indicates that the server is a controller and a value of 1 indicates that the server is a worker.Switching Between a Worker or a Controller
You can switch between a worker or controller with the XenApp Server Role Manager:
To switch between a worker or a controller, complete the following procedure:
-
Start the XenApp Server Role Manager.
-
Remove the server from the farm.
- From the XenApp Server Role Manager click Configure.
- Click Add this server to an existing server farm to add the farm:
-
Select the appropriate database and shadowing options.
-
On the XenApp Server Configuration, enable the Data Collections Options, as shown in the following screen shot:
- Note the session host only dialog. Session-host indicates that the server is a worker.