Key Features of Citrix Logon Monitoring with eG Enterprise:
Logon Monitoring with Citrix Director is Limited – You Need More
The wealth of logon metrics collected by eG Enterprise can also be used for reporting purposes.
Using eG’s insightful User Logon Performance report, you can rapidly analyze user logons historically, accurately isolate users whose logon experience has been consistently poor, and understand from a quick glance, the factors that have very often impacted the users’ logon experience – a slow domain controller? a badly written login script? user profiles that are continuously growing in size?
When users notice that logons are slow, they are often unaware of what is causing the slowness. Citrix administrators have to determine where exactly the slowdown happened – which of the 12 logon phases mentioned above is slow and why – is it an Active Directory issue?, could it be a network issue?, is there an issue with the profile server?, or could it be with one of the scripts being run when the user logs on? Diagnosing the cause of logon slowness in Citrix is often very hard and challenging.
The common causes for Citrix logon slowness can be categorized into six main areas:
Hardware & Network
Hardware virtualization helps to run Active Directory, Citrix XenApp servers, and other infrastructure servers such as DNS, DHCP etc., as virtual machines. Virtual Switches created in the hypervisor provide the network connectivity to the infrastructure servers to reach the outside world.
Trouble spots: Issues like misconfigured DNS settings, poor routing, dropped packets, insufficient bandwidth or physical network cards, uplink issues can cause significant delays, as requests are timed out or passed to an incorrect location or a non-existing domain controller/DNS server. Thus, virtualization adds an additional layer of complexity in troubleshooting the logon issues and significantly delay the troubleshooting procedure.
Logon & Authentication
Each session is created after the credentials are validated against the domain controller.
Trouble spots: Incorrect sites in multi-forest domain, unavailable domain controller, an over-utilized domain controller server and DNS issues can delay this phase from milliseconds to seconds.
This phase starts after the user credentials are validated by the domain controller and continues until the user profile is downloaded from the file server. Roaming profiles are generally used in Citrix environments as it provides consistency across XenApp servers/virtual desktops and preserves user settings and changes.
Trouble spots: It is recommended that all user folders be redirected to a file server except "AppData," as it is used heavily by applications. Large profile size, unavailable file server, network congestion, and corrupted profiles are typical causes of slowdowns at this phase.
Many organizations use Group Policy to manage the Citrix XenApp servers and virtual desktops and apply policy settings and customizations.
Trouble spots: Group policy (GPO) depends on the Active Directory infrastructure, so Active Directory and DNS issues can significantly delay in finding the policies and GPO processing. Too many GPOs and client side extensions (CSEs) can delay this phase. Identifying the client side extensions and corresponding group policy is a challenging task once this phase has been identified as the source of the slow logon issue.
Logon script Execution / Printer mapping / Folder redirection
Generally logon scripts are considered as outdated, but they are still being used to customize individual users in a multi-user environment.
Trouble spots: Insufficient loops in the script, long-running logon scripts, and many mapped client printers are a few common issues that can delay this phase. Windows 2008/2012 support Group Policy preferences, which can be used to perform tasks like map network drives, change registry keys etc., previously performed by logon scripts.
Desktop / Application Launch
Backend tasks, file share accesses, etc. can be causes for slowness in launching specific applications. Application pre-launch can be considered for such applications to speed up the launching of these applications.
Diagnosing logon slowness has always been a challenge in Citrix infrastructures. In the 2016 Citrix performance survey by eG Innovations and DABCC, we asked Citrix admins to indicate what were the most common complaints they received from Citrix users and slow Citrix logons ranked as the most common complaint (see image).
While a user logs on only once to the Citrix farm in some industries, in others, one user may logon many times through Citrix. For example, consider the healthcare domain where a doctor or a clinician may have to logon many times – once on each device/terminal that they use. In such situations, slowness with Citrix logons can be extremely frustrating and can reduce user productivity.
eG Enterprise first gathers Citrix logon performance information directly from the Citrix Delivery Controller, a central player in the logon process. The visibility provided by it into the logon process is fundamental to understanding how logon is working, so eG Enterprise collects performance data using Citrix Delivery Controller’s web services interface.
Notice from the image above that the logon for this user took over 6 mins and the time taken for the interactive session to be set up was the significant contributor to the excessive logon time.
The interactive session time refers to the time taken to handoff keyboard and mouse control to the user. Some of typical activities happen in this stage are:
However, the Citrix Delivery Controller does not have the additional details about why interactive session time was high as the processing of the session at this point has been passed on to the VDA. To provide additional diagnosis, eG Enterprise collects detailed information from the VDA about the Citrix session establishment process. Figure 6 depicts the two stages of Citrix logon performance monitoring – from the Citrix Delivery Controller and from the Citrix VDAs of XenApp and XenDesktop.
For the group policy processing duration, eG Enterprise provides detailed diagnosis (as indicated by the magnifying glass next to the metric) that highlights the different group policies/CSEs that were processed and the time taken for each. The image below provides the details of the group policy processing time in this case.
From the above figure, it is clear that most of the group policy processing time is being spent in drive mapping. Armed with this information, a Citrix admin can easily take action to speed up the logon process.
“eG Innovations provides the best value for the money coupling visibility and excellent reporting. Using their automatic root cause analysis we avoided throwing $$ at the problem and realized $20K in savings - immediately.”
“With eG Innovations, we are reducing system maintenance and support costs, avoiding incremental IT spending and eliminating system downtime across the hospital. Performance and prediction reports help us optimize IT spending and save $100,000 per year.”
“eG Innovations delivers a robust, reliable and extremely valuable solution to deliver maximum uptime and user satisfaction. Pre-emptive alerting helps us to address performance issues immediately before they affect system and application availability.”
Learn all about it.
Get a Free Trial to see how eG Enterprise helps you drive top application performance for a great user experience. Or select Live Demo for a personalized product tour.