Controller Services Test

The broker service is responsible for the brokering of user sessions to desktops or applications, and for power management of the underlying machines. Every controller in a site runs an instance of the broker service. In addition to the broker service, the following critical services also run on a controller:

  • AD identity service
  • Configuration service
  • Host service
  • Machine creation service
  • Admin service
  • Monitoring service
  • Logging service

This test periodically checks the health of each of these services on the target controller in a XenDesktop site, and reports abnormalities (if any). With the help of this test, you can promptly detect which services have failed.

Target of the test : A controller in a Citrix Virtual Apps/Desktops Site 7.x

Agent deploying the test : An internal agent

Outputs of the test : One set of results for every controller configured within a site.

Configurable parameters for the test
Parameter Description

Test Period

How often should the test be executed

Host

The IP address of the host for which the test is being configured.

Port

The port number at which the specified Host listens to. By default, this is 80.

Domain, Username
and Password

To connect to a delivery controller in a site and pull out metrics from it, the eG agent requires Farm Administrator rights. In order to configure the eG agent with Farm Administrator privileges, specify the Domain to which the target controller belongs and enter the credentials of a user who has the Farm Administrator rights in the Username and Password text boxes. This user should also be assigned the Allow log on locally privilege on the Citrix XA/XD Site 7.x host. The steps for assigning the Allow log on locally privilege are explained in the Pre-requisites for monitoring the Citrix Virtual Apps/Desktops Site 7.x topic.

Confirm Password

Confirm the Password by retyping it here.

Detailed Diagnosis

To make diagnosis more efficient and accurate, the eG Enterprise embeds an optional detailed diagnostic capability. With this capability, the eG agents can be configured to run detailed, more elaborate tests as and when specific problems are detected. To enable the detailed diagnosis capability of this test for a particular server, choose the On option. To disable the capability, click on the Off option.

The option to selectively enable/disable the detailed diagnosis capability will be available only if the following conditions are fulfilled:

  • The eG manager license should allow the detailed diagnosis capability
  • Both the normal and abnormal frequencies configured for the detailed diagnosis measures should not be 0.
Measurements made by the test
Measurement Description Measurement Unit Interpretation

Broker service status

Indicates the current status of the broker service on this controller.

Number

The Citrix Broker Service brokers connections from endpoint devices to desktops and applications.

The numeric values that correspond to the Measure Values that this measure can take  are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNewerVersionThanService 5
DBOlderVersionThanService 6
DBVersionChangeInProgress 7
PendingFailure 8
Failed 9
Unknown 10
DBNotFound 11
DBMissingOptionalFeature 12
DBMissingMandatoryFeature 13

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current state of the broker service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 13.

AD identity service status

Indicates the current status of the AD Identity Service on this controller.

 

The Citrix AD Identity Service manages active directory computer accounts. Once the controller validates a user login, this service connects to the controller’s database to identify the virtual desktop that is assigned to the user who has logged in.

The values that this measure reports and the numeric values that correspond to them  are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the AD Identity Service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Configuration service status

Indicates the current status of the Configuration Service on this controller.

 

The Citrix Configuration Service stores the configuration information related to Citrix services in the controller’s MS SQL database.

The values that this measure can report and their corresponding numeric values are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Configuration service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Host service status

Indicates the current status of the Host service on this controller.

 

The Citrix Host Service manages host and hypervisor connections.

The values that this measure can take and their corresponding numeric values are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Configuration service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Machine creation service status

Indicates the current status of the Machine Creation Service on this controller.

 

The Citrix Machine Creation Service creates new virtual machines.

Once a valid user logs into the Citrix Delivery Controllervia the Web Interface, the controller manages the delivery groups by building, starting, and shutting down the desktops as required. At this juncture, the controller relies on Machine Creation Services (MCS) to deliver the appropriate desktop image to the Pooled and Dedicated delivery groups.

The values that this measure can take and their corresponding numeric equivalents are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Machine creation service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Admin service status:

Indicates the current status of the Delegated Administration service on this controller.

 

The Delegated Administration Service (DAS) stores information about Citrix administrators and the rights they have. Services in the XenDesktop deployment use the DAS to determine whether a particular user has the privilege to perform an operation or not.

The values that this measure can report and their corresponding numeric equivalents are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Delegated Administration service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Licensing service status

Indicates the current status of the Licensing service on this controller.

 

 

The values that this measure can take and their corresponding numeric values are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Licensing service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Monitoring service status

Indicates the current status of the Monitoring service on this controller.

 

The Citrix Monitor Service monitors the Flexcast system. Citrix FlexCast is a delivery technology that allows an IT administrator to personalize virtual desktops to meet the performance, security and flexibility requirements of end users. Currently, there are five different FlexCast models available.

The values that this measure can take and their corresponding numeric values are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Monitoring service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.

Logging service status

Indicates the current status of the Logging service on this controller.

 

The Configuration Logging Service logs configuration changes or administrator requested state changes made to the site.

The values that this measure can take and their corresponding numeric values are as follows:

Measure Value Numeric Value
OK 1
DBUnconfigured 2
DBRejectedConnection 3
InvalidDBConfigured 4
DBNotFound 5
DBNewerVersionThanService 6
DBOlderVersionThanService 7
DBVersionChangeInProgress 8
Failed 9
Unknown 10

Note:

By default, this measure reports the above-mentioned Measure Values while indicating the current status of the Monitoring service. However, in the graph of this measure, the same will be represented using the corresponding numeric equivalents – i.e., 1 to 10.