Maintaining and Troubleshooting your XenApp 7.5 Environment


Published on

Recording of this webinar is here

This session will step through the most common issues you can experience with XenApp 7.5. In addition, we’ll also cover the best troubleshooting tools to maintain your environment.

Published in: Technology, Business
  • Be the first to comment

No Downloads
Total views
On SlideShare
From Embeds
Number of Embeds
Embeds 0
No embeds

No notes for slide
  • What is VDA Registration? Well a seasoned XenApp Administrator with no prior knowledge of XenDesktop would have no clue what that is. In prior versions of XenApp we did not have registrations we just added servers to a farm, so this is totally different. When you add registration to the mix, it adds an additional layer of complexity, making this a common issue seen.
    (1) So…VDA Registration basically refers to two things: VDA finds a Controller, the VDA being in communication with Controller. If the VDA can’t find the controller, registration will not occur.

    The VDA uses WCF to communicate with the Controller on ports 80 for registration There are four ways for a VDA to register with a DDC:
    Manually during install
    Via policy after Install
    MCS – drops a personality.ini file on the root of c: on your Machines when created by MCS
    AD base registration

    AD registration takes some configuration before it can be used, and is not the most widely used registration method, so we won’t cover it. But the link to get more info is on the screen for 7.5

    So when we have a server that is having registration issues the first thing to do is review the event log on the VDA , then verify all the locations where a controllers address is located to make sure there is an entry and its correct. Also, just take note, the VDA will become unregistered if it’s time is not within the 5 minutes of the controllers time. Lets take a look at the most important registry keys and files when dealing with registration.
  • Were going to look at service logging as a tool, Citrix has a few methods of setting up logging on its services, I want to introduce to you a not so common method, yet an easy way to enable logging, why this method? When we look at Scout you will see, not all services are there for logging. This method can be used for any service missing from Scout.

    You can enable the service logs by locating the service executable and launching it with the parameter dash logfile and then the valid path for the log file, you can also disable logging by using the off switch

    here we can see an example of how we enable logging on the brokerservice.exe, this is the service on the controller that does the registration with the brokeragent on the VDA, so if you were having a registration issue, and you verified all the ListOfDDC locations, you could do service logging to get a log from the controller’s point of view.

    Before the logs will be written take note: (2) all services run under the Network Service account, before selecting a valid location, create a folder for your logs and add Network Service with Full permissions to the folder. Lets take a look at logging on our XA 7.5 machine…
  • You can also use Scout for service logging and environmental data. Scout is installed by default on all your XA 7.5 controllers, Scout can be used as another method for service logging for troubleshooting Registration, Machine Creation, AD Account creation, and others.. But its missing some key services you may have to log if troubleshooting things like configuration service, configuration logging service, and monitoring service. For logging one of the services included with Scout, this would be the easiest method, as it creates the folder for you and immediately populated the log file.
  • Powershell is a very powerful tool for polling data from your site. Traditionally XenApp wasn’t so heavy on PowerShell before, but now almost all tasks in XenApp 7.5 are attached to some Powershell cmdlet or another. (1)There is even a PowerShell window where you can see Citrix Studio running all its powershell commands as you perform the tasks in Studio, this can be a great little tool to learn how to use some of the cmdlets. There are a total 11 PowerShell modules you can load in XenApp 7.5, typically it would be best in load all modules using (2)asnp citrix* Lets jump into my lab, I want to demonstrate the use of Get-BrokerDesktop and get-BrokerMachine two out of many, but these two poll a lot of good data from our machines and desktops in our XA 7.5 environment making them great as a tool for polling.
  • And last but not least by any means, Citrix Director For XenApp, this is totally cool. We now have a visual way to see all our session data and machine data with latency reporting in one console powered by edgesight, and its included with the software! This will be a great place to look to get an overall health of your site, and to see if there are any obvious issues like services down on your controllers. (1) When users call you about a possible hung application or session, a help desk administrator can terminate the problematic application right from here. There are other options also like logging off the session, shadowing the session, and resetting profiles for XenApp administrators. The personal Vdisk is for VDI solutions which are for XenDesktop.(2) if you get calls about performance, typically in support we like to be sure users are using the latest client, using the detail option now allows us to not only see the client version being used, but a number of other options. For example if as session had a lot of latency, you could see they latency for their session here. Citrix Director really becomes a vital part of your site when troubleshooting and trying to maintain a clean and fully functions site.
  • Another important file important from the Support Bundle is the Pg_dump.sql.

    This is a PostgreSQL database dump from App Controller.

    It contains settings such as deployment options, high availability, clustering, app subscription info, user provisioning, etc.

    (Click Next).
  • CXA-103 Citrix XenApp 7.5 Architecture and New Features
    o   Free 2-hour online course introducing XenApp 7.5 technology. Students will explore the key components required in a XenApp 7.5 implementation, the new FMA-based architecture, as well as key use cases. Other topics covered include design implications, VDA registration and Hybrid Cloud Provisioning.

    CXA-207 Citrix XenApp 7.5 Skills Update
    o   2-day course with access to a live lab environment. Available in instructor-led or virtual instructor-led training.
    o   Recommended for IT professionals with prior XenApp experience, version 6 or later – includes architects, systems engineers, server administrators wanting to update their skills to XenApp 7.5.
    o   Students will build the skills needed to implement and configure a XenApp 7.5 environment that includes the core Citrix components; Delivery Controller, Director, Studio, MCS, NetScaler, Provisioning Services, and Receiver.
  • What is it?
    Premier Support:
    Citrix Premier Support provides 24x7x 365 unlimited worldwide supports for Citrix software products covered by Subscription Advantage. Available at the time of product purchase or with a Subscription Advantage renewal, Premier Support is offered on a per license basis.
    Available for XenApp, XenDesktop, XenServer (version 6.1 and below), NetScaler VPX, CloudBridge VPX, NetScaler Gateway VPX and Universal Licenses, EdgeSight, Provisioning Server for DataCenters
    Why get it?
    By having Support in place, it’s an assurance for the success of your Citrix investment. We act as an extended part of your team – there anytime you have a question. Be sure to add Premier Support to your Subscription Advantage, so you’re not left without support.
    24x7x365 unlimited worldwide Citrix Technical Support
    Guidance on installing and optimizing your environment
    Peace of mind for your IT staff

    What is it?
    Enterprise Support:
    Designed for enterprises that have complex environments or high-user populations with over 2,500 license seats of a single or combination of Citrix software products, Citrix Enterprise Support covers multiple products and unlimited licenses at a fixed cost. It provides 24x7x365 unlimited worldwide support, unlimited support incidents and expedited level two technical expertise for software products.
    What is it?
    Technical Relationship Management:
    A Citrix Technical Relationship Manager (TRM) provides complete account management. The TRM is a highly trained single point of contact dedicated to your IT environment and will proactively support your Citrix investment as well as help troubleshoot and resolve complex issues quickly.
    This service can be sold as an add-on to any support agreement. A base TRM comes with 200 service hours, but additional service hours can also be purchased.
    Why get it?
    With a TRM, you ensure that your organization has a dedicated resource and obtains that 1:1 relationship with your team. The TRM builds an on that relationship becoming familiar with your Citrix environment , proactively managing your account and helping to anticipate issues.
    Proactive management for your environment
    Designated advocate at Citrix
    One-on-one relationship
    Reduced support costs and risks
    More Benefits if needed:
    Detailed knowledge and understanding of unique customer environment
    Issue prevention through proactive approach
    Quick access to other Citrix resources
    Reduce risk of downtimes
    Priority - No waiting times on the support line
    Quickest way to resolve complex issues
    Smooth transition to new products and releases
    Knowledge transfer
    Preferred Access to Technical Support events
    Customized support according to unique needs
    To learn more about our Support Programs visit
    Calculate value of Premier Support:
  • Maintaining and Troubleshooting your XenApp 7.5 Environment

    1. 1. Maintaining and Troubleshooting your XenApp 7.5 Environment. Carlos H. Lopez May 2014
    2. 2. © 2014 Citrix. Confidential.2 Presenter Bio: Carlos “Charlie” Lopez • Approximately 14 Years of Experience in IT • Joined Citrix in June 2010 • Started in Frontline and Offline Tech Support • Currently: WW Support Readiness • Certifications: CCIA, CCI, and more.. • Field of Expertise: XenApp – All Supported Versions • Something Fun: Used to Own and Manage a small Hot Sauce company is Miami, Florida
    3. 3. © 2014 Citrix. Confidential.3 Agenda Common Issues in XA 7.5 • AutoCreated Printing • HDX Policies XA 7.5 • VDA Registration Tools for Maintaining your XA 7.5 Site • Service Logging & Scout • Powershell (PoSH) • Citrix Director
    4. 4. Common Issues in XA 7.5
    5. 5. © 2014 Citrix. Confidential.5 Printing All the Same Driver Issues Apply (NON-NATIVE) Citrix Print Manager Crash HKLMSYSTEMCurrentControlSetControlPrintPrinters Troubleshooting Process for Printing Issues with Auto-creation … StressPrinters 1.3.2 for 32-bit and 64-bit Platforms
    6. 6. © 2014 Citrix. Confidential.6 HDX Policies XA 7.5
    7. 7. © 2014 Citrix. Confidential.7 VDA Registration Totally different than in XenApp 6.5! •Manually during install •Via policy after Install •MCS – drops a personality.ini •AD base registration xendesktop-75/cds-mng-cntrlr-ou-dscvr.html
    8. 8. Tool’s for Maintaining your XA 7.5 Site
    9. 9. © 2014 Citrix. Confidential.9 Enabling Logging from the Command Line Service.exe –LogFile “Path” Service.exe –LogFile off Disable Logging from the Command Line %SystemRoot%Program FilesCitrixBrokerServiceBrokerService.exe -Logfile “c:XAlogsBroker.log” NetworkService NetworkService Service Logging – Clear text
    10. 10. © 2014 Citrix. Confidential.10 Service Logging – Scout SCOUT v 2.18.0
    11. 11. © 2014 Citrix. Confidential.11 Powershell (PoSH) XenApp 7.5 SDK Modules asnp citrix* Get-BrokerMachine New-BrokerHostingPowerAction
    12. 12. © 2014 Citrix. Confidential.12 Citrix Director • Log Off • Shadow • Reset Profile • Reset Personal VDisk More extensive details for a users session can be viewed from the Details option • Machine Details Gives a complete breakdown of site details being used by this session • Session Details Gives a complete breakdown of session details within the session
    13. 13. © 2014 Citrix. Confidential.13 Resources Citrix Scout - Citrix Director - director-wrapper.html PoSH SDK - Troubleshooting Printing XA - XenApp Policies Not Applying.. - Virtual Delivery Agent Registration Troubleshooting Flowchart - How to Enable the Logging Process in XenDesktop -
    14. 14. © 2014 Citrix. Confidential.14 XA/XD 7.5 Webinar Series Webinar Page
    15. 15. © 2014 Citrix. Confidential.15 Next Webinar: Troubleshooting XenDesktop Title: Maintaining and Troubleshooting your XenDesktop 7.5 Environment Description: This session will step through the most common issues you can experience with XenDesktop 7.5. In addition, we’ll also cover the best troubleshooting tools to maintain your environment. When: June 17th & 18th June 17th – Register Now June 18th – Register Now
    16. 16. © 2014 Citrix. Confidential.16 Fuel your talent with continuous learning. Citrix Education offers the following technical training for professionals: CXA-103: Citrix XenApp 7.5 Architecture and New Features CXA-207: Citrix XenApp 7.5 Skills Update Visit to save 10%* *Offer expires 90 days from receipt of this message. Not valid with any other promotions, packages or discounts. Applies only to new purchases. Regional limitations may apply.
    17. 17. © 2014 Citrix. Confidential.17 Simplify your journey, let us guide you. Accelerate your implementation and minimize risk by taking advantage of Citrix Consulting. You’ll get the expertise of certified Citrix Consulting Architects to successfully deploy Citrix solutions in any phase of your project. Visit to learn more about our proven methodology.
    18. 18. © 2014 Citrix. Confidential.18 Citrix Support Program Options • Access to Technical Support Engineers when you need it … Unlimited 24x7x365 Citrix Worldwide Technical Support • Flexible to meet your changing organizational needs … Unlimited number of technical contacts from your team • Assist your teams with support tools and knowledge …. Learn best practices for optimizing your Citrix infrastructure • Affordable Technical Support direct from Citrix … Per-license pricing model allows you to pay as you grow • Enterprise Support … Available for over 2500 licenses • Technical Resource Management … Single point of contact dedicated to your IT environment Visit to learn more about our proven methodology.
    19. 19. © 2014 Citrix. Confidential.19 WORK BETTER. LIVE BETTER.