XenApp 7.6 Director Cannot Retrieve Data for Session, Logon Duration and LC2239

XenApp 7.6 Director Cannot Retrieve Data for Session, Logon Duration and LC2239

book

Article ID: CTX212388

calendar_today

Updated On:

Description

Not updating the information on XenApp Director.

Resolution

1) Remove the private (sounds it's irrelevant in this case).
2) Start the Monitor Service.
3) In PoSh, run Get-MonitorConfiguration ... check what DataCollectionEnabled says in this case it says false.
4) run Set-MonitorConfiguration -DataCollectionEnabled $TRUE
5) Repeat step 3 and confirm that DataCollectionEnabled now says True.

Problem Cause

On Director Event Log 
Error ID 5 from Citrix Director Service 
Msg: "Failed to connect to data source 'Unknown error.'
Error event ID 2008 Citrix Monitor Service 
Msg: "Error querying the Broker via GetBrokerObjects to obtain 'Controller Machine Details' 

This occurred after moving to and from a DR database.

Issue/Introduction

Director cannot retrieve data for session, logon duration. Dev A pointed to LC2239 however this was not the case. Get-MonitorConfiguration showed DataCollectionEnabled set to false. This occurred after move to a DR databse for testing.