SlideShare a Scribd company logo
1 of 45
Best Practices for Implementing, Administering,
and Troubleshooting XenDesktop 7.5
Shaun Wendland, Senior Escalation Engineer
May 6, 2014
SYN405
Tweet about this session
with hashtag #SYN405
and #CitrixSynergy
© 2014 Citrix. Confidential.3
Architecture and design considerations
for a successful deployment
Administration habits to help maintain
and support a XenDesktop 7.5 site
Troubleshooting tips and the top three
problem types
Resources discussed, Q&A
Agenda
Best Practices for Implementing
The XenDesktop 7.5 architecture and considerations for
successful deployment
© 2014 Citrix. Confidential.5
XenDesktop 7.5 architecture
Virtual Desktop
Agent
Delivery
Controller
SQL Database
© 2014 Citrix. Confidential.6
XenDesktop 7.5 architecture
The XenDesktop Delivery Controller
Facilitates distribution of applications and desktops
Coordinates with hypervisor
Manages the desktop states
Authenticates and manages user access
Brokers connections between users and target resources
© 2014 Citrix. Confidential.7
XenDesktop 7.5 architecture
The XenDesktop Delivery Controller
Delivery Controller ServicesAD Identity
Service
Machine
Creation
Service
Configuration
Service
Broker
Service
Host
Service
Delegated
Admin
Service
Configuration
Logging
Service
Citrix
Environment
Test Service
Monitoring
Service
© 2014 Citrix. Confidential.8
XenDesktop 7.5 architecture
The XenDesktop Database
Stores Site configuration, Configuration Logging, and
Monitoring data
Persistent DB availability is required
High-Availability and Fault Tolerance options
• Mirroring • Clustering
• Leveraging hypervisor H/A features
• Support for SQL 2012 AlwaysOn Availability Groups
© 2014 Citrix. Confidential.9
XenDesktop 7.5 architecture
The XenDesktop Database
Security
• Each controller has its own SQL login to
the database
- Machine account – DOMAINMACHINE$
• Controller permissions are restricted
• No rights to change the schemas
© 2014 Citrix. Confidential.10
XenDesktop 7.5 architecture
The XenDesktop Database
Support for assigning your site, configuration logging, and
monitoring schemas into separate databases
© 2014 Citrix. Confidential.11
XenDesktop 7.5 architecture
The XenDesktop Virtual Desktop Agents
Performs controller registration and manages the HDX
connection
VDA types
• Workstation VDA
- Single-user
• Server VDA
- Multi-user
- Remote Desktop Services (RDS) coordinates connections
© 2014 Citrix. Confidential.12
© 2014 Citrix. Confidential.13
Design Best Practices
Understand the product design and basic how-tos
• XenDesktop 7.5 eDocs
Understand the factors within your environment that
influence the design
• Citrix Virtual Desktop Handbook 7.x
• Citrix XenDesktop 7.5 Blueprint Whitepaper
Leverage Citrix design resources
• Project Accelerator
© 2014 Citrix. Confidential.14
Project Accelerator
http://project.citrix.com
Design
Assess
Administration Best Practices
Habits and pointers for maintaining a
XenDesktop 7.5 environment
© 2014 Citrix. Confidential.16
Administrative Best Practices
Take care of your XenDesktop database!
Establish a regular backup schedule
Occasionally review the size XenDesktop
database transaction logs
• DB growth due to VDA communication  CTX139508
• May be preferable to use Simple recovery mode
Do a dry run of a failover scenario
© 2014 Citrix. Confidential.17
Manually redirecting your XenDesktop site to a failover
database location
• XenDesktop SDK PowerShell cmdlets:
Administrative Best Practices
Manual failover
1. Load XenDesktop snap-ins.
2. Get the existing database
connection strings.
Add-PSSnapin Citrix*
Get-LogDataStore
Get-MonitorDataStore
© 2014 Citrix. Confidential.18
Manually redirecting your XenDesktop site to a failover
database location
• XenDesktop SDK PowerShell cmdlets:
Administrative Best Practices
Manual failover
3. Set a variable for the new
connection string.
4. Disable configuration logging.
$cs = "Server=sqlsrvr2012b;Initial
Catalog=XD75Site;Integrated
Security=True“
Set-LogSite -State Disabled
© 2014 Citrix. Confidential.19
Manually redirecting your XenDesktop site to a failover
database location
• XenDesktop SDK PowerShell cmdlets:
Administrative Best Practices
Manual failover
5. Remove all the current
database connections
© 2014 Citrix. Confidential.20
Set-LogDBConnection -DataStore Logging -DBConnection $null
Set-MonitorDBConnection -DataStore Monitor -DBConnection $null
Set-MonitorDBConnection -DBConnection $null
Set-AcctDBConnection -DBConnection $null
Set-ProvDBConnection -DBConnection $null
Set-BrokerDBConnection -DBConnection $null
Set-EnvTestDBConnection -DBConnection $null
Set-SfDBConnection -DBConnection $null
Set-HypDBConnection -DBConnection $null
Set-ConfigDBConnection -DBConnection $null -force
Set-LogDBConnection -DBConnection $null -force
Set-AdminDBConnection -DBConnection $null -force
Administrative Best Practices
Removing current database connections
© 2014 Citrix. Confidential.21
Manually redirecting your XenDesktop site to a failover
database location
• XenDesktop SDK PowerShell cmdlets:
Administrative Best Practices
Manual failover
5. Remove all the current
database connections
6. Set all the database
connections to the new
connection string
© 2014 Citrix. Confidential.22
Set-ConfigDBconnection -DBConnection $cs
Set-AdminDBconnection -DBConnection $cs
Set-LogDBconnection -DBConnection $cs
Set-AcctDBconnection -DBConnection $cs
Set-BrokerDBconnection -DBConnection $cs
Set-EnvTestDBconnection -DBConnection $cs
Set-HypDBconnection -DBConnection $cs
Set-MonitorDBconnection -DBConnection $cs
Set-ProvDBconnection -DBConnection $cs
Set-SfDBconnection -DBConnection $cs
Set-LogDBConnection -DataStore Logging -DBConnection $cs
Set-MonitorDBConnection -DataStore Monitor -DBConnection $cs
Administrative Best Practices
Setting the database connections
© 2014 Citrix. Confidential.23
Manually redirecting your XenDesktop site to a failover
database location
• XenDesktop SDK PowerShell cmdlets:
Administrative Best Practices
Manual failover
7. Re-enable configuration
logging
8. For confirmation, test Broker
Service connectivity
Set-LogSite -State Enabled
Test-BrokerDBConnection $(Get-
BrokerDBConnection)
© 2014 Citrix. Confidential.24
Administrative Best Practices
Director offers real-time
assessment of a XenDesktop
environment
Provides details regarding the
health of the various XenDesktop
components
Offers functionality for
troubleshooting machines,
sessions, and connections
© 2014 Citrix. Confidential.25
Administrative Best Practices
Performance Monitoring Using Director
Infrastructure health overview
• Hosting alerts
• Delivery Controller service,
database, & license statuses
VDA health
• Failed start-ups and boots
• Unregistered machines
• Current load (Server OS)
• Connected systems
• Logon times
© 2014 Citrix. Confidential.26
Administrative Best Practices
Performance Monitoring Using Director
© 2014 Citrix. Confidential.27
Administrative Best Practices
Performance Monitoring Using Director
Session and connection health
• Activity manager
• Session details
• Machine details
Troubleshooting Best Practices
Techniques for troubleshooting XenDesktop 7.5 and the top
three problem types
© 2014 Citrix. Confidential.29
Troubleshooting Best Practices
When bad things happen to good environments
This is the first I’ve
tried this and it’s not
working.
Something changed
and I didn’t do it.
Something changed
and I’m the one that
caused it.
© 2014 Citrix. Confidential.30
Troubleshooting Best Practices
Methodology
Investigate
Analyze
Implement
© 2014 Citrix. Confidential.31
Troubleshooting Best Practices
Gathering data
XenDesktop data collection
• Deliver Controller Logging
- Event logs
- Controller service logging
• VDA Logging
- Event logs
- BrokerAgent logging
- PortICA logging
• Scout
- Environmental data
- XDPing
- CDF Tracing
© 2014 Citrix. Confidential.32
Troubleshooting – Machine creation
Case study: Catalog creation fails with an “unknown error” exception
© 2014 Citrix. Confidential.33
Troubleshooting – Machine creation
Case study: Catalog creation fails with an “unknown error” exception
© 2014 Citrix. Confidential.34
Troubleshooting – Machine creation
Case study: Catalog creation fails with an “unknown error” exception
New-ProvScheme -AdminAddress 'sw-xd75-ddc-01.get.services.citrite.net:80' -HostingUnitName 'Synergy Demo
Resources' -IdentityPoolName 'Synergy Demo' -LoggingId 85ed5a85-28a4-48f6-80b9-816a6585ef45 -MasterImageVM
'XDHyp:HostingUnitsSynergy Demo ResourcesSW-VDA-W7x64-01.vmOld Base.snapshotBase.snapshotVDA 7.1
RTM (Build 4033).snapshotCitrix_XD_Synergy Demo.snapshot' -NetworkMapping @{'0'='XDHyp:HostingUnitsSynergy
Demo ResourcesHappy Little VDA Network.network'} -ProvisioningSchemeName 'Synergy Demo' -RunAsynchronously -
Scope @() -VMCpuCount 2 -VMMemoryMB 2048
© 2014 Citrix. Confidential.35
Troubleshooting – Machine creation
Case study: Catalog creation fails with an “unknown error” exception
© 2014 Citrix. Confidential.36
Troubleshooting – Registration
Case study: Recently-booted pooled VDAs are intermittently not
registering
Test VDA -> Controller communication
• Ping the FQDN of the Controller
• Telnet to the IP address of the Controller on port 80
• Review port usage on the Controller using Netstat
Test Controller -> VDA communication
• Ping the FQDN of the VDA
• Telnet to the IP address of the VDA on port 80
• Review port usage on the VDA using Netstat
Confirm the time on both the Controller and the VDA
© 2014 Citrix. Confidential.37
Troubleshooting – Registration
Case study: Recently-booted pooled VDAs are intermittently not
registering
Verify ListOfDDCs value in the registry
© 2014 Citrix. Confidential.38
Troubleshooting – Registration
Case study: Recently-booted pooled VDAs are intermittently not
registering
Verify ListOfDDCs value in the registry
Use Scout / XDPing to identify issues between the
VDA and Controller
Enable VDA logging / Capture CDF traces
© 2014 Citrix. Confidential.39
Troubleshooting – Connection
Case study: Workstation VDA connection fails with no error
Desktop Viewer is loading
• Request is made to the Delivery Controller
• ICA file is received
• Connection attempt to the VDA is being made
Gathered VDA CDF traces to review
for potential cause
© 2014 Citrix. Confidential.40
Troubleshooting – Connection
Case study: Workstation VDA connection fails with no error
© 2014 Citrix. Confidential.41
Troubleshooting – Connection
Case study: Workstation VDA connection fails with no error
Dynamic memory settings
• Hyper-V Startup memory
- 32-bit: ≥1.5 GB
- 64-bit: ≥2.5 GB
Next Steps
Best Practices for Implementing, Administering, and
Troubleshooting XenDesktop 7.5
© 2014 Citrix. Confidential.43
Resources
XenDesktop 7.5 eDocs – http://support.citrix.com/proddocs/topic/xenapp-xendesktop/cds-xenapp-
xendesktop-75-landing.html
Virtual Desktop Handbook 7.x – http://support.citrix.com/article/CTX139331
XenDesktop 7.5 Blueprint Whitepaper –
http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/xendesktop-deployment-
blueprint.pdf
Project Accelerator – http://project.citrix.com/
XenDesktop 7.x Database Sizing – http://support.citrix.com/article/CTX139508
Citrix Blog: “New” Citrix Best Practices – http://blogs.citrix.com/2014/01/02/new-citrix-best-practices/
Q&A
Best Practices for Implementing, Administering, and
Troubleshooting XenDesktop 7.5
© 2014 Citrix. Confidential.45
WORK BETTER. LIVE BETTER.

More Related Content

What's hot

Implementing and Troubleshooting PVS
Implementing and Troubleshooting PVSImplementing and Troubleshooting PVS
Implementing and Troubleshooting PVS
David McGeough
 
Advanced Netscaler Customizations-BriForum 2011
Advanced Netscaler Customizations-BriForum 2011Advanced Netscaler Customizations-BriForum 2011
Advanced Netscaler Customizations-BriForum 2011
shoesing
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
sthirion
 

What's hot (20)

Jump Start your XenDesktop 7.5 Deployment
Jump Start your XenDesktop 7.5 DeploymentJump Start your XenDesktop 7.5 Deployment
Jump Start your XenDesktop 7.5 Deployment
 
Implementing and Troubleshooting PVS
Implementing and Troubleshooting PVSImplementing and Troubleshooting PVS
Implementing and Troubleshooting PVS
 
Maintaining and Troubleshooting your XenDesktop 7.5 Environment
Maintaining and Troubleshooting your XenDesktop 7.5 EnvironmentMaintaining and Troubleshooting your XenDesktop 7.5 Environment
Maintaining and Troubleshooting your XenDesktop 7.5 Environment
 
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
Citrix TechEdge 2014 - Advanced Tools and Techniques for Troubleshooting NetS...
 
Jump Start your XenApp 7.5 Deployment
Jump Start your XenApp 7.5 DeploymentJump Start your XenApp 7.5 Deployment
Jump Start your XenApp 7.5 Deployment
 
10 Tips Every XenDesktop Admin Should Know
10 Tips Every XenDesktop Admin Should Know10 Tips Every XenDesktop Admin Should Know
10 Tips Every XenDesktop Admin Should Know
 
Citrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktop
Citrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktopCitrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktop
Citrix TechEdge 2014 - A Deep Dive Look Into Supporting XenDesktop
 
Configuring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop SitesConfiguring and Troubleshooting XenDesktop Sites
Configuring and Troubleshooting XenDesktop Sites
 
Troubleshooting Provisioning Services Target Boot Processes
Troubleshooting Provisioning Services Target Boot ProcessesTroubleshooting Provisioning Services Target Boot Processes
Troubleshooting Provisioning Services Target Boot Processes
 
Designing your XenApp 7.5 Environment
Designing your XenApp 7.5 EnvironmentDesigning your XenApp 7.5 Environment
Designing your XenApp 7.5 Environment
 
Citrix Internals: ICA Connectivity
Citrix Internals: ICA ConnectivityCitrix Internals: ICA Connectivity
Citrix Internals: ICA Connectivity
 
Citrix Day 2014: NetScaler 10.5
Citrix Day 2014: NetScaler 10.5Citrix Day 2014: NetScaler 10.5
Citrix Day 2014: NetScaler 10.5
 
Netscaler vpx implementation and troubleshooting
Netscaler vpx implementation and troubleshootingNetscaler vpx implementation and troubleshooting
Netscaler vpx implementation and troubleshooting
 
Common Pitfalls when Setting up a NetScaler for the First Time
Common Pitfalls when Setting up a NetScaler for the First TimeCommon Pitfalls when Setting up a NetScaler for the First Time
Common Pitfalls when Setting up a NetScaler for the First Time
 
NetScaler TCP Performance Tuning
NetScaler TCP Performance TuningNetScaler TCP Performance Tuning
NetScaler TCP Performance Tuning
 
In-depth Troubleshooting on NetScaler using Command Line Tools
In-depth Troubleshooting on NetScaler using Command Line ToolsIn-depth Troubleshooting on NetScaler using Command Line Tools
In-depth Troubleshooting on NetScaler using Command Line Tools
 
Advanced Netscaler Customizations-BriForum 2011
Advanced Netscaler Customizations-BriForum 2011Advanced Netscaler Customizations-BriForum 2011
Advanced Netscaler Customizations-BriForum 2011
 
NetScaler 11 Update
NetScaler 11 UpdateNetScaler 11 Update
NetScaler 11 Update
 
E2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane ThirionE2E PVS Technical Overview Stephane Thirion
E2E PVS Technical Overview Stephane Thirion
 
Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...
Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...
Citrix TechEdge 2014 - Troubelshooting Top Issues with XenMobile Enterprise E...
 

Similar to Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Troubleshooting XenDesktop 7.5

Dinakar_Sr Wintel admin
Dinakar_Sr Wintel adminDinakar_Sr Wintel admin
Dinakar_Sr Wintel admin
Dinakar Nerusu
 

Similar to Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Troubleshooting XenDesktop 7.5 (20)

Best practices for implementing, administering, and troubleshooting xen deskt...
Best practices for implementing, administering, and troubleshooting xen deskt...Best practices for implementing, administering, and troubleshooting xen deskt...
Best practices for implementing, administering, and troubleshooting xen deskt...
 
Maintaining and troubleshooting your xen desktop 7.5 environment
Maintaining and troubleshooting your xen desktop 7.5 environmentMaintaining and troubleshooting your xen desktop 7.5 environment
Maintaining and troubleshooting your xen desktop 7.5 environment
 
Rajashekar.N - Senior Analyst with Citrix and VMWare Skills
Rajashekar.N - Senior Analyst with Citrix and VMWare SkillsRajashekar.N - Senior Analyst with Citrix and VMWare Skills
Rajashekar.N - Senior Analyst with Citrix and VMWare Skills
 
Citrix netscaler-and-citrix-xendesktop-7-deployment-guide
Citrix netscaler-and-citrix-xendesktop-7-deployment-guideCitrix netscaler-and-citrix-xendesktop-7-deployment-guide
Citrix netscaler-and-citrix-xendesktop-7-deployment-guide
 
XenDesktop Master Class - Live Installation of XenDesktop/XenApp 7.6
XenDesktop Master Class - Live Installation of XenDesktop/XenApp 7.6XenDesktop Master Class - Live Installation of XenDesktop/XenApp 7.6
XenDesktop Master Class - Live Installation of XenDesktop/XenApp 7.6
 
Citrix xen server
Citrix xen serverCitrix xen server
Citrix xen server
 
mohan ctx
mohan ctx mohan ctx
mohan ctx
 
Dinakar_Sr Wintel admin
Dinakar_Sr Wintel adminDinakar_Sr Wintel admin
Dinakar_Sr Wintel admin
 
A deep dive into supporting xen desktop
A deep dive into supporting xen desktopA deep dive into supporting xen desktop
A deep dive into supporting xen desktop
 
vRealize Operations (vROps) Management Pack for Citrix XenDesktop & XenApp Ov...
vRealize Operations (vROps) Management Pack for Citrix XenDesktop & XenApp Ov...vRealize Operations (vROps) Management Pack for Citrix XenDesktop & XenApp Ov...
vRealize Operations (vROps) Management Pack for Citrix XenDesktop & XenApp Ov...
 
Praneet CV
Praneet CVPraneet CV
Praneet CV
 
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming PhysicalVMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
VMworld 2013: vCloud Powered HPC is Better and Outperforming Physical
 
XenDesktop 7 on Windows Azure
XenDesktop 7 on Windows Azure XenDesktop 7 on Windows Azure
XenDesktop 7 on Windows Azure
 
Easy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applicationsEasy integration of Bluemix services with your applications
Easy integration of Bluemix services with your applications
 
Xendesktop 7-on-windows-azure-design-guide
Xendesktop 7-on-windows-azure-design-guideXendesktop 7-on-windows-azure-design-guide
Xendesktop 7-on-windows-azure-design-guide
 
Allan resume 2017
Allan resume 2017Allan resume 2017
Allan resume 2017
 
Opalis - Infrastructure Optimization for the Future
Opalis - Infrastructure Optimization for the FutureOpalis - Infrastructure Optimization for the Future
Opalis - Infrastructure Optimization for the Future
 
Citrix Day 2014: Cloud Plattform
Citrix Day 2014: Cloud PlattformCitrix Day 2014: Cloud Plattform
Citrix Day 2014: Cloud Plattform
 
Citrix Synergy 2014 - Syn228 What's new in Citrix CloudPlatform
Citrix Synergy  2014 - Syn228  What's new in Citrix CloudPlatformCitrix Synergy  2014 - Syn228  What's new in Citrix CloudPlatform
Citrix Synergy 2014 - Syn228 What's new in Citrix CloudPlatform
 
Designing your xen desktop 7.5 environment with training guide
Designing your xen desktop 7.5 environment with training guideDesigning your xen desktop 7.5 environment with training guide
Designing your xen desktop 7.5 environment with training guide
 

More from David McGeough

More from David McGeough (11)

Citrix Group Policy Troubleshooting for XenApp and XenDesktop
Citrix Group Policy Troubleshooting for XenApp and XenDesktopCitrix Group Policy Troubleshooting for XenApp and XenDesktop
Citrix Group Policy Troubleshooting for XenApp and XenDesktop
 
Manage and Diagnose your Environment using Citrix Insight Services
Manage and Diagnose your Environment using Citrix Insight ServicesManage and Diagnose your Environment using Citrix Insight Services
Manage and Diagnose your Environment using Citrix Insight Services
 
How to Protect Against top Web Security Issues With Citrix NetScaler
How to Protect Against top Web Security Issues With Citrix NetScalerHow to Protect Against top Web Security Issues With Citrix NetScaler
How to Protect Against top Web Security Issues With Citrix NetScaler
 
Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...
Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...
Citrix TechEdge 2014 - Understanding and Troubleshooting Authentication Flow ...
 
Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...
Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...
Citrix TechEdge 2014 - How to Troubleshoot Deployments of StoreFront and NetS...
 
Troubleshooting Common Network Related Issues with NetScaler
Troubleshooting Common Network Related Issues with NetScalerTroubleshooting Common Network Related Issues with NetScaler
Troubleshooting Common Network Related Issues with NetScaler
 
Using NetScaler Insight to Troubleshoot Network and Server Performance Issues
Using NetScaler Insight to Troubleshoot Network and Server Performance IssuesUsing NetScaler Insight to Troubleshoot Network and Server Performance Issues
Using NetScaler Insight to Troubleshoot Network and Server Performance Issues
 
Troubleshooting XenApp with the Citrix Diagnostic Toolkit
Troubleshooting XenApp with the Citrix Diagnostic ToolkitTroubleshooting XenApp with the Citrix Diagnostic Toolkit
Troubleshooting XenApp with the Citrix Diagnostic Toolkit
 
Top Troubleshooting Tips and Techniques for Citrix XenServer Deployments
Top Troubleshooting Tips and Techniques for Citrix XenServer DeploymentsTop Troubleshooting Tips and Techniques for Citrix XenServer Deployments
Top Troubleshooting Tips and Techniques for Citrix XenServer Deployments
 
Implementing and Troubleshooting EdgeSight
Implementing and Troubleshooting EdgeSightImplementing and Troubleshooting EdgeSight
Implementing and Troubleshooting EdgeSight
 
Migrating from XenApp 4.5 and 5 to XenApp 6.5
Migrating from XenApp 4.5 and 5 to XenApp 6.5Migrating from XenApp 4.5 and 5 to XenApp 6.5
Migrating from XenApp 4.5 and 5 to XenApp 6.5
 

Recently uploaded

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
Joaquim Jorge
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
giselly40
 

Recently uploaded (20)

Artificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and MythsArtificial Intelligence: Facts and Myths
Artificial Intelligence: Facts and Myths
 
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdfThe Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
The Role of Taxonomy and Ontology in Semantic Layers - Heather Hedden.pdf
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Advantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your BusinessAdvantages of Hiring UIUX Design Service Providers for Your Business
Advantages of Hiring UIUX Design Service Providers for Your Business
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Boost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdfBoost Fertility New Invention Ups Success Rates.pdf
Boost Fertility New Invention Ups Success Rates.pdf
 
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
08448380779 Call Girls In Diplomatic Enclave Women Seeking Men
 

Citrix TechEdge 2014 - Best Practices for Implementing, Administering, and Troubleshooting XenDesktop 7.5

  • 1. Best Practices for Implementing, Administering, and Troubleshooting XenDesktop 7.5 Shaun Wendland, Senior Escalation Engineer May 6, 2014 SYN405
  • 2. Tweet about this session with hashtag #SYN405 and #CitrixSynergy
  • 3. © 2014 Citrix. Confidential.3 Architecture and design considerations for a successful deployment Administration habits to help maintain and support a XenDesktop 7.5 site Troubleshooting tips and the top three problem types Resources discussed, Q&A Agenda
  • 4. Best Practices for Implementing The XenDesktop 7.5 architecture and considerations for successful deployment
  • 5. © 2014 Citrix. Confidential.5 XenDesktop 7.5 architecture Virtual Desktop Agent Delivery Controller SQL Database
  • 6. © 2014 Citrix. Confidential.6 XenDesktop 7.5 architecture The XenDesktop Delivery Controller Facilitates distribution of applications and desktops Coordinates with hypervisor Manages the desktop states Authenticates and manages user access Brokers connections between users and target resources
  • 7. © 2014 Citrix. Confidential.7 XenDesktop 7.5 architecture The XenDesktop Delivery Controller Delivery Controller ServicesAD Identity Service Machine Creation Service Configuration Service Broker Service Host Service Delegated Admin Service Configuration Logging Service Citrix Environment Test Service Monitoring Service
  • 8. © 2014 Citrix. Confidential.8 XenDesktop 7.5 architecture The XenDesktop Database Stores Site configuration, Configuration Logging, and Monitoring data Persistent DB availability is required High-Availability and Fault Tolerance options • Mirroring • Clustering • Leveraging hypervisor H/A features • Support for SQL 2012 AlwaysOn Availability Groups
  • 9. © 2014 Citrix. Confidential.9 XenDesktop 7.5 architecture The XenDesktop Database Security • Each controller has its own SQL login to the database - Machine account – DOMAINMACHINE$ • Controller permissions are restricted • No rights to change the schemas
  • 10. © 2014 Citrix. Confidential.10 XenDesktop 7.5 architecture The XenDesktop Database Support for assigning your site, configuration logging, and monitoring schemas into separate databases
  • 11. © 2014 Citrix. Confidential.11 XenDesktop 7.5 architecture The XenDesktop Virtual Desktop Agents Performs controller registration and manages the HDX connection VDA types • Workstation VDA - Single-user • Server VDA - Multi-user - Remote Desktop Services (RDS) coordinates connections
  • 12. © 2014 Citrix. Confidential.12
  • 13. © 2014 Citrix. Confidential.13 Design Best Practices Understand the product design and basic how-tos • XenDesktop 7.5 eDocs Understand the factors within your environment that influence the design • Citrix Virtual Desktop Handbook 7.x • Citrix XenDesktop 7.5 Blueprint Whitepaper Leverage Citrix design resources • Project Accelerator
  • 14. © 2014 Citrix. Confidential.14 Project Accelerator http://project.citrix.com Design Assess
  • 15. Administration Best Practices Habits and pointers for maintaining a XenDesktop 7.5 environment
  • 16. © 2014 Citrix. Confidential.16 Administrative Best Practices Take care of your XenDesktop database! Establish a regular backup schedule Occasionally review the size XenDesktop database transaction logs • DB growth due to VDA communication  CTX139508 • May be preferable to use Simple recovery mode Do a dry run of a failover scenario
  • 17. © 2014 Citrix. Confidential.17 Manually redirecting your XenDesktop site to a failover database location • XenDesktop SDK PowerShell cmdlets: Administrative Best Practices Manual failover 1. Load XenDesktop snap-ins. 2. Get the existing database connection strings. Add-PSSnapin Citrix* Get-LogDataStore Get-MonitorDataStore
  • 18. © 2014 Citrix. Confidential.18 Manually redirecting your XenDesktop site to a failover database location • XenDesktop SDK PowerShell cmdlets: Administrative Best Practices Manual failover 3. Set a variable for the new connection string. 4. Disable configuration logging. $cs = "Server=sqlsrvr2012b;Initial Catalog=XD75Site;Integrated Security=True“ Set-LogSite -State Disabled
  • 19. © 2014 Citrix. Confidential.19 Manually redirecting your XenDesktop site to a failover database location • XenDesktop SDK PowerShell cmdlets: Administrative Best Practices Manual failover 5. Remove all the current database connections
  • 20. © 2014 Citrix. Confidential.20 Set-LogDBConnection -DataStore Logging -DBConnection $null Set-MonitorDBConnection -DataStore Monitor -DBConnection $null Set-MonitorDBConnection -DBConnection $null Set-AcctDBConnection -DBConnection $null Set-ProvDBConnection -DBConnection $null Set-BrokerDBConnection -DBConnection $null Set-EnvTestDBConnection -DBConnection $null Set-SfDBConnection -DBConnection $null Set-HypDBConnection -DBConnection $null Set-ConfigDBConnection -DBConnection $null -force Set-LogDBConnection -DBConnection $null -force Set-AdminDBConnection -DBConnection $null -force Administrative Best Practices Removing current database connections
  • 21. © 2014 Citrix. Confidential.21 Manually redirecting your XenDesktop site to a failover database location • XenDesktop SDK PowerShell cmdlets: Administrative Best Practices Manual failover 5. Remove all the current database connections 6. Set all the database connections to the new connection string
  • 22. © 2014 Citrix. Confidential.22 Set-ConfigDBconnection -DBConnection $cs Set-AdminDBconnection -DBConnection $cs Set-LogDBconnection -DBConnection $cs Set-AcctDBconnection -DBConnection $cs Set-BrokerDBconnection -DBConnection $cs Set-EnvTestDBconnection -DBConnection $cs Set-HypDBconnection -DBConnection $cs Set-MonitorDBconnection -DBConnection $cs Set-ProvDBconnection -DBConnection $cs Set-SfDBconnection -DBConnection $cs Set-LogDBConnection -DataStore Logging -DBConnection $cs Set-MonitorDBConnection -DataStore Monitor -DBConnection $cs Administrative Best Practices Setting the database connections
  • 23. © 2014 Citrix. Confidential.23 Manually redirecting your XenDesktop site to a failover database location • XenDesktop SDK PowerShell cmdlets: Administrative Best Practices Manual failover 7. Re-enable configuration logging 8. For confirmation, test Broker Service connectivity Set-LogSite -State Enabled Test-BrokerDBConnection $(Get- BrokerDBConnection)
  • 24. © 2014 Citrix. Confidential.24 Administrative Best Practices Director offers real-time assessment of a XenDesktop environment Provides details regarding the health of the various XenDesktop components Offers functionality for troubleshooting machines, sessions, and connections
  • 25. © 2014 Citrix. Confidential.25 Administrative Best Practices Performance Monitoring Using Director Infrastructure health overview • Hosting alerts • Delivery Controller service, database, & license statuses VDA health • Failed start-ups and boots • Unregistered machines • Current load (Server OS) • Connected systems • Logon times
  • 26. © 2014 Citrix. Confidential.26 Administrative Best Practices Performance Monitoring Using Director
  • 27. © 2014 Citrix. Confidential.27 Administrative Best Practices Performance Monitoring Using Director Session and connection health • Activity manager • Session details • Machine details
  • 28. Troubleshooting Best Practices Techniques for troubleshooting XenDesktop 7.5 and the top three problem types
  • 29. © 2014 Citrix. Confidential.29 Troubleshooting Best Practices When bad things happen to good environments This is the first I’ve tried this and it’s not working. Something changed and I didn’t do it. Something changed and I’m the one that caused it.
  • 30. © 2014 Citrix. Confidential.30 Troubleshooting Best Practices Methodology Investigate Analyze Implement
  • 31. © 2014 Citrix. Confidential.31 Troubleshooting Best Practices Gathering data XenDesktop data collection • Deliver Controller Logging - Event logs - Controller service logging • VDA Logging - Event logs - BrokerAgent logging - PortICA logging • Scout - Environmental data - XDPing - CDF Tracing
  • 32. © 2014 Citrix. Confidential.32 Troubleshooting – Machine creation Case study: Catalog creation fails with an “unknown error” exception
  • 33. © 2014 Citrix. Confidential.33 Troubleshooting – Machine creation Case study: Catalog creation fails with an “unknown error” exception
  • 34. © 2014 Citrix. Confidential.34 Troubleshooting – Machine creation Case study: Catalog creation fails with an “unknown error” exception New-ProvScheme -AdminAddress 'sw-xd75-ddc-01.get.services.citrite.net:80' -HostingUnitName 'Synergy Demo Resources' -IdentityPoolName 'Synergy Demo' -LoggingId 85ed5a85-28a4-48f6-80b9-816a6585ef45 -MasterImageVM 'XDHyp:HostingUnitsSynergy Demo ResourcesSW-VDA-W7x64-01.vmOld Base.snapshotBase.snapshotVDA 7.1 RTM (Build 4033).snapshotCitrix_XD_Synergy Demo.snapshot' -NetworkMapping @{'0'='XDHyp:HostingUnitsSynergy Demo ResourcesHappy Little VDA Network.network'} -ProvisioningSchemeName 'Synergy Demo' -RunAsynchronously - Scope @() -VMCpuCount 2 -VMMemoryMB 2048
  • 35. © 2014 Citrix. Confidential.35 Troubleshooting – Machine creation Case study: Catalog creation fails with an “unknown error” exception
  • 36. © 2014 Citrix. Confidential.36 Troubleshooting – Registration Case study: Recently-booted pooled VDAs are intermittently not registering Test VDA -> Controller communication • Ping the FQDN of the Controller • Telnet to the IP address of the Controller on port 80 • Review port usage on the Controller using Netstat Test Controller -> VDA communication • Ping the FQDN of the VDA • Telnet to the IP address of the VDA on port 80 • Review port usage on the VDA using Netstat Confirm the time on both the Controller and the VDA
  • 37. © 2014 Citrix. Confidential.37 Troubleshooting – Registration Case study: Recently-booted pooled VDAs are intermittently not registering Verify ListOfDDCs value in the registry
  • 38. © 2014 Citrix. Confidential.38 Troubleshooting – Registration Case study: Recently-booted pooled VDAs are intermittently not registering Verify ListOfDDCs value in the registry Use Scout / XDPing to identify issues between the VDA and Controller Enable VDA logging / Capture CDF traces
  • 39. © 2014 Citrix. Confidential.39 Troubleshooting – Connection Case study: Workstation VDA connection fails with no error Desktop Viewer is loading • Request is made to the Delivery Controller • ICA file is received • Connection attempt to the VDA is being made Gathered VDA CDF traces to review for potential cause
  • 40. © 2014 Citrix. Confidential.40 Troubleshooting – Connection Case study: Workstation VDA connection fails with no error
  • 41. © 2014 Citrix. Confidential.41 Troubleshooting – Connection Case study: Workstation VDA connection fails with no error Dynamic memory settings • Hyper-V Startup memory - 32-bit: ≥1.5 GB - 64-bit: ≥2.5 GB
  • 42. Next Steps Best Practices for Implementing, Administering, and Troubleshooting XenDesktop 7.5
  • 43. © 2014 Citrix. Confidential.43 Resources XenDesktop 7.5 eDocs – http://support.citrix.com/proddocs/topic/xenapp-xendesktop/cds-xenapp- xendesktop-75-landing.html Virtual Desktop Handbook 7.x – http://support.citrix.com/article/CTX139331 XenDesktop 7.5 Blueprint Whitepaper – http://www.citrix.com/content/dam/citrix/en_us/documents/products-solutions/xendesktop-deployment- blueprint.pdf Project Accelerator – http://project.citrix.com/ XenDesktop 7.x Database Sizing – http://support.citrix.com/article/CTX139508 Citrix Blog: “New” Citrix Best Practices – http://blogs.citrix.com/2014/01/02/new-citrix-best-practices/
  • 44. Q&A Best Practices for Implementing, Administering, and Troubleshooting XenDesktop 7.5
  • 45. © 2014 Citrix. Confidential.45 WORK BETTER. LIVE BETTER.