Customers who viewed this article also viewed

{{articleContentType(item.content_Type)}}

{{item.title}}

CTX131298

How to Determine if a XenApp 6.5 Server is a Session Host Only or a Controller

Applicable Products

  • XenApp 6.5

Objective

This article describes how to detect if a XenApp 6.5 server is a Session Host Only Server (Worker) or can act as an XML Broker/Zone Data Collector (Controller).

Requirements

XenApp 6.5 farm

Background

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

There are two methods to detect if a XenApp 6.5 server is a worker or a controller.

To detect if a XenApp 6.5 server is a worker or a controller, complete the following procedure:
  1. Open the AppCenter Console.

  2. Navigate to the Servers section.

  3. Click the server you want to check.

  4. 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.

User-added image


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:

  1. Start the XenApp Server Role Manager.

  2. Remove the server from the farm.

User-added image
  1. From the XenApp Server Role Manager click Configure.
User-added image
  1. Click Add this server to an existing server farm to add the farm:
User-added image
  1. Select the appropriate database and shadowing options.

  2. On the XenApp Server Configuration, enable the Data Collections Options, as shown in the following screen shot:

User-added image
  1. Note the session host only dialog. Session-host indicates that the server is a worker.
User-added image
 

View Common Solutions