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. 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/11494TRANSCRIPT
![Page 1: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/1.jpg)
Maintaining and Troubleshooting your XenDesktop 7.5 Environment
June 2014
Mick Glover - Sr. Readiness Specialist, Worldwide Support Readiness
![Page 2: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/2.jpg)
© 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
![Page 3: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/3.jpg)
© 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
![Page 4: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/4.jpg)
© 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
![Page 5: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/5.jpg)
© 2014 Citrix. Confidential.5
AgendaMaintaining and Troubleshooting your XenDesktop 7.5 Environment
FMA Service States
Service SQL Scripts
Site Policies
Troubleshooting Tools
![Page 6: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/6.jpg)
© 2014 Citrix. Confidential.6
Learning ObjectivesAt 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
![Page 7: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/7.jpg)
FMA Service States
![Page 8: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/8.jpg)
© 2014 Citrix. Confidential.8
Viewing service states through Windows only tells half the storyExample: Broker Service
![Page 9: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/9.jpg)
© 2014 Citrix. Confidential.9
Validating a Service StatusWhat 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)
![Page 10: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/10.jpg)
© 2014 Citrix. Confidential.10
Validating a Service StatusWhat 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)
![Page 11: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/11.jpg)
© 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.
DBMissingMandatoryFeatureThe 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.
![Page 12: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/12.jpg)
© 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.
DBMissingMandatoryFeatureThe 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.
![Page 13: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/13.jpg)
© 2014 Citrix. Confidential.13
FMA service characteristicsCommon Traits
NT AUTHORITY\Network Service
Authenticate against the site DB using the local computer a/c
![Page 14: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/14.jpg)
DemoChecking FMA Service States
![Page 15: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/15.jpg)
SQL Service Scripts
![Page 16: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/16.jpg)
© 2014 Citrix. Confidential.16
SQL Service Scripts4 script types for each FMA service
FullDatabase
Instance
Evict
Login
![Page 17: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/17.jpg)
© 2014 Citrix. Confidential.17
Examples of when to use each ScriptA 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
![Page 18: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/18.jpg)
© 2014 Citrix. Confidential.18
Generating Service ScriptsUse 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
![Page 19: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/19.jpg)
© 2014 Citrix. Confidential.19
Generating Service ScriptsUse 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
![Page 20: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/20.jpg)
© 2014 Citrix. Confidential.20
Citrix Studio uses the same ScriptsFullDatabase & Login
![Page 21: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/21.jpg)
DemoManually joining a Controller to an existing Site
![Page 22: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/22.jpg)
Site Policies
![Page 23: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/23.jpg)
© 2014 Citrix. Confidential.23
XenDesktop Site PoliciesOverview
Entitlement Policy (Pooled/Shared Desktops)• Get-BrokerEntitlementPolicyRule• Get-BrokerAppEntitlementPolicyRule
Assignment Policy (Dedicated/Private Desktops)• Get-BrokerAssignmentPolicyRule• Get-BrokerAppAssignmentPolicyRule
Access Policy• Get-BrokerAccessPolicyRule
![Page 24: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/24.jpg)
DemoRestricting access to resources using Site Policies
![Page 25: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/25.jpg)
Troubleshooting Tools
![Page 26: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/26.jpg)
© 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)
![Page 27: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/27.jpg)
© 2014 Citrix. Confidential.27
![Page 28: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/28.jpg)
DemoScout Integration
![Page 29: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/29.jpg)
Resources & Q/A
![Page 30: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/30.jpg)
© 2014 Citrix. Confidential.30
ResourcesRecommended 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
![Page 31: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/31.jpg)
© 2014 Citrix. Confidential.31
ResourcesRecommended 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/
![Page 32: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/32.jpg)
© 2014 Citrix. Confidential.32
ResourcesRecommended Reading
Trade-up to XenDesktop• http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/2013-trade-up-to-x
endesktop-program-faqs.pdf• http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/trade-up-to-xendes
ktop-program.pdf
![Page 33: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/33.jpg)
© 2014 Citrix. Confidential.33
Tweet Tweet...Stay Informed with the latest XenDesktop Tips
@XDinformer• Kim Ferrie
@XDtipster• Mick Glover
![Page 34: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/34.jpg)
© 2014 Citrix. Confidential.34
![Page 35: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/35.jpg)
© 2014 Citrix. Confidential.35
![Page 36: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/36.jpg)
© 2014 Citrix. Confidential.36
XA/XD 7.5 Webinar Series
Webinar Page
![Page 37: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/37.jpg)
© 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.
![Page 38: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/38.jpg)
© 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.
![Page 39: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/39.jpg)
© 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
Citrix Premier Support
Visit bit.ly/CTXSUPPORT to learn more about our proven methodology.
![Page 40: Maintaining and Troubleshooting your XenDesktop 7.5 Environment](https://reader033.vdocuments.mx/reader033/viewer/2022061218/54b714484a7959286f8b45a0/html5/thumbnails/40.jpg)
© 2014 Citrix. Confidential.40