Table Of Content604: Administering and troubleshooting
XenDesktop 7.x
Hands-on Lab Exercise Guide
This session is offered as both an instructor led training and a self-paced online
lab.
Make money selling Field Services
Stop by the Education and Consulting booths in the Solutions Expo to find out
how! We're here to help.
Contents
Overview .................................................................................................................................... 2
Exercise 1 .................................................................................................................................. 4
Configuring Internal and External Access for a XenDesktop/XenApp Deployment ..................... 4
Exercise 2 .................................................................................................................................40
Integrating NetScaler Insight Center with Citrix Director to View Session Details ......................40
Exercise 3 .................................................................................................................................58
Using Citrix Scout to Obtain CDF Traces of a Launch and Logon of a Session. ........................58
Exercise 4 .................................................................................................................................75
Understanding How to Read a CDF Log File ............................................................................75
Exercise 5 .................................................................................................................................84
Understanding the Different PowerShell cmdlets Used to Publish an Application from within a VDA
Machine. ...................................................................................................................................84
Optional: Exercise 6 ..................................................................................................................99
Using Citrix Director and CDF Log Files to View Information About a Launched Published
Application ................................................................................................................................99
| 1 |
Overview
Hands-on Training Module
Objective
This training will provide hands-on experience with troubleshooting XenDesktop 7 using Citrix
Director, NetScaler Insight Center and CDF tracing.
Prerequisites
Experience administering XenDesktop would be beneficial.
Audience
Citrix Partners, Customers, Sales Engineers, Consultants, Technical Support.
Lab Environment Details
Describe the lab environment. The system diagram of the lab is shown below:
The Student Desktop is accessed remotely using Citrix Receiver running on your laptop. All
Windows applications such as XenCenter, (the XenServer GUI management tool), are accessed
from the Student Desktop.
| 2 |
Lab Guide Conventions
This symbol indicates particular attention must be paid to this step
Special note to offer advice or background information
Text the student enters or an item they select is printed like this
reboot
Filename mentioned in text or lines added to files during editing
VMDemo
Start Bold text indicates reference to a button or object
Focuses attention on a particular part of the screen (R:255 G:20 B:147)
Shows where to click or select an item on a screen shot (R:255 G:102 B:0)
List of Virtual Machines Used
VM Name IP Address Description / OS
Site1-AD.training.lab 192.168.10.11 Active Directory Domain Controller for Site1
Site1-Insight 192.168.10.60 NetScaler Insight Center Server for Site1
Site1-NetScaler 192.168.10.50 NetScaler in Site1
Site1-SQLServer SQL Server for Site1 used to host XenDesktop
192.168.10.13
Database
Site1-Win8Client 192.168.10.200 Windows 8 Client in Site1
Site1-W2K12Srv 192.168.10.209 Windows 2012 VDA in Site1
Site1-XenApp 192.168.10.14 XenApp Server in Site1
Site1-XenDesktop7 192.168.10.16 XenDesktop7 Server in Site1
Required Lab Credentials
The credentials required to connect to the environment and complete the lab exercises.
VM Name Username Password
Site1-AD.training.lab training\administrator Citrix123
Site1-Insight nsroot nsroot
Site1-NetScaler nsroot nsroot
Site1-SQLServer training\administrator Citrix123
Site1-Win8Client training\administrator Citrix123
Site1-W2K12Srv training\administrator Citrix123
Site1-XenApp training\administrator Citrix123
Site1-XenDesktop7 training\administrator Citrix123
| 3 |
Exercise 1
Configuring Internal and External Access for a
XenDesktop/XenApp Deployment
Overview
In order to generate some key metrics, we will configure our lab environments to be externally
accessible. In our deployment we will utilize NetScaler to load balance access to resources of both
XenDesktop and XenApp using a single StoreFront URL. We will also configure NetScaler Gateway
to allow access to published resources from an external device.
Step by step guidance
Estimated time to complete this lab: 40 minutes.
Step Action
1. On the Student desktop, launch Citrix XenCenter by clicking on the Citrix XenCenter icon
found on the desktop.
2. Navigate to XenCenter -> Add
| 4 |
3. Add the XenServer Credentials details from your Welcome screen here:
Select Add.
4. In XenCenter, select the Site1-XenDesktop7 VM and click on the console tab. Login with
Domain Administrator credentials:
Username: TRAINING\Administrator
Password: Citrix123
For better performance, switch to a Remote Desktop connection.
| 5 |
5. The first thing we will do is create a Machine catalog and a Delivery Group so as to
publish a Windows 2012 Server VDA. This can be configured through Citrix Studio but also
using PowerShell. A script has already been created for you and you can run this script to
automatically create both a machine catalog and a desktop group using PowerShell.
To run the script, double-click on the shortcut xd-powershell on the desktop.
Double-click on XDSetup.cmd to run the script.
| 6 |
6. Type R to run this script and press Enter.
You will see the following output where a catalog called Win2K12VDA is created and then
associated to a delivery group called Win2K12 Server.
7. Navigate to Citrix Studio by double-clicking on the Citrix Studio shortcut found on the
desktop
| 7 |
8. Navigate to Citrix Studio (Site) -> Machine Catalogs and confirm that the machine
catalog Win2K12VDA has been created
9. Navigate to Citrix Studio (Site) -> Delivery Groups and confirm that the delivery group
Win2K12 Server has been created.
The VDA machine will take about 3 minutes to register with the delivery controller.
Please do not wait for the VDA to register as this will occur in the background. You can
move ahead with the exercises.
10. Now that we have created a Machine Catalog as well as a Delivery Group, we can move
ahead to create both external and internal access to the XenDesktop and XenApp
environment.
Click on the Site1-Win8Client VM and choose the Console tab. Login with the following
Credentials:
Username: TRAINING\Administrator
Password: Citrix123
For better performance, switch to a Remote Desktop connection.
| 8 |
11. Open a browser and navigate to the NetScaler Administration UI using the default
credentials:
http://192.168.10.50
Username: nsroot
Password: nsroot
Deployment Type: NetScaler ADC
Click on Login
| 9 |
Description:Integrating NetScaler Insight Center with Citrix Director to View Session Details . haven't uploaded the data to Tools as a Service (TaaS) site.