Maintaining and Troubleshooting your XenDesktop 7.5 Environment

6,407 views

Published on

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.

The scripts referenced in this webinar can be found here:
https://citrix.sharefile.com/d/s1e724ab3ab14a96a

The recording of this webinar can be found here:
http://www.citrix.com/tv/#videos/11494

Published in: Technology
1 Comment
9 Likes
Statistics
Notes
  • Hi David, Thanks for the presentation. I would like to follow along the steps in my test environment but I could not download the scripts from the sharefile location (says not available). Can you please repost it?
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
No Downloads
Views
Total views
6,407
On SlideShare
0
From Embeds
0
Number of Embeds
90
Actions
Shares
0
Downloads
638
Comments
1
Likes
9
Embeds 0
No embeds

No notes for slide

Maintaining and Troubleshooting your XenDesktop 7.5 Environment

  1. 1. Maintaining and Troubleshooting your XenDesktop 7.5 Environment June 2014 Mick Glover - Sr. Readiness Specialist, Worldwide Support Readiness
  2. 2. © 2014 Citrix. Confidential.2 Presenter Bio: Mick Glover (CCI) Over 18 Years of Experience in IT Joined Citrix in January 2005 Started as Senior member of Frontline team Spent 3 years working as an Escalation Engineer Been with the WW Readiness team since 2009 Certifications: CCA, CCEE, CCIA, MCSE & CCI SME areas: XenDesktop, App Orchestration, UPM Author of the XD Tipster Blog Series and @XDtipster twitter feed
  3. 3. © 2014 Citrix. Confidential.3 In terms of Troubleshooting & Maintaining your XenDesktop environment, very little has changed with the introduction of XenDesktop 7.5. What is required is a solid understanding of the Architecture and expected behaviour along with the ability to engage with the product through the SDK to carry out advanced administrative and configuration tasks. @XDtipster
  4. 4. © 2014 Citrix. Confidential.4 In terms of Troubleshooting & Maintaining your XenDesktop environment, very little has changed with the introduction of XenDesktop 7.5. What is required is a solid understanding of the Architecture and expected behaviour along with the ability to engage with the product through the SDK to carry out advanced administrative and configuration tasks. @XDtipster
  5. 5. © 2014 Citrix. Confidential.5 Agenda Maintaining and Troubleshooting your XenDesktop 7.5 Environment FMA Service States Service SQL Scripts Site Policies Troubleshooting Tools
  6. 6. © 2014 Citrix. Confidential.6 Learning Objectives At the end of this webinar, you will be able to: Validate the true state of Controller FMA services Apply Schema update scripts against the Site DB Manually add a Controller to an existing Site using PoSH Control access to resources through PoSH Identify key Troubleshooting tools
  7. 7. FMA Service States
  8. 8. © 2014 Citrix. Confidential.8 Viewing service states through Windows only tells half the story Example: Broker Service
  9. 9. © 2014 Citrix. Confidential.9 Validating a Service Status What you do for one…. Get-BrokerServiceStatus (Broker) Get-ConfigServiceStatus (Configuration) Get-HypServiceStatus (Host Service) Get-AcctServiceStatus (AD Identity) Get-ProvServiceStatus (MCS) Get-MonitorServiceStatus (Monitoring) Get-AdminServiceStatus (Delegated Admin) Get-LogServiceStatus (Configuration Logging) Get-SFServiceStatus (StoreFront) Get-EnvTestServiceStatus (Test Service)
  10. 10. © 2014 Citrix. Confidential.10 Validating a Service Status What you do for one…. Get-BrokerServiceStatus (Broker) Get-ConfigServiceStatus (Configuration) Get-HypServiceStatus (Host Service) Get-AcctServiceStatus (AD Identity) Get-ProvServiceStatus (MCS) Get-MonitorServiceStatus (Monitoring) Get-AdminServiceStatus (Delegated Admin) Get-LogServiceStatus (Configuration Logging) Get-SFServiceStatus (StoreFront) Get-EnvTestServiceStatus (Test Service)
  11. 11. © 2014 Citrix. Confidential.11 Get-BrokerServiceStatus - Return Value Examples Status Meaning OK The broker is connected to a database that is valid, and the service is running. DBUnconfigured The broker does not have a database connection configured DBRejectedConnection The database rejected the logon from the Broker Service. This may be caused by bad credentials, or the database not being installed. InvalidDBConfigured The database schema is missing (possibly just the stored procedures in it). DBNotFound The specified database could not be located with the configured connection string. DBMissingOptionalFeature The broker is connected to a database that is valid, but it does not have the full functionality required for optimal performance. Upgrading the database is advisable. DBMissingMandatoryFeature The broker is connected to a database that is valid, but it does not have the full functionality required so the broker cannot function. Upgrading the database is required.
  12. 12. © 2014 Citrix. Confidential.12 Get-BrokerServiceStatus - Return Value Examples Status Meaning OK The broker is connected to a database that is valid, and the service is running. DBUnconfigured The broker does not have a database connection configured DBRejectedConnection The database rejected the logon from the Broker Service. This may be caused by bad credentials, or the database not being installed. InvalidDBConfigured The database schema is missing (possibly just the stored procedures in it). DBNotFound The specified database could not be located with the configured connection string. DBMissingOptionalFeature The broker is connected to a database that is valid, but it does not have the full functionality required for optimal performance. Upgrading the database is advisable. DBMissingMandatoryFeature The broker is connected to a database that is valid, but it does not have the full functionality required so the broker cannot function. Upgrading the database is required.
  13. 13. © 2014 Citrix. Confidential.13 FMA service characteristics Common Traits NT AUTHORITYNetwork Service Authenticate against the site DB using the local computer a/c
  14. 14. Demo Checking FMA Service States
  15. 15. SQL Service Scripts
  16. 16. © 2014 Citrix. Confidential.16 SQL Service Scripts 4 script types for each FMA service FullDatabase Instance Evict Login
  17. 17. © 2014 Citrix. Confidential.17 Examples of when to use each Script A Script for every occasion… FullDatabase • Manually create or script the creation of a new Site Instance • Manually add a controller to an existing Site Evict • Manually remove an orphaned Controller from a Site Login • Create DB Security Logon
  18. 18. © 2014 Citrix. Confidential.18 Generating Service Scripts Use the PoSH SDK Get-<ServiceAlias>DBSchema - DatabaseName -ScriptType • Broker, Config, Hyp, Prov, Acct, SF, Monitor EnvTest, Log & Admin Examples • Get-BrokerDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab - ScriptType instance | out-file c:join.sql • Get-ConfigDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab - ScriptType instance | out-file c:join.sql -append
  19. 19. © 2014 Citrix. Confidential.19 Generating Service Scripts Use the PoSH SDK Get-<ServiceAlias>DBSchema - DatabaseName -ScriptType • Broker, Config, Hyp, Prov, Acct, SF, Monitor EnvTest, Log & Admin Examples • Get-BrokerDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab - ScriptType instance | out-file c:join.sql • Get-ConfigDBSchema -DatabaseName CitrixSynergy606 -Adminaddress DC2.training.lab - ScriptType instance | out-file c:join.sql -append
  20. 20. © 2014 Citrix. Confidential.20 Citrix Studio uses the same Scripts FullDatabase & Login
  21. 21. Demo Manually joining a Controller to an existing Site
  22. 22. Site Policies
  23. 23. © 2014 Citrix. Confidential.23 XenDesktop Site Policies Overview Entitlement Policy (Pooled/Shared Desktops) • Get-BrokerEntitlementPolicyRule • Get-BrokerAppEntitlementPolicyRule Assignment Policy (Dedicated/Private Desktops) • Get-BrokerAssignmentPolicyRule • Get-BrokerAppAssignmentPolicyRule Access Policy • Get-BrokerAccessPolicyRule
  24. 24. Demo Restricting access to resources using Site Policies
  25. 25. Troubleshooting Tools
  26. 26. © 2014 Citrix. Confidential.26 What’s new in XenDesktop 7.5? Troubleshooting Tools The more things change… Existing Support tools are still all the rage… • Scout • XDPing (Also part of Scout) • CDFControl (Also part of Scout) • HDX Monitor • Logging/Tracing Mechanisms • PoSH (PowerShell) • Citrix Director • TASS (Citrix Insight Services)
  27. 27. © 2014 Citrix. Confidential.27
  28. 28. Demo Scout Integration
  29. 29. Resources & Q/A
  30. 30. © 2014 Citrix. Confidential.30 Resources Recommended Reading XD 7.5 PowerShell cmdlet help • http://support.citrix.com/proddocs/topic/xenapp-xendesktop-75/cds-sdk-cmdlet-help.html XenDesktop 7.5 • http://support.citrix.com/proddocs/topic/xenapp-xendesktop/cds-xenapp-xendesktop-75- landing.html
  31. 31. © 2014 Citrix. Confidential.31 Resources Recommended Reading commended Reading What’s New in XenApp & XenDesktop 7.5 • http://blogs.citrix.com/2014/03/26/whats-new-in-xenapp-xendesktop-7-5/ Q and A on Implementing XenApp and XenDesktop 7.5 • http://blogs.citrix.com/2014/05/29/q-and-a-on-implementing-xenapp-and-xendesktop-7-5/ StoreFront 2.5 Empowers XenApp and XenDesktop • http://blogs.citrix.com/2014/03/28/storefront-2-5-empowers-xenapp-and-xendesktop/
  32. 32. © 2014 Citrix. Confidential.32 Resources Recommended Reading Trade-up to XenDesktop • http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/2013-trade-up-to- xendesktop-program-faqs.pdf • http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/trade-up-to- xendesktop-program.pdf
  33. 33. © 2014 Citrix. Confidential.33 Tweet Tweet... Stay Informed with the latest XenDesktop Tips @XDinformer • Kim Ferrie @XDtipster • Mick Glover
  34. 34. © 2014 Citrix. Confidential.34
  35. 35. © 2014 Citrix. Confidential.35
  36. 36. © 2014 Citrix. Confidential.36 XA/XD 7.5 Webinar Series Webinar Page
  37. 37. © 2014 Citrix. Confidential.37 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 bit.ly/CTXTRAINING 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.
  38. 38. © 2014 Citrix. Confidential.38 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 bit.ly/CTXCONCULTING to learn more about our proven methodology.
  39. 39. © 2014 Citrix. Confidential.39 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 bit.ly/CTXSUPPORT to learn more about our proven methodology.
  40. 40. © 2014 Citrix. Confidential.40

×