How to Improve Your Citrix Deployment by Monitoring Pilot Phases

How to Improve Your Citrix Deployment by Monitoring Pilot Phases

By Jacob Rutski, Sr. Architect at Citrix

 

We all want seamless rollouts of Citrix XenApp/XenDesktop and we use a number of tools to achieve that reality. I have found a unique software that allows me to proactively understand the performance impact of Citrix XenApp/XenDesktop on the IT infrastructure and ultimately end user experience early in the Citrix deployment lifecycle.

In this post I will show you four examples of how I use the software to avoid potential issues.

VDI Deployments

When large VDI deployments are being designed and architected, lots of numbers get tossed around from computer requirements, storage capacity and IOPS, to user count, application set and type of user. Most integrators will use some form of a spreadsheet tool or assessment to gather user data, compile it all and generate some reports that try to estimate requirements for the environment. For the most part, this is fine – for just that – estimation. What I am going to discuss is manual vs. purpose-built software.

Once the project gets underway and things start coming together, the first item on the list is usually testing by a small group of pilot users in the technology group. Then another business unit, usually close to the IT group, is allowed access to test. Then another. Once a few groups of test users have given their blessing on the pilot environment, it is rolled into a full production, highly available, high-performing (hopefully) infrastructure.

And the last step is usually the scariest – the floodgates are opened and a large population of staff are migrated into the environment…here’s to hoping it goes well. But there can be some problems with this procedure; a monitoring product that can actively monitor the performance of the overall environment as well as actively test logons should be deployed from day one to not only avoid potential issues, but also to accelerate the Citrix deployment and help guarantee successful project completion. The Goliath Performance Monitor (GPM) paired with Goliath Application Availability Monitor for Citrix is such a product.

Problem 1: Not all monitoring solutions are created equal

A monitoring solution that only uses SNMP, WMI, and NetFlow is not a monitoring solution that I would consider capable of watching over 10,000 desktops on top of a hypervisor, on shared storage and networking in the datacenter. A proper tool must integrate and gather data directly from all layers in the environment – including the hypervisor, the computers, and the software orchestrating thousands of connections every day.

Monitoring tools that are built to monitor networks and Windows servers may not be capable of knowing which counters to use or how to integrate with Citrix specific APIs to align Citrix session behavior and performance with infrastructure conditions. Furthermore, technologies dependent on wire-data have no facility to provide the needed information because they have no mechanism to leverage the APIs or context from where the sessions take place – the servers.
Having the ability to understand, monitor, report and alert at every layer of a complex deployment empowers technology staff to know exactly what is going on in the VDI environment, when there is an issue, and where to start troubleshooting. For example, one can troubleshoot slow session performance by digging into the ICA Channel.

Troubleshoot ICA/HDX Channel Performance

Goliath Performance Monitor is Citrix Ready and VMware Ready for the hypervisor as well as XenApp/XenDesktop and VMware Horizon – this means there is direct integration with these products and their APIs to gather direct and accurate data.

SNMP simply does not allow for this deep integration and data gathering. See below – Goliath Performance Monitor has out-of-the-box performance graphs to gain full visibility into the hypervisor and VMs trending over time.

Many small IT groups are often in ‘catch-up’ mode where it is hard to get ahead; they are constantly fighting fires, cleaning up the network, and trying to stay ahead of the next hardware failure or management request. IT managers will say “let’s not fix tickets as they come in, let’s resolve the issue before the users are aware of it.”

When consultants are hired to deploy a new solution, staff are often left with little knowledge about the new system and may not know where to look to begin troubleshooting. In the case of larger organizations, trying to implement a monitoring tool to troubleshoot a pre-existing performance issue will prove difficult. Having performance data from day zero will allow staff to go back through history and see exactly when the disk latency went above 30ms average, or when the hypervisor host CPU became so overcommitted that the CPU wait times rose above 500ms.

Problem 2: Project designs use estimates for computers and storage

Estimating the requirements for any virtualization project is difficult – especially when you are talking about thousands of end user desktops in the datacenter. Designs for these projects are estimates – and estimates are not always completely accurate. If a design calls for 300,000 IOPS for desktops, oftentimes the budget may not allow for much more than that. The problem comes when a boot or logon storm happens during 50% system load and consumes all available storage I/O.

All the users on the system just saw an hourglass or saw their session hang because the storage latency is well above the acceptable 5ms average. These problems don’t show up during the pilot phase when there is only 2-5% test load. Once the project is half way completed, it is too late to order more hardware due to under-spec’d designs.

If storage is not designed properly, you may end up with very high average datastore latencies – GPM will show this:

Hopefully it can be addressed before users begin complaining about terrible performance.

Problem 3: Changes break things

The natural progression of any large deployment requires a great deal of work and most of that work is making changes. Any of the normal steps in a project have the potential to disrupt – adding capacity by deploying more servers, changing SSL certificates, changing security or permissions – all these changes can go so far as to completely bring down the environment.

Additionally, changes during a proof-of-concept or initial deployment may not be run through a change control, making them difficult to track and even harder to determine if a change is the true cause of an outage. The dreaded Citrix StoreFront ‘Cannot complete your request’ error can rear its head when changes are being made to StoreFront or the NetScaler Gateway configuration.

The Goliath Application Availability Monitor will detect this issue immediately. By having a monitoring tool running from the beginning of the project, you will be alerted immediately if the most recent change broke remote access or crippled performance. In the screenshot below, GAAM is alerting us that application was not found:

Pinpoint Application Failure

The Goliath Application Availability Monitor will detect this issue immediately and alert you that the StoreFront resources were not found.

By having a monitoring tool running from the beginning of the project, you will be alerted immediately if the most recent change has broken remote access or crippled performance. Even more taxing to the system is the ‘ramp-up’ period when more and more users begin to logon to the system – if it was not designed correctly, you need to know as soon as possible, and a static design guide spreadsheet isn’t going to do that for you.

Problem 4: Technology staff are not always the best test users

The pilot phase or proof-of-concept deployment gets started with some small percentage of users testing the environment – usually the technology group and associated support staff. This leads to the first problem: Most technology staff don’t see issues and bugs as a big deal.

It’s similar to alarm fatigue in the healthcare industry – the IT staff are always so busy resolving issues or responding to production problems that a warning message in the proof-of-concept environment is not that big of a deal. It is also difficult for technology staff to ‘eat their own dogfood’ – when they have so many other means to get work done, it may be difficult to convince them to use the unproven pilot environment.

Using the monitoring tools by Goliath Technologies will allow deep insight into an otherwise complex and overwhelming environment. By setting up the GPM at the beginning of the project you will have historical data to help determine if the sizing and design of the infrastructure is up to par and allow you to troubleshoot any “growing pains” during the project ramp up that would otherwise lead to delays.

To try all of this in your own environment, get a 30-day free trial of Goliath Performance Monitor or Goliath Application Availability Monitor for Citrix by clicking the link below.

 
Goliath vs. Citrix Comparison

Independent Review: Agentless vs Goliath’s Intelligent Agent

Independent Review: Agentless vs Goliath’s Intelligent Agent

Editor’s note: this post is from Jacob Rutski, a Citrix Engineer and accomplished virtualization expert who holds specialized certifications for technology products from Citrix, VMware, NetApp, Microsoft, and Cisco. You can connect with Jacob on LinkedIn, Twitter, and through his blog, SeriousTek.

The debate over enterprise monitoring solutions that use agentless technology vs those that use agent software has been around for as long as monitoring has existed, and I’m not going to cover it in great detail as there is nothing new.

Agent Monitoring:

  • Able to gather numerous data points, including those not otherwise exposed
  • Communication can be configured and secured
  • Need to install, maintain an agent
  • Additional software can introduce extra load

Agentless Monitoring:

  • No additional software running
  • Easy to deploy – no software to deploy, update, maintain
  • Not as much data is available via SNMP, WMI, SSH
  • Communication through a firewall can be tricky
  • Still need to configure security
  • Service providing the data (SNMP, WMI, SSH) can introduce load to the system
  • Only able to report data

Enough about that.

Let’s talk about a monitoring agent I’ve been working with: the Goliath Intelligent Agent which is a feature in the newly released Goliath Performance Monitor (GPM) version 11.6. The GPM agent has always existed, but this latest release brings some great additional capabilities.

About the Goliath Intelligent Agent:

  • Able to gather numerous data points, including API integration in the underlying Hypervisor and ICA/HDX metrics not exposed in SNMP or WMI
  • It consumes minimal resources: .1% CPU, 60Mb RAM for XenDesktop, 100Mb RAM for XenApp, and 1.5 Mb on disk
  • Centrally managed install/update, no reboot required for either
  • Able to execute remediation actions on XenApp Servers, XenDesktop VDI, Citrix Role Servers, Infrastructure VMs, and endpoints
  • Template/Gold image (PVS/MCS) ready
  • *Able to monitor local or remote devices using agentless technologies (SNMP, Syslog)
  • *Improved scalability by communicating remote agents through ‘master’ agents rather than directly to the GPM server
  • *Specific agent groups can be federated for different purposes – network device agents, hypervisor integration, Windows Server agents
  • *Consolidate agent outbound communication to the central server

*New or enhanced features

Metrics Collected by Goliath’s Intelligent Agent

The Goliath Intelligent Agent is able to collect the following metrics:

Windows resources:

  • CPU, CPU queue length and context switches
  • Memory and paging metrics
  • Disk metrics – queue length, disk latency and IOPS
  • Network metrics including retransmits
  • Event log collection and analysis
  • Service monitoring
  • Application performance analysis
  • Windows Services
  • Custom Scripts like Powershell to collect metrics
  • Custom PerfMon counters

Application resources:

  • Application process performance – CPU and Memory Utilization
  • Application specific faults
  • Application services
  • Log file analysis
  • Custom scripts
  • Network and device metrics via SNMP & Syslog
  • Custom alerting

Nothing like the EdgeSight Agent

I will tell you right now that Goliath’s Intelligent Agent is nothing like the Citrix EdgeSight agent. There is no local Firebird database to house the data; the GPM agent consumes far fewer resources.

GPM offers the best of both worlds – it is also able to monitor devices where installing an agent is not possible; previously, agentless data gathering was initiated from the central server.

The best part?

All of the different roles and features are available from the same agent software that gets deployed, managed and updated from the central store without having to reboot the endpoint.

The new Goliath Performance Monitor Intelligent Agent can act like another GPM server, allowing you to use agentless technologies such as SNMP and Syslog to gather data in a branch office as well as pass data from other installed agents on to the central server – all while giving you the ability to view all of the data in a single, unified dashboard.

Branch Office Scenario

goliath-technologies-master-intelligent-agent

In the diagram above, you will notice that the remote office has infrastructure to be monitored as well as a ‘master’ Intelligent Agent.

This allows you to not only aggregate all monitoring traffic to the central server to come from a single point, but also to monitor all non-agent systems locally to that office without having to cross a WAN or firewall. All of the remote office data is presented in the same dashboard – no more guessing is it ‘http://monitorServer01’ or is it ‘http://monitorServer02’?

The remote intelligent agent also provides the ability to execute remediation actions and scripts ‘from the outside’ of the problem – again, without having to cross a WAN/firewall. Also keep in mind that the metric data is aggregated in real time – any batching or queuing could potentially lead to missing a problem or lost analytics.

Are you ready to consolidate all of your monitoring servers and dashboards into one? Learn more about Goliath’s Intelligent Agent.

About the Author: 

The team members collaborated to bring together this blog post by calling on their past Customer Experiences and Expert Knowledge of Citrix Troubleshooting. Beyond writing technical documents this team supports Goliath Customers and provides product feature and function guidance to development.

Independent Review: New Citrix EUE Monitoring in Goliath 11.6

Independent Review: New Citrix EUE Monitoring in Goliath 11.6

Independent Review: New Citrix EUE Monitoring in Goliath 11.6

 

As a working Citrix Engineer, my top priority is delivering a good End User Experience. I am always looking for tools that will help me be proactive, meaning get ahead of end user complaints, so I can fix issues before they impact my users.

I was able to take an early look at the new Goliath Performance Monitor (GPM) version 11.6 from Goliath Technologies. This software has some of the best new features I have seen to help engineers and admins proactively monitor and manage the end user experience because it delivers three key benefits:

  • Real-time Alerts: GPM 11.6 alerts you in real time if performance thresholds are breached so you can resolve potential issues before they happen;
  • Troubleshoot Root Cause: to help you get objective evidence of the root cause of performance issues, GPM 11.6 gets the data you need to pinpoint the root cause to troubleshoot and remediate, and then report on it after the fact;
  • Ease of Use: all of the features and functionality you get with GPM 11.6 are out-of-the-box. There is literally almost no configuration you need to do, which is something I have never seen in an IT performance monitoring product.

While this post doesn’t cover all the new features, I do delve into the 6 I think are the most compelling for a Citrix Engineer like myself.

1. Unified Dashboard

Today’s system administrators have to look at numerous applications and tools to gather information: a network monitoring tool, a hypervisor console, windows performance monitor and likely several other 3rd party tools or scripts. This begs the question “When an issue is reported, where do you start?”

Below you can see Goliath Performance Monitor brings you all of this end user session data in a single dashboard.

 

2. End User Experience Monitoring and Management

Anyone that has used Citrix XenApp/XenDesktop knows about End User Experience; there is even a Windows Service named “Citrix End User Experience Monitor” (EUEM). Moving a user’s desktop into the data center shifts the burden of end user experience away from the local desktop hardware and onto the server infrastructure. That means it is now the responsibility of the server administrators to provide an excellent end user experience.

In today’s world of extra processing power and super-fast solid state hard drives at ever lower prices, end users expect the same superb performance at work that they have on their home systems. Logon times in excess of one minute are no longer acceptable and any sluggish performance is noticed by the end user. Mouse click delays and profile loading time are simply not acceptable.

When an end user problem is reported, the administrator needs to have the right tool to determine exactly what caused the problem and which component in a complex environment to remediate. Goliath Performance Monitor breaks down the logon process into numerous unique events that show exactly what is occurring when the user logs on to the system. Metrics such as ICA RTT and bandwidth, network latency and frames per second have a direct correlation to the user’s experience – these are all captured by GPM.

3. Real Time Logon Performance Metrics

With the added logon performance metrics gathered in Goliath Performance Monitor 11.6, this monitoring product is uniquely positioned to not only fill the monitoring and alerting gaps left in stock XenApp/XenDesktop 7 implementations, but also to completely replace Citrix EdgeSight – without losing any End User Experience Monitoring (EUEM) data or core functionality. Citrix EdgeSight was a great product especially when it came to EUEM data, monitoring Citrix sessions and troubleshooting user logons and overall experience issues.

Not only has EdgeSight been discontinued, it also had numerous gaps in understanding and presenting the performance of the underlying virtual infrastructure. Citrix Director does not even come close to providing the HDX-specific data that EdgeSight did, nor does it provide any of the missing functionality that EdgeSight lacked.

Goliath Performance Monitor 11.6 is unique in that it has full ‘ICA/HDX specific’ capabilities out-of-the-box as well as being able to gather performance metrics on the hypervisor, compute, and shared storage platforms that underpin most of today’s enterprise private cloud environments. This visibility into both the Citrix session and the infrastructure supporting the session allows engineers and administrators easily track down end user experience issues.

Below is a screen shot of the very detailed logon performance metrics breakdown. Note that this is out-of-the-box, so no set up or configuration, and it is in real time due to the API development Goliath has done with Citrix XenApp and XenDesktop.

4. End User Experience Reporting

In addition to the real time EUEM data gathered by GPM 11.6, the data has also been made available to the reporting engine. The following reports are available out of the box – no custom reports required:

XenApp (XA), XenDesktop (XD)

  • XA/XD Client Report
  • XA/XD End User Activity Report
  • XenApp End User Experience Report
  • XA/XD ICA Latency Report
  • XA/XD Server Health Report
  • XenDesktop Peak Usage Report
  • XA/XD Session Activity Report
  • XA/XD Session Logon Duration Report
  • XA 4.5-6.5 End-to-End Connection Report
  • XA 7.5-7.6 End-to-End Connection Report

Below are a few that I found most useful- Citrix XenApp Session Report and the XenApp ICA Latency Report.

5. Additional Windows Performance Counters

As virtual infrastructures become more complex and harder to troubleshoot, engineers and administrators are being asked to understand more and provide an even better user experience. This task becomes more difficult as layers of virtualization, shared networking, shared storage, and compute are added on. Goliath Performance Monitor 11.6 (GPM) gathers performance metrics at every layer of the stack – including the lowest: the guest operating system.

Monitoring tools that only monitor at the hypervisor level may provide some decent ‘what’s going on right now’ metrics, but they lack the ability to look at what the guest OS is doing. By gathering specific Windows performance counters, GPM is able to display and alert on the resources that lead to performance issues – effectively looking into the future of a performance bottleneck and proactively alerting before it becomes a larger problem.

Below you can see performance dashboard. These performance counters are enabled by default with GPM and integrated into the existing performance dashboard allowing administrators to get a firsthand look at issues before they happen.

As you can see, the new features in GPM 11.6 make this product a great tool for troubleshooting not only logon slowness but also overall Citrix session performance. A unified troubleshooting interface and numerous session reports right out of the box without custom code or 3rd party plugins makes Goliath Performance Monitor your one-stop-shop for all your monitoring and troubleshooting needs for Citrix and End user experience.

Do you think Goliath can add value to your organization? Reach out.
Email us at  techinfo@goliathtechnologies.com or schedule a demo, consultation or free trial.