CXD 203 6I en StudentManual SoftLayer v06
CXD 203 6I en StudentManual SoftLayer v06
ot
fo
rr
es
al
e
or
di
August 2016
e
or
Version 6.2
di
s
tri
bu
tio
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
Ports ................................................................................................................................. 29
New Features ................................................................................................................... 30
Deprecated Features ........................................................................................................ 32
Discussion Question ......................................................................................................... 34
Reinforcement Exercise: XenApp and XenDesktop Components ...................................... 34
Definition Matching ........................................................................................................... 34
Overview ........................................................................................................................... 83
tri
Module 7: Managing and Monitoring Sessions, Sites, and End Users with
or
To Convert the Hard Drive of the Master Target Device to a vDisk ................................. 223
Setting the vDisk Mode ................................................................................................... 226
fo
http://www.citrix.com
rr
Other product and company names mentioned herein might be the service marks, trademarks or
registered trademarks of their respective owners in the United States and other countries.
es
al
e
or
di
s tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
Understanding the
Architecture of a
XenApp and
N
XenDesktop
ot
Solution
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
architecture that offers simple yet powerful configuration options, along with operations
ot
• Citrix Receiver
al
• Citrix NetScaler
e
• Citrix StoreFront
or
• Delivery Controller
• Machine Creation Services (MCS)
di
• Hypervisor
bu
XenApp or XenDesktop
XenApp and XenDesktop share a common architecture; where one or more Delivery Controllers
are used to broker user connections to sessions. Users connect to XenApp and XenDesktop sessions
using the Citrix HDX protocol (formerly known as ICA).
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 17
Sessions are hosted on physical or virtual machines running the Citrix Virtual Delivery Agent
(VDA). The VDA can be installed on both Server OS and Desktop OS machines. The operating
system on which you can run the VDA and the type of sessions supported is dependent upon
whether you bought XenApp or XenDesktop. The following table identifies the type of machines
and sessions available per product edition.
Desktop OS X X X
N
Machines
ot
fo
Enterprise Platinum
es
Server OS X X X X X
al
Hosted
e
Desktop
or
Server OS X X X X X
di
Hosted
Applications
s tri
Desktop OS X X X
bu
Desktop
t
Desktop OS X X X X
io
Applications
n
N
ot
fo
rr
es
al
e
or
di
User Layer
s tri
The User Layer focuses on the unique qualities of each user group such as their network
bu
connectivity to the datacenter, endpoint devices, or other unique requirements. One of the primary
components of the User Layer is Citrix Receiver, regardless of whether the end user is connecting
t
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 19
N
ot
fo
rr
es
Citrix Receiver
al
Citrix Receiver is installed on end-user devices to provide end users with quick, secure, self-service
e
access to documents, applications, and desktops from any end-user device, including smartphones,
or
tablets, and PCs. Receiver provides on-demand access to Windows, Web, and Software as a Service
(SaaS) applications.
di
s
Access Layer
tri
bu
The Access Layer focuses on the method and process users follow in order to establish and
maintain a connection to their resources. There are two primary components that provide end-user
t io
access to the environment: Citrix NetScaler and StoreFront. NetScaler provides secure access and
intelligent load balancing for StoreFront, Delivery Controller, and other infrastructure components.
n
Internal end-user devices connect from the User Layer to the Access Layer using Citrix StoreFront.
In a Citrix-recommended implementation, external end-user devices connect first through Citrix
NetScaler - and often a firewall and perimeter network - and then through StoreFront to access
resources.
Citrix NetScaler
al
NetScaler is an integrated Web application delivery controller that slashes server and bandwidth
e
requirements, while cutting the cost of delivering enterprise applications. NetScaler functions as an
or
application accelerator through caching and HTTP compression. It also provides advanced
management using layer-4 through layer-7 load balancing and content switching functions.
di
NetScaler also includes application security using a Web application firewall. NetScaler offloads
applications and Web servers to ensure application availability, increased security through SSL, and
s
server consolidation. It reduces the cost of ownership of Web application delivery and optimizes the
tri
end-user experience.
bu
t io
Citrix StoreFront
n
Citrix StoreFront delivers a powerful, self-service Windows applications store to provide a single,
simple, and consistent aggregation point for all IT user services. Users may subscribe to
applications, desktops, or data services from multiple devices and have access to those services from
all devices for a seamless and simple experience.
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 21
Discussion Question
What type of solution are you using for external access?
Resource Layer
The Resource Layer of a solution focuses on applications, image design, and personalization. The
Resource Layer is where users will interact with desktops and applications and is most visible to the
end users. The personalization component contains the user profile, policies, and for specific use
cases, personal vDisk.
N
ot
fo
rr
es
al
e
or
di
s tri
bu
t
Applications
io
n
You can install applications on Server OS or Desktop OS machines in your XenApp and
XenDesktop environment. Once installed, these applications can be made available and delivered to
end users.
Policies
fo
Citrix policies are the most efficient method of controlling connection, security, and bandwidth
rr
settings. You can create policies for specific groups of end users, devices, or connection types. Each
policy can contain multiple settings and different settings from policies can be merged. Any
es
Personal vDisk
or
With the personal vDisk feature, you can manage pooled and streamed desktops from a single
di
image while offering end users the flexibility to install applications and change personal settings.
This feature is available on XenDesktop only.
s tri
Unlike traditional Virtual Desktop Infrastructure (VDI) deployments involving pooled desktops,
where end users lose their customizations and personal applications when the administrator alters
bu
the base virtual machine, deployments using personal vDisks retain those changes. This means
t
administrators can easily and centrally manage their base virtual machines while providing end
io
Personal vDisks provide this separation by redirecting all changes made on the end user's virtual
machine to a separate disk - the personal vDisk - attached to the end user's virtual machine. The
content of the personal vDisk is blended at runtime with the content from the base virtual machine
to provide a unified experience. In this way, end users can still access applications provisioned by
their administrator in the base virtual machine.
Personal vDisks have two parts, which use different drive letters and are by default equally sized.
The first part comprises C:\Users, which contains the end user's data, documents, and profile. By
default this uses drive P: but you can choose a different drive letter when you use Studio to create a
catalog with personal vDisks. The second part is comprised of a Virtual Hard Disk (.vhd) file,
which contains all other user items, for example applications that are installed in C:\Program Files.
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 23
If you would like to discuss best practices for setting up personal vDisks for use with other
Citrix products, make sure to read about the best practices at http://docs.citrix.com/en-
us/xenapp-and-xendesktop/7/cds-manage-wrapper-rho/cds-about-personal-vdisks.html.
Control Layer
The Control Layer includes all infrastructure related components supporting the overall solution.
This includes the Delivery Controller, image management through MCS or PVS, and the creation
and publication of hosted resources. The management and maintenance of the overall solution
occurs within the Control Layer. Once an end-user connection moves past the Access Layer, Citrix
StoreFront communicates with the Delivery Controller in the Control Layer.
N
ot
fo
rr
es
al
e
or
di
s tri
bu
t io
Delivery Controller
n
Delivery Controllers are responsible for enumerating, allocating, assigning and maintaining desktop
and application resources. Delivery Controllers within a single datacenter are grouped together to
form a Citrix site, which allows for a single console for administration. The Controller manages the
state of the desktops, starting and stopping them based on demand and administrative
configuration. Each site has one or more delivery controllers.
Supported operating systems for the Delivery Controller include:
• Windows Server 2012 R2, Standard, and Datacenter Editions.
• Windows Server 2012, Standard, and Datacenter Editions.
generate multiple clone-like machines from a single virtual machine serving as the primary image.
ot
The Machine Creation Service communicates with the hypervisor and creates the desired number
of machines using storage-based snapshot technologies, while the Citrix AD Identity Service
fo
Citrix Provisioning Services (PVS) uses network-based streaming technology to deliver the
or
operating system for both single-user virtual-desktops and multi-user, server-based resources. Citrix
Provisioning Services allows a single vDisk to be used to deliver a consistent virtual desktop across
di
The Provisioning Services component allows a single image to be utilized for multiple servers. All
tri
changes are captured and placed in a write cache file. When a server reboots, the write cache is
bu
XenApp and XenDesktop require PVS version 7.0 or later. Provisioning Services for Server
io
Provisioning Services for Desktop OS is included with XenDesktop VDI (not including
physical desktops), Enterprise and Platinum editions.
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 25
The VDA for Windows Desktop OS supports Windows 8, Windows 8.1, and Windows 7 SP1
machines.
The VDA for Windows Server OS supports Windows 2012, Windows 2012 R2 and Windows 2008
R2 SP1 machines.
Management Layer
The management layer contains all of the consoles and utilities used to configure and manage the
XenApp and XenDesktop components.
• Studio
• Director
• StoreFront Console
• Provisioning Services Console
N
ot
• Hypervisor console
• License Administration Console
fo
Citrix Studio
Citrix Studio is the management console that enables you to configure and manage your
deployment, eliminating the need for separate management consoles for managing delivery of
applications and desktops. Studio provides various wizards to guide you through the process of
Citrix Director
es
Citrix Director is a web-based tool that enables IT support and Help Desk teams to monitor a
al
XenApp and XenDesktop environment, troubleshoot issues before they become system critical, and
e
• 50 MB of disk space.
io
• Microsoft Internet Information Services (IIS) 7.0 and ASP.NET 2.0. If these are not already
installed, you are prompted for the Windows Server installation media, then they are installed
for you.
Supported browsers for viewing Director include:
• Internet Explorer 9 and 10
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 27
• Firefox
• Chrome
Discussion Question
Which tools does your organization use (or plan to use) for monitoring your XenApp and
XenDesktop environment?
Hardware Layer
The Hardware Layer is responsible for the physical devices required to support the entire solution
including servers, and storage devices. A key component of the Hardware Layer is the hypervisor.
N
ot
fo
rr
es
al
e
or
di
s tri
bu
t io
n
Hypervisor
A hypervisor is a thin layer of software that allows you to share physical resources of a device
amongst multiple virtual machines. XenApp and XenDesktop supports several hypervisors,
including:
• Citrix XenServer using Citrix XenCenter
• Microsoft Hyper-V using Microsoft System Center Virtual Machine Manager (SCVMM)
Discussion Question
What are the benefits of hosting virtual machines within a hypervisor as opposed to physical
machines? What hypervisor does your organization use?
In XenApp and XenDesktop, the Delivery Site is the highest level item in the configuration. The
fo
Delivery Site is comprised of the Controller and other core management components, the virtual
delivery agents, host connections, (if used), plus the machine catalogs and any Delivery Catalogs
rr
you create and manage. Sites make applications and desktops available to groups of users. A Site
does not necessarily correspond to geographical location, although it can. The Site is defined in a
es
SQL database that needs to be available at all times to each Delivery Controller within the
al
deployment.
e
or
Ports
di
The following is a summary of the ports used by the components we have discussed throughout
s
this module.
tri
For more information about the ports used in a XenApp and XenDesktop environment,
bu
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 29
N
ot
New Features
fo
This release of XenApp and XenDesktop includes the following new features:
rr
• Session prelaunch and session linger - These features enhance the user experience by starting
sessions before they are requested (session prelaunch) and keeping sessions active for a period
es
of time after users close the applications (session linger). These features are supported on
al
• Support for unauthenticated users - This feature (formerly known as anonymous users in
XenApp) supports administrators granting access to sessions on Server OS machines to users
or
with no credentials.
• Connection leasing - This feature extends the Delivery Site database connection requirements
di
the resources the users most often request even when the site database is unavailable.
tri
• Application folders - This feature allows administrators to organize the applications created by
bu
Delivery Groups within Citrix Studio. Using the Applications tab administrators can nest
organization applications into multiple tiers.
t io
• XenApp 6.5 migration - This feature enables administrators currently supporting a XenApp
n
6.5 farm to move to a XenApp 7.6 site with a quick and efficient transition. Migration allows
administrators to perform in place upgrades of existing XenApp 6.5 workers to XenApp 7.6
Server OS machines running the VDA. For more information, see http://docs.citrix.com/en-
us/xenapp-and-xendesktop/7-6/xad-upgrade-existing-environment/xad-xamigrate.html.
• Citrix Customer Experience Improvement Program - This program allows administrators to
work directly with Citrix in design and development contributions. Enrollment allows Citrix to
collect anonymous information about the deployment. For more information, see
http://www.citrix.com/cms/ws/ceip/.
• Enhanced connection throttling settings - This feature optimizes the virtual machine
performance for a site by limiting actions, inventory updates, and other occurrences over the
host connection to the hypervisor.
connections.
ot
• View hosted application usage to allow support staff to view per Delivery Group lists of
users who have access to applications and view who is currently using an application.
fo
• Monitor hotfixes to allow support staff to view specific hotfixes per machine with the
rr
VDA installed.
es
• AppDNA 7.6 - This tool assists administrators in the migration of applications to new
implementations through rapid analysis, automated application remediation and packaging,
di
• Citrix StoreFront 2.6 - This component has been updated to include the following
tri
optimizations:
bu
• My Apps Folder View in Receiver for Web - This feature assists users during the
transition from Web Interface to StoreFront by allowing applications to be organized into
t
folders.
io
• Kerberos constrained delegation for XenApp 6.5 - This feature enables pass-through
n
authentication and eliminates the need for endpoints to run Windows with Receiver.
• Single Fully Qualified Domain Name (FQDN) access - This feature gives administrators
the ability to give resource access internally and externally with a single FQDN.
• XenApp Services Support smart card authentication - This feature enables
administrators to provide support for smart card access without requiring specific versions
of Receiver and operating systems.
• Receiver for Android, iOS, and Linux smart card authentication - This feature enables
local and remote use of smart cards for access to applications and desktops.
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 31
• Extensible authentication - This feature provides a single customization point to be used
with Worx Home and Receiver for Web to authenticate with XenMobile, XenApp and
XenDesktop for internal and external access scenarios.
• Citrix Connector 7.5 - This feature provides a bridge between Microsoft System Center
Configuration Manager and XenApp or XenDesktop to extend the use of Configuration
Manager to Citrix environments.
• Receiver for Chrome and Receiver for HTML5 - These components were updated to
include the ability to:
• Convert documents to PDF, view them on a local device, and print them to locally
attached printers.
• Provide end-user metrics.
• Track license usage for hosted applications.
• Utilize additional clipboard operations.
N
• HDX Real-Time Optimization Pack 1.5 for Microsoft Lync - This feature enables
administrators to support Lync certified USB phones, mixed Lync 2010 clients and Lync
ot
Deprecated Features
es
Some functionality that was available in previous releases of XenApp and XenDesktop is not
al
• Secure ICA encryption below 128-bit - HDX (formerly known as ICA) has always supported
or
unavailable:
s
• Secure Gateway - This component served releases of XenApp and XenDesktop prior to 7.x as a
means of a secure software HDX (ICA) secure proxy. This functionality is now available in
NetScaler Gateway, which can be implemented as a VPX.
• Shadowing users - This functionality is now provided using Windows Remote Assistance and
can be initiated from Citrix Director.
• Power and Capacity Management - This feature used to power manage virtual machines to
lower the power costs during off-peak usage times. This functionality is now available through
Microsoft Configuration Manager.
chose to simplify the platform by consolidating all Citrix database requirements for XenApp,
XenDesktop and their supporting features to one platform, Microsoft SQL.
ot
• Health Monitoring and Recovery (HMR) was a built-in feature designed to assist
fo
administrators in monitoring mission critical Citrix services running on machines hosting user
sessions. This was in lieu of having a central means of managing farms and sites. Citrix
rr
Director now provides insight into the entire infrastructure from a central console.
es
• Custom ICA files enabled administrators to give users direct access to applications and
desktops by bypassing both Web Interface and the Zone Data Collector. This feature is still
al
available in XenApp 7.x, but is disabled by default. A custom ICA file can still be used for
e
troubleshooting and for direct user connections when the Delivery Controller is unavailable.
or
Citrix recommends that you direct all user connections through StoreFront.
• Management Pack for System Center Operations Manager (SCOM) 2007 is not supported
di
on 7.x releases.
s
• CNAME function was enabled, by default, prior to XenApp 7 and XenDesktop 7 to assist with
tri
FQDN re-routing. In subsequent versions of XenApp and XenDesktop, 7.x, the Delivery
bu
Controller auto-update replaced the CNAME function because it can dynamically update the
list of Delivery Controllers and notify the distributed VDAs when Delivery Controllers both
t
join and leave the Delivery Site. Some administrators prefer to use the CNAME function.
io
Those administrators can use a Citrix policy to disable the dynamic updates and can re-enable
n
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 33
• Workflow Studio was a management feature that allowed administrators to manage multiple
workflows (also known as sets of code or scripts) from a Windows Server management console.
This feature was removed due to lack of demand.
Discussion Question
An administrator at a local company was tasked with implementing a Citrix solution to host user
resources centrally and securely in the datacenter, enabling users to access resources from any user
device over any Internet connection. The users’ require access to the Microsoft Office Suite and a
Windows 8.1 desktop. Which Citrix products and editions can the administrator purchase and
implement to meet the needs of this scenario?
Components
ot
• Citrix Receiver
al
• Citrix StoreFront
e
• Citrix NetScaler
or
• Delivery Controller
• Machine Creation Services
di
• Hypervisor
tri
• Describe the responsibilities of the different XenApp and XenDesktop management consoles.
n
Definition Matching
Match each of the following terms with its correct description.
Time to complete: Approximately 5 minutes
• Citrix Receiver
• Citrix NetScaler
• Hypervisor
• Personal vDisk
Term Description
virtual machines.
rr
user services.
s tri
• Citrix Director
• Citrix Profile management
• Machine Creation Services
• Citrix Provisioning Services
• Citrix Studio
• Virtual Delivery Agent
© Copyright 2016 Citrix Systems, Inc. Module 1: Understanding the Architecture of a XenApp and
XenDesktop Solution 35
Term Description
XenDesktop implementation.
e
or
Managing Licenses
and Delegating
Administration
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
customized, which allows for a detailed view of specific actions and tasks that an administrator can
ot
complete within the Studio console. Scopes represent collections of objects such as Delivery Groups.
Objects can belong to multiple scopes and administrators can be assigned to multiple scopes as
fo
well.
rr
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 39
The lab environment Student Desktop has two management consoles. You will use both
interchangeably throughout this course. Microsoft Remote Desktop Connection Manager
is the preferred method to logging in and interacting with your virtual machines. Citrix
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
ISO's.
Before you begin, you must ensure these following lab environment core virtual machines
are powered on:
• Controller-1
• DomainController-1
• SQLServer-1
• StudentManagementConsole-1
To conserve resources all other core lab environment virtual machines that are not a part
of a machine catalog may be powered down. Powering down machine catalog virtual
N
All lab environment virtual machines are power managed through XenCenter. To change
the power state of a lab environment virtual machine, complete the following steps:
fo
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
es
al
Studio is the primary management console for XenApp and XenDesktop that enables you to
configure and manage your deployment, eliminating the need for separate management consoles
di
for managing delivery of applications and desktops. Studio provides various wizards to guide you
through the process of setting up your environment, creating your workloads to host applications
s
and desktops, and assigning applications and desktops to end users. The console also includes
tri
PowerShell functionality. Most administration tasks can be completed within the console, while
bu
only some advanced configuration tasks require the explicit use of PowerShell.
t
The console can be used to configure machine catalogs, Delivery Groups, policies (including HDX
io
You can use Studio to manage and track licensing, provided the license server is in the same
domain as Studio, or in a trusted domain. You must possess full-administrative permissions on the
licensing server to carry out the tasks described below, except for viewing license information. To
only view license information, a XenApp and XenDesktop administrator needs the read-only
permission.
40 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
Discussion Question
Which licensing model are you currently using? What would you require in a XenApp and
XenDesktop environment? How would your licenses be consumed if you switched from named to
concurrent?
License Editions
XenDesktop offers three license editions:
• Platinum
• Enterprise
• VDI
XenApp offers three license editions:
N
ot
• Platinum
• Enterprise
fo
• Advanced
rr
For more information about the features and entitlements of each edition, visit
es
Types of Licenses
di
s
Device License A device license requires the connecting device to have a unique
tri
User License A user license allows the user to connect to their desktops and
applications with multiple devices, such as desktop computer,
laptop, netbook, smartphone, or thin client. A licensed user can
connect to multiple instances of XenDesktop concurrently from
different devices, if necessary.
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 41
Concurrent License A concurrent license is not tied to a specific user. When a user
launches a product, the product requests the license and it is
checked out to the specific computer or device that the user is
using. Wen the user logs off or disconnects from the session, the
license is checked back in and is once again available for
reassignment.
The license server is pre-installed and configured in the XenApp and XenDesktop lab
es
You can access a list of all simulated exercises from the Student Resource Kit module
located in this course.
di
1. Click My Account (Log in) in the upper-right corner of the www.citrix.com Web site page.
s tri
If your company already has an account, you would use the existing account rather
than create a new one.
42 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
5. Create a new Login ID and password and then click Continue.
Verify that CitrixStudent is in the Login ID field, type Password1 in the New Password and
Confirm Password fields, and then click Continue.
6. Click Activate and Allocate Licenses under the Licensing heading on the page.
7. Click the Single Allocation tab.
If you currently have available licenses, they will appear within the Activate and
Allocate Licenses tab.
8. Type the license code into the Enter license code field and then click Continue.
Type CTXLF-12345-67890-12345-67890 and then click Continue.
Not all licenses for Citrix products are allocated based on the host name of the license
server.
fo
rr
10. Type the case-sensitive name of the Citrix License Server that will host the license in the Host
es
ID field.
al
11. Click the Quantity/Available field, type the license quantity, and then click Continue.
or
You can always come back to reallocate and re-download your licenses should they
tri
become corrupt, lost, or you need to specify a different allocation of your licenses
using the Reallocate and Redownload tabs from My Account on the www.citrix.com
bu
Web site.
t io
12. Verify that the information is correct and then click Confirm.
n
13. Click OK in the message stating that the allocation was successful.
14. Click Download.
15. Click the down arrow next to Save and then click Save as.
The name of the license file can be changed, but the contents within the file cannot be
changed without corrupting the license file.
16. Click Save in the Save As window to download the license file to the Downloads folder.
17. Click Log Out in the upper-right corner of the window.
18. Close the browser window.
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 43
19. Click the Start button on the bottom-left corner of the screen.
20. Type Citrix License and then click the Search icon.
21. Click Citrix License Administration Console.
22. Click Administration in the upper-right corner of the License Administration Console.
23. Logon as a license administrator.
Type Training\Administrator in the User Name field, Password1 in the Password field,
and then click Submit.
24. Click Vendor Daemon Configuration in the lower-left corner of the License Administration
Console.
25. Click Import License.
26. Click Browse to the right of the License File from Your Local Machine field to browse to the
recently downloaded license file.
N
27. Select the recently downloaded license file and then click Open.
ot
In order to view the active licenses within the dashboard, you must restart the license
al
31. View the allocated licenses and then click X in the upper-right corner of the window to close
tri
the dashboard.
bu
t
Discussion Question
io
n
What are some of the different ways you can download, allocate, and monitor a Citrix license file?
44 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
To Add a License Administrator
The license server is pre-configured in the lab environment. To experience adding a
license administrator, we have provided an Adding a License Administrator exercise
below. Click the following link and use the steps in this course to complete the exercise:
• Adding a License Administrator Exercise
You can access a list of all simulated exercises from the Student Resource Kit module
located in this course.
Type Training\Admin1 into the User Name field and Password1 into the password field
es
9. Specify the user name of the user you would like to add as a license administrator and click
Save.
s tri
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 45
N
ot
Administrators
al
e
allows organizations to delegate responsibility based on the administrator's role and function.
di
s tri
bu
t io
n
46 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
Roles
N
ot
fo
rr
es
al
e
or
di
s tri
bu
t
Roles represent a job function with defined permissions. XenApp and XenDesktop have the
io
• Full administrator: Can perform all tasks and operations. A Full Administrator is always
combined with the All scope.
• Machine Catalog administrator: Can create and manage machine catalogs and provision the
machines into them. This role can manage base images and install software, but cannot assign
applications or desktops to end users.
• Delivery Group administrator: Can deliver applications, desktops, and machines; can also
manage the associated sessions and application and desktop configurations such as policies and
power management settings.
• Host administrator: Can manage host connections and their associated resource settings. This
role cannot deliver machines, applications, or desktops to end users.
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 47
• Help Desk administrator: Can view Delivery Groups and manage their sessions and machines.
Can see the machine catalog and host information for the Delivery Groups being monitored,
and can also perform session management and machine power management operations for the
machines in those Delivery Groups.
• Read-only administrator: Can read all objects in specified scopes as well as global information,
but cannot change anything.
Scopes
Scopes represent a collection of objects. Scopes are used to group objects in a way that is relevant to
your organization. Objects can be in more than one scope; you can think of objects being labeled
with one or more scopes. There is one built-in scope: 'All,' which always contains all objects. The
Full Administrator role is always paired with the All scope.
N
To Add an Administrator
ot
fo
If you receive a message that the snap-in is not responding, click Cancel.
or
di
If Studio does not automatically connect to the Delivery Controller, type c-1.Training.lab
bu
4. Verify that the Administrators tab in the middle pane is selected to view a list of existing
io
administrators.
n
7. Click Check Names to validate the administrator name and then click OK.
8. Select a scope to specify the objects the administrator can access and click Next.
Select All in the scope field and then click Next.
48 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
9. Select a role for the new administrator and then click Next.
Select Full Administrator and click Next.
10. Verify that the configuration is correct and that Enable Administrator is selected.
11. Click Finish to create the administrator.
If you receive a message that the snap-in is not responding, click Cancel.
ot
fo
rr
4. Select the Scopes tab in the middle pane to view a list of existing scopes.
5. Click Create Scope in the Actions pane.
al
8. Click Save.
n
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 49
If you receive a message that the snap-in is not responding, click Cancel.
6. Click Edit Scope in the Actions pane. The Edit Scope window appears.
7. Make the necessary changes to the scope.
Deselect Machine Catalogs from the objects list.
8. Click Save.
N
ot
4. Select the Roles tab in the middle pane to view a list of existing roles.
di
7. Select the object type, and then select the permissions that you want the role to have.
n
50 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
8. Click Save.
9. Verify that you have created the role with appropriate permissions.
Select Hosted Application Administrator and expand Delivery Groups to look over the
details at the bottom of the pane. In addition to the options you selected above, you will also
see View Applications and View Delivery Groups.
If you receive a message that the snap-in is not responding, click Cancel.
fo
rr
8. Click Save.
t io
n
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 51
If you receive a message that the snap-in is not responding, click Cancel.
6. Click Edit Administrator in the Actions pane. The details of that administrator appear.
7. Select the scope and role that you would like to edit.
Click the All scope/Read Only Administrator role.
8. Click Edit.
N
10. Select the Role tab and then select the appropriate role.
Select the Hosted Application Administrator role.
es
al
The resultant set of permissions (RSOP) HTML report shows the role/scope pairs associated with
tri
an administrator and lists the individual permissions for each type of object - Delivery Groups and
bu
52 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
5. Type the user or group name you want to select.
Type TRAINING\NotepadAdmin.
a. Click Desktop.
b. Type RSOP_NotepadAdmin as the report name and then click Save.
Discussion Question
ot
Using PowerShell
es
al
Everything that is accomplished in the Studio console can also be accomplished using PowerShell.
As such, you can use PowerShell cmdlets to create new administrators, apply roles and scopes, and
e
Every action performed within Studio is launched as a PowerShell statement in the background.
You can see the actions that you have performed by clicking the top node labeled Citrix Studio
di
(Training) in the left pane of Studio, and selecting the PowerShell tab in the middle pane. To use
s
Citrix-specific commands on your own, either start PowerShell and add the required snap-ins or
tri
click Launch PowerShell in the bottom right corner of the middle pane of Studio to start a
bu
apply a role and scope to the new administrator, you can use the Add-AdminRight cmdlet. If you
would like to get a list of the rights and status of each administrator account in the site, you can
n
For more information about the available PowerShell cmdlets, see Citrix Support at
http://www.citrix.com/support.
Discussion Question
How would the use of delegated administration change with the size of your XenApp or
XenDesktop deployment?
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 53
Monitoring Configuration Logs
Configuration logging captures Site configuration changes and administrative activities to the
database. You can use the logged content to:
• Diagnose and troubleshoot problems after configuration changes have been made.
• Assist change management and track configuration changes.
• Report administrative activities.
More specifically, configuration logging tracks configuration changes and administrative activities
initiated from Studio, Director, and PowerShell scripts. A few examples include:
• Creating or editing a host
• Adding an end user to a Delivery Group
• Adding an administrator
N
Changes made through the registry, direct access of the database, or from sources other
than Studio, Director, or PowerShell are not logged.
fo
rr
By default, the Configuration Logging feature is enabled and uses the database that is created when
es
you create the Site (the Site Configuration Database). Citrix strongly recommends that you change
al
the location of the database used for Configuration Logging as soon as possible after creating a Site
for three reasons:
e
1. The backup strategy for the Configuration Logging Database is likely to differ from the backup
or
2. The volume of data collected for Configuration Logging could adversely affect the space
available to the Site Configuration database.
s tri
3. Having a separate database for each one splits the single point of failure for the databases.
bu
If you receive a message that the snap-in is not responding, click Cancel.
54 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
4. Click the drop-down menu next to the Search text box to view the different options available
for filtering by time.
frame.
ot
Select HTML.
es
8. Click Next.
or
10. Open the reports and review the changes that have been made over the last seven days.
s
Double-click the Details and Summary report on the Desktop and select Internet Explorer
tri
If you receive a message that the snap-in is not responding, click Cancel.
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 55
3. Select Logging in the left pane.
4. Click Preferences in the Action pane.
5. Ensure that Enable is selected and edit the settings as necessary.
Discussion Question
What are some use cases for the CSV output of the configuration logs?
N
ot
XenApp and XenDesktop now share a unified architecture. This makes it possible to simply upload
rr
Once the license is uploaded and the edition is selected, all of the features available in the edition
become available to the administrator.
di
s tri
bu
t io
n
56 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
Troubleshooting: Managing Licenses and Delegated
Administration
Issue Resolution
An administrator account that was created does Verify what role was assigned and reassign a
not have the appropriate authority. new role with the correct permissions.
1. Open Studio.
2. Expand the Configuration node.
3. Click Administrators.
4. Click the Administrators tab in the center
pane.
N
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 57
Issue Resolution
An administrator is unable to access Studio. Verify that the Administrator is enabled.
1. Open Studio.
2. Click Configuration.
3. Click Administrators.
4. Click the Administrators tab in the center
pane.
5. Choose the administrator name that cannot
access Studio.
6. Click Edit Administrator in the right pane.
• Ensure the Enable Administrator checkbox
is checked.
N
ot
desktop.
rr
During this exercise, you will not be given step-by-step instructions for performing the
t io
task. Instead, you are asked to use what you have learned to complete it. This exercise is
designed to take your newly gained knowledge and determine if you can apply it to
n
perform a task you have never done before. In most instances the default value/choice will
be the best choice, but we encourage you to explore and try different options. If you have
a question or need help, ask the instructor or a fellow student for assistance.
58 Module 2: Managing Licenses and Delegating Administration © Copyright 2016 Citrix Systems, Inc.
Time to complete: Approximately 10 minutes
Your team wants you to implement a design for their HelpDesk organization. The design calls for
level 1 support to be able to manage requests regarding the hosted applications. They want the level
2 staff to be able to handle requests for all types of company resources due to their additional
experience and training.
Your objective is to configure the appropriate roles and scopes in order to achieve the following
delegation:
© Copyright 2016 Citrix Systems, Inc. Module 2: Managing Licenses and Delegating Administration 59
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
Managing and
Monitoring the
Hypervisor
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
• Describe the communication process between the host hardware, hypervisor, control domain,
and virtual machine.
fo
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 63
The lab environment Student Desktop has two management consoles. You will use both
interchangeably throughout this course. Microsoft Remote Desktop Connection Manager
is the preferred method to logging in and interacting with your virtual machines. Citrix
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
ISO's.
Before you begin, you must ensure these following lab environment core virtual machines
are powered on:
• Controller-1
• DomainController-1
• SQLServer-1
• StudentManagementConsole-1
To conserve resources all other core lab environment virtual machines that are not a part
of a machine catalog may be powered down. Powering down machine catalog virtual
N
All lab environment virtual machines are power managed through XenCenter. To change
the power state of a lab environment virtual machine, complete the following steps:
fo
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
es
al
e
or
di
s tri
bu
t io
n
64 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
Architecture Overview
N
ot
fo
rr
es
al
e
or
The following components are combined to virtualize server and desktop hardware so that multiple
di
operating systems can share devices like hard drives and network cards.
s
• Host Hardware - The bare-metal machine in which the hypervisor lays and whose resources
tri
are used and distributed throughout a virtualized environment. This hardware contains the
bu
hardware. The hypervisor provides an abstraction layer that allows each physical server to run
io
one or more virtual machines, effectively decoupling the operating system and its applications
n
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 65
• Virtual Interface (VIF) - A virtualized representation of a computer network interface. A
virtual machine connects to a virtual interface to provide network connectivity to other virtual
machines and the physical network.
• Virtual Network Interface Card (Virtual NIC) - A driver-like program that allows a virtual
machine's guest OS to connect to a virtual network.
• Physical Network Interface Card (Physical NIC) - A physical network card that is installed on
the host hardware.
• Virtual Network - The software representation of a network switch within the control domain.
Virtual machines communicate with other network nodes using the virtual network to which
they are connected.
The hypervisor works by virtualizing the hardware. Hardware virtualization abstracts system
components, such as hard drives, resources, and ports, and allocates them to the virtualized servers
running on the system. These virtualized servers are known as virtual machines, which run
operating systems and applications that are known as guest software.
N
• XenServer
fo
• XenServer 6.5
rr
• XenServer 6.2
es
• XenServer 6.1
• XenServer 6.0.2
al
• Any version of Hyper-V that can register with SCVMM 2012 and SCVMM 2012 SP1,
or
including Microsoft Hyper-V Server 2008 R2 SP1 and Microsoft Hyper-V Server 2012
• VMware vSphere
di
When using a hypervisor to host your XenApp and XenDesktop virtual machines, ensure that the
proper tools are installed. For example, XenServer tools must be installed in order to properly
t io
manage virtual machines within XenServer and to gain maximum performance from the virtual
machines. Without XenServer Tools, you cannot:
n
66 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
• Revert to snapshots.
The following steps are provided for informational purposes only and are not to be
ot
performed in the lab environment. Students will perform the following exercises using a
virtual machine created from a template.
fo
rr
4. Select a template, operating system, or snapshot for the new virtual machine.
e
5. Click Next.
or
7. Select the ISO to use to perform the initial installation of the operating system and then click
Next.
s tri
8. Select the server you would like to create the VM on and then click Next.
bu
9. Select the number of vCPUs and memory to allocate to the virtual machine and then click
Next.
t io
10. Select the storage to be allocated to the virtual machine and add additional storage if necessary.
n
11. Configure networking on the new virtual machine and then click Next.
12. Verify the configuration settings for the new virtual machine and that Start the new VM
automatically is selected.
13. Click Create Now.
14. Verify that the virtual machine appears in XenCenter.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 67
To Create a New Virtual Machine Using a Template
1. Open the XenCenter console.
Double-click Citrix XenCenter from the desktop of the StudentDesktop machine. Use
Citrix XenCenter for all labs in Module 3.
2. Select the server which you would like to add the virtual machine to.
Select the XenServer host.
6. Select an ISO within the DVD drive if you are not using a template that is configured with an
rr
operating system.
es
Verify that the DVD drive is empty and then click Next.
al
7. Select the server you want to place the new VM on and then click Next.
e
Verify that the XenServer host is selected and then click Next.
or
8. Specify the number of vCPUs and memory to allocate to the virtual machine and then click
di
Next.
s
Verify that there are 1 vCPU and 1024 MB for memory and then click Next twice.
tri
9. Select the storage to be allocated to the virtual machine and then add additional storage, if
bu
Verify the Local Storage and Use storage-level fast disk clone are both selected and then
click Next.
n
10. Configure the networking on the new virtual machine and then click Next.
Verify that Internal is selected and then click Next.
11. Verify the configuration settings for the new virtual machine and that Start the new VM
automatically is selected.
12. Click Create Now.
13. Verify that the virtual machine appears in XenCenter.
68 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
To Complete the Windows Setup Process
1. Select the virtual machine in the XenCenter console and then click Console.
Select the Win7 virtual machine and then click Console.
2. Select the language, time and currency format and keyboard settings for your area and then
click Next.
3. Type a user name in the "Type a user name field" and a computer name in the "Type a
computer name" field then click Next.
Type TempUser as the user name and Win7 as the computer name then click Next.
4. Specify a password and hint for your account and then click Next.
a. Type Password1 in the Type a password and Retype your password fields.
N
b. Type First Password in the Type a password hint field and then click Next.
ot
7. Review your time and date settings to ensure that they are correct and then click Next.
e
Click Next.
or
9. Allow Windows to finalize your settings and then logon with the TempUser account you
bu
created.
t io
XenServer Tools provide high performance Windows drivers and a management agent, enhancing
disk and network performance for XenServer virtual machines. XenServer Tools must be installed
for each virtual machine in order to be able to use the xe CLI or XenCenter. Virtual machine
performance will be significantly lowered unless the tools are installed.
Running a virtual machine without installing the XenServer Tools is not a supported
configuration.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 69
To Install XenServer Tools on a Virtual Machine
1. Logon to the virtual machine that you will install XenServer Tools on.
Logon to the Win7 virtual machine using the TempUser and Password1 credentials.
2. Select xs-tools.iso in the DVD Drive 1 field at the top of the console screen.
Performance of the console will be slow until XenServer tools has been installed and
RDP can be used from XenCenter
3. Wait a few moments for the AutoPlay screen to appear and then click Run installwizard.msi.
4. Click Next on the welcome screen of the wizard.
5. Read and respond to the license agreement terms.
N
Select I accept the terms of the License Agreement and then click Next.
ot
6. Select the path where you would like to install XenServer tools and then click Next.
fo
7. Click Install.
es
Logon to the Win7 virtual machine using the TempUser and Password1 credentials.
bu
An additional reboot may occur automatically after logon. If this occurs logon again
t
70 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
Taking a Snapshot
A snapshot is an image of a virtual machine that preserves the current settings and data at the
point in time in which the snapshot is taken. Taking snapshots allows an administrator to restore a
virtual machine if for any reason it fails.
Reverting to a Snapshot
al
If a snapshot has been taken, you can easily revert to the snapshot, which will return the virtual
e
machine to the particular state at the time the snapshot was taken. You also have the option to take
or
a new snapshot of the current virtual machine state before reverting back to the earlier snapshot,
allowing you to easily restore the virtual machine to its current state if needed.
di
s
The following steps are provided for informational purposes only and are not to be
performed in the lab environment.
t io
n
1. Select the virtual machine that you would like to revert to an earlier version.
2. Select the Snapshots tab.
3. Select the snapshot to which you would like to revert.
4. Click Revert To.
5. Verify that Take a snapshot of the VM's current state and then revert checkbox is selected if
you would like a snapshot of the current state.
6. Click Yes to revert to the earlier snapshot.
7. Start the virtual machine.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 71
Discussion Question
What are some of the concerns associated with having too many snapshots in your environment?
This process is only required if you plan to make a template from the virtual machine.
N
When virtual machines are generalized by Sysprep, they are not usable until they are
brought out of the generalized state.
ot
fo
Logon to the Win7 virtual machine using the TempUser and Password1 credentials.
e
2. Click the Windows Explorer icon in the taskbar and then click Computer.
or
5. Select Generalize.
s tri
7. Wait while the Sysprep process completes and the virtual machine shuts down.
t io
One of the benefits of creating virtual machines is that they can be easily copied. You will do this at
times to have a complete backup of a virtual machine or for troubleshooting and testing
applications prior to installing them on the live machine. Virtual machine copies can also be used
for fault tolerance and providing the ability to roll back in the event of problems, or to repurpose
the machine for other needs within the environment.
72 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
To Copy a Virtual Machine Using XenCenter
1. Shut down the virtual machine you would like to copy.
Verify Win7 is shutdown.
2. Right-click the virtual machine you would like to copy and then select Copy VM.
Right-click Win7 and then select Copy VM.
3. Type a name in the Name field for the copied virtual machine.
Type Win7-Copy.
Discussion Question
fo
What would happen if you power on both the copied and the original virtual machines without
rr
performing a sysprep?
es
Creating a Template
al
e
With the virtual machine properly prepared and generalized, the template can be created in
or
XenServer.
di
2. Right-click the virtual machine, click Convert to Template, and then click Convert.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 73
3. Rename the virtual machine to fit with your naming scheme.
As with managing memory, occasionally end users require additional storage. With the appropriate
rr
resources available on the host, you can easily add storage to a virtual machine or a template.
es
al
XenCenter
or
1. Select the virtual machine or template to which you would like to add storage and logon with
di
administrator credentials.
s
b. Click Start.
bu
c. Click the Console tab and allow the virtual machine to start.
t
74 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
5. Select the size of the disk.
Type 10 and then select GB.
Verify that E is selected in the Assign the following drive letter field and then click Next.
es
Type Storage in the Volume label field and verify that Perform a quick format is selected.
or
A quick format removes files from the partition, but does not scan the disk for bad
di
sectors. Only use this option if your hard disk has been previously formatted and you
are sure that your hard disk is not damaged. During a regular format, files are
s
removed from the volume and the hard disk is scanned for bad sectors.
tri
bu
You may find at times that your environment is running low on storage. Before deciding to
purchase additional storage hardware, check whether storage allocations are appropriate for end-
user needs in the environment. For example, if some of your power users need additional hard disk
space to store their files or if your file server needs additional space than originally planned, you
can easily adjust your disks.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 75
To Adjust the Storage Allocated to a Virtual Machine in
XenCenter
1. Shut down the virtual machine or template to which you would like to make changes.
a. Select the Win2012-Master virtual machine and then click Shut Down.
b. Click Yes and wait for the virtual machine to shut down.
6. Click OK.
fo
7. Verify that the size of the storage has increased on the Storage tab in XenCenter.
rr
b. Select the Console tab and wait while the virtual machine starts.
e
9. Launch Server Manager and select Computer Management from the Tools menu.
di
12. Click Next twice in the Extend Volume Wizard and then click Finish.
bu
13. Verify that Storage (E:) has increased to 15 GB and then close the Computer Management
t
window.
io
n
76 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
To Adjust Virtual Machine or Template Memory Allocations
in XenCenter
1. Shut down the virtual machine on which you would like to reallocate memory. Skip this step if
you are adjusting a template.
Right-click Win2012-Master and select Shutdown, click Yes when prompted.
2. Select the virtual machine or template that you would like to make changes to.
Select the Win2012-Master virtual machine.
Verify Set a fixed memory of is selected and 1024 is set in the MB field.
ot
6. Click OK.
fo
rr
Template
al
Another resource that can be a limiting factor within an environment is the processing power
e
available to virtual machines. XenCenter allows you to distribute virtual processors across the
or
environment.
di
For more information about how to configure XenServer virtual CPU management, see
Citrix article CTX117960 at http://support.citrix.com.
s tri
bu
Template in XenCenter
n
1. Shut down the virtual machine you would like to allocate or reallocate vCPUs. Skip this step if
you are adjusting a template.
The Win2012-Master virtual machine should already be shut down.
2. Select the virtual machine or template that you would like to make changes to.
Select the Win2012-Master virtual machine.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 77
5. Select CPU in the left pane.
6. Type the number of vCPUs for this virtual machine or template.
Type 2 and verify 2 sockets with 1 core per socket is selected.
7. Click OK.
The following steps are provided for informational purposes only and are not to be
fo
1. Select the virtual machine or template on which you would like to add a virtual NIC and
al
4. Click Remove.
di
The following steps are provided for informational purposes only and are not to be
performed in the lab environment.
n
1. Select the virtual machine or template on which you would like to add a virtual NIC and
ensure it is shut down.
2. Select the Networking tab.
3. Click Add Interface.
4. Select the network to be added.
5. Select Auto-generate a MAC address or type a specific address in the Use this MAC address
field.
6. Click Add.
78 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
To Adjust a Virtual NIC in XenCenter
The following steps are provided for informational purposes only and are not to be
performed in the lab environment.
1. Select the virtual machine or template on which you would like to adjust the virtual NIC
settings and shut it down.
2. Select the Networking tab.
3. Select the virtual NIC you would like to adjust.
4. Click Properties.
5. Select Enable a QoS limit of and type the desired limit.
6. Click OK.
N
ot
Discussion Question
fo
Your environment is running low on memory and storage. What are some options available to you
rr
To simplify monitoring of your environment, hypervisors allows you to configure events and alerts.
or
These events and alerts raise awareness when resources reach a pre-determined level.
di
The following steps are provided for informational purposes only and are not to be
performed in the lab environment.
t io
n
1. Select the server or virtual machine on which you would like to configure the alert.
2. Select the General tab.
3. Click Properties.
4. Click Alerts.
5. Select one or more of the available options:
• Select the Generate CPU usage alerts checkbox and then set the CPU usage and time that
will trigger an alert.
• Select the Generate network usage alerts checkbox and then set the network I/O usage
and time threshold that will trigger an alert.
© Copyright 2016 Citrix Systems, Inc. Module 3: Managing and Monitoring the Hypervisor 79
• Select the Generate disk usage alerts checkbox and set the disk I/O usage and time
threshold that will trigger an alert.
• Type the number of minutes in the Alert repeat interval box at the top of the screen to
configure the frequency of the alerts.
6. Click OK.
7. Click System Alerts on the top right within XenCenter to view any alerts.
8. Click Close.
Discussion Question
A subset of end users in your environment is having difficulty launching and utilizing their virtual
machines. These end users are also noticing degradation in graphical performance with their
AutoCAD software. How can you track these issues? What are some common causes of these
N
issues?
ot
Issue Resolution
al
Memory statistics are not displayed for a virtual Confirm that the necessary hypervisor tools are
e
Hyper-V - Virtual machines are missing from Configure real-time scanning within anti-virus
di
configuration directories
bu
• Snapshot directories
n
80 Module 3: Managing and Monitoring the Hypervisor © Copyright 2016 Citrix Systems, Inc.
4
Module 4
Managing Desktops
and Applications
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
• Describe the XenApp and XenDesktop infrastructure for delivering desktops and applications.
al
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 83
The lab environment Student Desktop has two management consoles. You will use both
interchangeably throughout this course. Microsoft Remote Desktop Connection Manager
is the preferred method to logging in and interacting with your virtual machines. Citrix
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
ISO's.
Before you begin, you must ensure these following lab environment core virtual machines
are powered on:
• Controller-1
• DomainController-1
• SQLServer-1
• StudentManagementConsole-1
To conserve resources all other core lab environment virtual machines that are not a part
of a machine catalog may be powered down. Powering down machine catalog virtual
N
All lab environment virtual machines are power managed through XenCenter. To change
the power state of a lab environment virtual machine, complete the following steps:
fo
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
es
al
Architecture Overview
e
or
The following diagram depicts the functions and communications of the Delivery Controller within
a XenApp and XenDesktop deployment.
di
s tri
bu
t io
n
84 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
N
ot
fo
rr
es
al
e
or
The Delivery Controller communicates with StoreFront to present resources to end users connected
di
Requirements include:
• 100 MB disk space
• Windows PowerShell 2.0 or 3.0
• Visual C++ 2005, 2008 SP1, and 2010
• Microsoft .NET 3.5 SP1 (required on Windows Server 2008 R2 only)
• Microsoft .NET 4.0
The SQL Server database presents information about the site to the Controllers. Supported database
editions include:
• SQL Server 2012 SP1
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 85
• SQL Server 2008 R2 SP2
Windows authentication is required for connections between the Controller and the SQL
Server database.
The Delivery Controller contacts the hypervisor to confirm availability of the virtual machines and
applications that will be presented to an end user.
The Delivery Controller communicates with Active Directory to validate end-user credentials.
Studio and Director communicate with the Delivery Controller to manage and configure the site.
Once an end user's session has connected to a StoreFront server, the Delivery Controller can
present the end user with a list of resources from the physical network or from a supported
hypervisor.
N
Connecting to Resources
ot
fo
Site outages and interruptions in communications between the Delivery Controller and the site
database can result in resource availability issues for users. Connection leasing enables Delivery
rr
Controllers to continue to broker users to sessions in the event that the site cannot communicate
es
with the site database. This connection brokering relies on a cache on each Delivery Controller.
User sessions brokered for the last two weeks are cached on the Delivery Controller.
al
Connection leasing is not a database redundancy solution. Citrix recommends that XenApp and
e
XenDesktop implementations use SQL mirroring or clustering to protect and provide failover for
or
the site database. Connection leasing is a XenApp and XenDesktop feature that supplements a SQL
Server high availability solution.
di
In most large deployments, connection leasing will likely never be used because the SQL
s
clustering options will prevent the loss of connection to the site database.
tri
bu
For example, an end user has accessed Microsoft Word within the last two weeks, but has not
t io
accessed Microsoft PowerPoint. During the site outage, the connection leasing feature allows the
Delivery Controllers to broker that user’s request to Microsoft Word, but not to Microsoft
n
86 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
• Workspace control is not available, so users will not be automatically reconnected to
disconnected sessions.
• If new sessions are created just before the database becomes unavailable, users may not be able
to access the resources in those sessions if the Delivery Controllers did not have a chance to
sync with the database.
• Users roaming from an external to internal HDX connection may not be able to reconnect to a
session established from a different network.
• Power managed, powered off static (assigned) desktops remain unavailable until the database
connection is restored.
• New sessions will not prelaunch and session lingering timeouts are not used.
• Server-based connections are routed to the most recently used VDA, and all server-based load
balancing is ignored.
• Only VDAs that are 7.6 minimum version are supported.
N
xendesktop/7-6/xad-connection-leasing.html.
fo
desktops, the Active Directory computer accounts assigned to those virtual machines or computers,
e
and in some cases, the master image that is copied to create the virtual machines. Virtual machines
within machine catalogs are organized into Delivery Groups that deliver the same set of desktops
or
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 87
N
ot
fo
rr
es
al
e
or
di
s tri
bu
Perform these steps in order to create new resource settings. The new resource settings will allow
n
you to create machine catalogs in the lab environment. Resource settings are the connection
information used by your XenApp or XenDesktop Delivery site to communicate with the
underlying hypervisor technology. You can improve the performance of a XenApp or XenDesktop
site, by further optimizing the Delivery site connection to the host for XenServer, vSphere, and
Hyper-V.
After you specify the host connection in Citrix Studio, you can use the properties to modify the
connection settings. The connection settings allow you to specify the maximum number of
simultaneous actions, simultaneous Personal Storage inventory updates, and the number of actions
per minute that can occur on a host connection. For more information about connection settings
and connection throttling, see http://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/xad-
connections.html.
88 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
1. Logon to the machine which has Citrix Studio installed with administrator credentials.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
8. Type the IP address of the XenServer into the Connection address field.
Type the IP as http://<XenServerHostIP> into the Connection address field. Use the
fo
XenServer credentials provided with the lab environment to retrieve the IP address of the
rr
XenServer Host.
es
9. Type the administrator credentials for the hypervisor into the User name and Password fields.
al
Use the XenServer credentials provided with the lab environment to complete the User
e
10. Type a name for the connection in the Connection name field and select the appropriate
networks for the virtual machines to use.
di
Type Training in the Connection name field and then click Next.
s tri
11. Type a name for the resources and then select the networks for the virtual machines to use.
bu
13. Select the storage devices for the new virtual machines and then click Next.
Verify that Local Storage is selected (leave all other options default) and then click Next.
14. Define the scopes for the resources on the Scopes page and then click Next.
Verify that All scope is selected and then click Next.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 89
18. Click Cancel to avoid applying any of the changes you made.
Citrix recommends that you only adjust these advanced connection properties under the
guidance of a Citrix Support representative.
MCS creates two disks for every machine that is generated from the master image. The two disks
bu
The Identity Disk contains the virtual machine's presence within Active Directory. It deals with the
io
relationship between the machine and the Active Directory database. The Differences disk holds
n
changes made to the base image within the session. As all machines are spawned from one
snapshot, their uniqueness is written into the Differences disk as opposed to the base image.
Discussion Question
What are some use cases for Machine Creation Services? Are those use cases different for
Provisioning Services?
90 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
Creating a Machine Catalog for Server Desktops and
Hosted Applications
Collections of identical virtual machines or physical computers are managed as a single entity called
a machine catalog. If you are not provisioning through Machine Creation Services or Provisioning
Services, Citrix recommends that you use Microsoft System Center Configuration Manager or
another third-party application to make sure that the machines in the catalog are consistent.
The machines within these machine catalogs are configured to run either a Windows Desktop OS
or a Windows Server OS. For end users who need to remotely access their office machine, you can
select Remote PC Access for those machine catalogs.
You should create a new machine catalog whenever the desktop needs of your end users deviate
from those being used in the environment. For example, all of the end users are currently provided
with a Windows 8.1 desktop, but some of your end users require a Windows 7 desktop.
N
Here, we will explore two of the three options that are available to you when creating a machine
catalog in Studio. First, we begin with a Server OS machine catalog. Both XenApp and XenDesktop
ot
can create Server OS Machine catalogs; which can then be used later in a delivery group to deliver
both server desktops and applications.
fo
rr
The Virtual Delivery Agent (VDA) has to be present on the virtual or physical machines to which
your end users will be connecting. It enables the machines to register with Controllers and manages
e
the HDX connection between the machines and the end-user devices. There are two types of VDA,
or
one specifically used for Desktop OS and one used for Server OS.
di
s
If Win2012-Master does not connect from the Microsoft Remote Desktop Connection
io
Manager, check the power state of the machine using Citrix XenCenter.
n
2. Logon to the virtual machine that you will use as the Master Image using domain
administrator credentials.
Logon to the Win2012-Master virtual machine using the TRAINING\Admin1 and
Password1 credentials
3. Insert the XenApp and XenDesktop 7.6 installation media into the DVD drive in XenCenter.
Select XenApp_and_XenDesktop7_6.iso in the DVD Drive 1 field.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 91
If no ISOs are listed, select the ISO library, Local ISO SR XS in XenCenter, click the
Storage tab,and then click Rescan.
4. Click File Explorer in the taskbar and then click This PC.
5. Double-click the CD Drive (D:) XenApp_and_XenDesktop7_6 to launch the installer.
Verify that Create a Master Image is selected and then click Next.
fo
This option is selected because we are installing the VDA on a master image. For
rr
more information about optimizing XenApp and XenDesktop machines, see Citrix
es
10. Select the core components to install and then click Next.
e
Select Do it manually, type c-1.Training.lab, click Test Connection and then click Add.
s tri
Verify that all features are selected and then click Next.
t io
14. Choose how you will configure your firewall rules and then click Next.
n
These are the default ports used by the Controller. If you need to use different ports,
select Manually and configure the respective ports after the installation completes.
15. Review the Installation Settings Summary and then click Install if the settings are correct.
16. Click Close to allow the machine to restart and then logon using the TRAINING\Admin1
and Password1 credentials.
92 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
17. Click Finish when the installation is complete. Windows configuration will continue and the
virtual machine will be restarted.
18. Logon to the virtual machine on which you installed the VDA using domain administrator
credentials.
Logon to the Win2012-Master virtual machine using the TRAINING\Admin1 and
Password1 credentials.
The installation of the VDA includes Citrix Receiver. If a Receiver prompt appears,
dismiss it.
19. Review the event logs to verify the VDA has successfully registered with a Delivery Controller.
b. Type Event Viewer and then click onEvent Viewer to open the Event Viewer.
ot
c. Expand the Windows Logs node and select the Application logs.
d. Click Find in the "Actions" pane on the right of the screen.
fo
f. Verify an event was logged indicating the Citrix Desktop Service successfully
es
The following Citrix Desktop Service Event IDs can be reviewed to indicate successful
e
20. Shut down the virtual machine once the process is complete.
s
1. Start the virtual machine that will become the master image for the Desktop OS machines.
Logon to the Win8-Master virtual machine using the TRAINING\Admin1 and Password1
credentials
2. Attach the XenApp and XenDesktop 7.6 media to the virtual machine.
Select XenApp_and_XenDesktop7_6.iso from the DVD Drive 1 field.
3. Click Desktop from the Start screen and then click the File Explorer icon.
4. Select This PC and then double-click CD Drive (D:) XenApp_and_XenDesktop7_6.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 93
If the installation wizard does not start automatically, double-click AutoSelect.
This option is selected because we are installing the VDA to a master image. For more
information about optimizing XenApp and XenDesktop machines, see Citrix article
CTX125874 at http://support.citrix.com.
N
9. Determine which Virtual Delivery Agent to install and then click Next.
ot
Verify that No, install the standard VDA is selected and then click Next.
fo
10. Select the necessary core components to install and then click Next.
rr
Select Do it manually, type c-1.Training.lab, click Test Connection and then click Add.
or
Select Personal vDisk, ensure that all other features are selected and then click Next.
tri
These are the default ports used by the Controller. If you need to use different ports,
n
select Manually and then configure the respective ports after the installation completes.
15. Review the Installation Settings Summary and then click Install if the settings are correct.
16. Click Finish when the installation is complete and allow the virtual machine to restart.
17. Logon to the virtual machine on which you installed the VDA using domain administrator
credentials.
Logon to the Win8-Master virtual machine using the TRAINING\Admin1 and Password1
credentials.
94 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
18. Review the event logs to verify the VDA has successfully registered with a Delivery Controller.
The following Citrix Desktop Service Event IDs can be reviewed to indicate successful
VDA registration with a Delivery Controller: 1010, 1012, 1013.
N
b. Type Update personal vDisk on the Windows Start screen and then click Update
rr
personal vDisk.
es
c. Wait for the process to complete and then click Yes to shut down the virtual
machine.
al
Server OS machine catalogs provide a Windows Server environment and provide standard desktops
tri
and applications that are shared by a large number of end users. These machine catalogs provide
desktops and applications that are:
bu
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 95
• Minimize desktop management costs by providing a locked-down standardized environment
for your end users.
In larger environments, depending upon the class of network and the number of devices
ot
Applications that might require the use of the virtual IP and virtual loopback features for
rr
addressing, licensing, and identification, include CRM and Computer Telephone Integration (CTI).
es
For more information about virtual IPs and virtual loopback, see http://docs.citrix.com/en-
us/xenapp-and-xendesktop/7-6/xad-deliver-virtual-ip.html.
al
e
The Machine Catalogs node is not visible until you have completed one of the initial
configuration tasks presented when you first start Studio.
6. Click Next.
96 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
7. Select the type of machine catalog you want to create and then click Next.
Verify that Windows Server OS selected and then click Next.
8. Select the type of infrastructure that will deliver desktops and applications.
Verify that Machines that are power managed (for example, virtual machines or blade
PCs) is selected.
Ensure that the Win2012-Master virtual machine is turned off before continuing.
fo
rr
12. Select the number of virtual machines you would like to create and their resources.
es
Select 2 virtual machines, with 1 Virtual CPUs, and 1024 MB of memory, and then click
Next.
al
e
13. Add computer accounts on the Active Directory Computer Accounts page and then click Next.
or
14. Define the scopes for the machine catalog on the Scopes page and then click Next.
bu
15. Add a name and description before creating the machine catalogon the Summary page and
n
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 97
16. Open XenCenter to verify virtual machines were created successfully.
Open XenCenter and verify HostedApps-01 and HostedApps-02 are listed.
different networks
ot
1. Standardize certain aspects of end users' desktops through the use of a common template
2. Deliver end users' desktops to any device regardless of hardware capability
es
3. Reduce desktop management costs while still providing your end users with a personalized
al
desktop experience
e
or
4. Select the Machine Catalogs node and then click Create Machine Catalog.
5. Click Next on the Introduction screen.
98 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
6. Select the type of machine catalog you want to create and then click Next.
Select Windows Desktop OS and then click Next.
7. Select the type of infrastructure that will deliver desktops and applications.
Verify that Machines that are power managed (for example, virtual machines or blade
PCs) is selected.
8. Select the machine image management method and then click Next.
Verify that Machine Creation Services (MCS) is selected and then click Next.
10. Select the master image you want to use and then click Next.
ot
11. Specify the number of virtual machines you would like to create and their configuration.
rr
Select:
es
b. 1Virtual CPU
e
13. Add computer accounts on the Active Directory Computer Accounts page and then click Next.
bu
c. Type UserDesktop-## in the Account naming scheme field and then click Next.
n
14. Define the scopes for the machine catalog on the Scopes page and then click Next.
Verify that All scope is selected and then click Next.
15. Add a name and description before creating the machine catalogon the Summary page and
then click Finish.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 99
The creation process will take approximately 5-10 minutes.
Discussion Question
What are some reasons for creating a Server OS machine catalog as opposed to creating a Desktop
OS machine catalog?
N
Delivery Groups are a grouping of end users who require access to a common set of applications or
fo
desktop resources, and require the same end-user experience across those resources. A Delivery
Group can access different machine catalogs as long as the machine catalogs consist of similar
rr
machine types. For example, end users assigned to the Engineer Delivery Group can access the
es
hosted applications on the Server 2012 App Catalog as well as the CAD application hosted on the
Server 2012 CAD Catalog; the desktop and the applications are delivered with a consistent end-user
al
You cannot create mixed Delivery Groups from machine catalogs with different machine
or
types. Machine catalog characteristics must match if you want to put the machines into a
single group. For example, you cannot mix machines from Server OS machine catalogs
di
Defining the end-user experience in the Delivery Group means that you do not need to duplicate or
maintain these settings across multiple pools of resources, and the backend resources can be
bu
100 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
N
ot
You can create Delivery Groups for specific teams, departments, or types of end users. With
Delivery Groups, you can:
fo
• Specify groups of end users who access desktops, applications, or desktops and applications.
rr
In order for end users to access resources from a machine catalog, a Delivery Group is required.
When creating a Delivery Group, you will need to specify the end users, groups, applications, and
al
desktop settings to match the end-user needs. You will also have the ability to configure power
e
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 101
Session prelaunch and session linger are user session experience optimizations. The session
prelaunch and session linger features help users quickly access applications by starting sessions
before they are requested (session prelaunch) and keeping application sessions active after a user
closes all applications (session linger). These features are supported for Server OS machines only.
By default, session prelaunch and session linger are not used; a session starts (launches) when a
user starts an application, and remains active until the last open application in the session closes.
Session prelaunch and session linger settings are configured in the settings for a Delivery Group.
Considerations:
• The Delivery Group must support applications, and the Server OS machines must be running a
Server VDA version 7.6 or later.
• Users must be using a Citrix Receiver for Windows that is configured with additional settings.
For more information about these additional settings, see Citrix product documentation at
http://docs.citrix.com. Search for session prelaunch for the specific Receiver for Windows
version.
N
• Physical client machines cannot use the suspend or hibernate power management
fo
functions.
• Users can lock their end-user devices but should not log off.
rr
• Prelaunched and lingering sessions consume a license, but only when connected. Unused
es
prelaunched and lingering sessions disconnect after 15 minutes by default. This value can be
configured in PowerShell using the New/Set-BrokerSessionPreLaunch cmdlet.
al
e
Careful planning and monitoring of your users’ activity patterns are essential to
tailoring these features to complement each other. Optimal configuration balances the
or
benefits of earlier application availability for users against the cost of keeping licenses
in use and resources allocated.
di
s tri
102 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
7. Select a machine catalog for the Delivery Group, and then specify the number of machines the
group will consume from the machine catalog.
Verify the HostedApps machine catalog is selected, and then add 1 machine.
8. Click Next.
9. Select the type of resource that you want to deliver to your end users on the Delivery Type
page.
Select Applications.
13. Select applications from the display on the Applications page, if the Delivery Group will
ot
It may take a few moments for the list of applications to populate. In the background,
rr
XenApp and XenDesktop are starting the machine assigned to this catalog to
inventory the applications available for publishing, and will populate this list once the
es
information is obtained.
al
e
15. Verify that all of the details on the Summary page are correct and then specify a Delivery
tri
Group name.
bu
17. Optimize the Hosted Applications Delivery Group with Session Prelaunch and Session
Lingering.
Select the Hosted Applications Delivery Group and then click Edit Delivery Group in the
Actions pane.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 103
18. Configure Application Prelaunch.
a. Click Application Prelaunch and select Prelaunch when any user in the Delivery
Group logs on to Receiver for Windows.
b. Select Minutes and set the number to 15.
c. Click Apply.
a. Click Application Lingering and then select Keep sessions active until.
b. Select Minutes and set the number to 15.
c. Click Apply and then click OK.
N
Discussion Question
ot
How would you handle a request that asks you to provide access to a Windows 8.1 machine catalog
fo
and a Server 2012 R2 machine catalog for one group of end users?
rr
es
In some scenarios, administrators may want to allow non-domain users to access company
e
resources from non-domain joined computers such as kiosks at libraries, schools and trade shows.
You can configure Delivery Groups containing Server OS machines to allow users to access
or
Considerations:
s
• Unauthenticated user support is configured through Delivery Groups. Each machine in the
tri
Delivery Group must have a Server VDA version 7.6 or later installed and a store must be
bu
Users requiring sessions on Desktop OS machines must logon using authenticated user
io
credentials
n
• An Anonymous Users Group is created when you install the Delivery Controller.
Some applications might still require credentials even though the StoreFront store and
Citrix Receiver do not.
• Unauthenticated user accounts are created on demand when a session is launched. User
accounts are named AnonXYZ, in which XYZ is a unique three-digit value.
104 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
• Unauthenticated user sessions have a default idle timeout of 10 minutes and are logged off
automatically when the user device disconnects. Reconnection, roaming between user devices,
and Workspace Control are not supported.
1. Logon to a machine that has Citrix Studio installed on it.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
8. Click Next.
al
12. Add the applications to the Delivery Group and then click Next.
bu
It may take a few moments for the list of applications to populate. In the background,
XenApp and XenDesktop are starting the machine assigned to this catalog to
t io
inventory the applications available for publishing, and will populate this list once the
n
information is obtained.
13. Select the scope to assign to this Delivery Group and then click Next.
Verify that All scope is selected and then click Next.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 105
14. Add a name and description before creating the Delivery Group on the Summary page and
then click Finish.
Type Anonymous Access as the Delivery Group name, leave the description blank, and then
click Finish.
7. Select a machine catalog for the Delivery Group and then specify the number of machines the
group will consume from the machine catalog.
di
s
Verify the UserDesktops machine catalog is selected and then specify 2 machines.
tri
8. Click Next.
bu
9. Select the type of resource that you want to deliver to your end users on the Delivery Type
t
10. Add the user accounts and user groups that can access the resource and then click Next.
a. Click Add, type Human Resources and then click Check Names.
b. Click OK.
c. Click Next.
11. Add your StoreFront server settings to configure Citrix Receiver and then click Next.
Verify that Manually, using a StoreFront server address that I will provide later is
selected and then click Next.
106 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
12. Select the scope to assign to this Delivery Group and then click Next.
Verify that All is selected and then click Next.
13. Verify that all of the details on the Summary page are correct and then specify a Delivery
Group name and display name.
Type HR Desktops as the Delivery Group name and HR Desktop as the display name.
By default all applications specified in a Delivery Group are organized under the default application
folder named Applications. Application folders can be nested up to five times by dragging and
fo
a. Right-click the Applications blue bar to the left of the applications list and select
Create Folder.
b. Name the new folder Domain Users and then click OK.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 107
7. Organize the applications in the Delivery Group created for the TRAINING\Domain Users
group.
8. Verify that the appropriate applications appear within the application folder.
Click the Domain Users application folder and verify that Calculator, Notepad, and
Wordpad are listed. Also notice that Paint was not added to the folder because Paint was
not published to the TRAINING\Domain Users group.
Securing Connections
N
The SSL to VDA feature allows you to secure communications between users and the Virtual
Delivery Agents (VDAs) with SSL. To configure SSL to VDA, you:
es
• Manually configure SSL on the machines containing the VDA using the Microsoft
al
configure SSL on random (pooled) VDAs that are provisioned by Machine Creation Services or
or
Before you configure the SSL to VDA communications, you should be aware of the following
considerations:
bu
• SSL connections between users and VDAs are valid only for sites in XenApp 7.6 and
t
• SSL configuration in the Delivery Groups and on the machines containing the VDA is done
n
after you create the Delivery site, create the machine catalogs, and create the Delivery Groups.
• Only Full Administrators have the permissions required to configure SSL in the Delivery
Groups and change the Delivery Controller access rules.
• Only Windows administrators on the machines containing the VDA have the necessary
permissions to configure SSL on those machines.
• If SSL Relay was installed on a machine, it must be uninstalled before installing the VDA on
the machine. This is applicable to machines being upgraded from a previous version of
XenApp or XenDesktop.
108 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
For more information about securing internal communications using the SSL to VDA
feature, see http://docs.citrix.com/en-us/xenapp-and-xendesktop/7-6/xad-security-article/xad-
ssl.html.
Managing Resources
From time to time you may need to add, delete, or reallocate resources to better fit the needs of
your organization. The modular design of XenApp and XenDesktop gives you the ability to manage
resources in a granular fashion.
4. Select the Machine Catalogs node and then select the machine catalog you want to add
s
machines to.
tri
6. Specify the number of virtual machines that you want to add then click Next.
n
7. Ensure that the current Active Directory settings are correct for your environment and then
click Next.
Verify that Training Virtual Desktops>Desktops is selected and then click Next.
8. Click Finish.
Studio creates the machine as a background process so that you can continue to work.
Machine creation continues to completion even if you close Studio.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 109
9. Open XenCenter to verify virtual machines were created successfully.
Open XenCenter and verify UserDesktop-03 is listed.
d. Click Install.
al
e. Select Don't import anything and then click Next. Firefox will launch.
e
f. Deselect Always perform this check when starting Firefox in the "Default
Browser" prompt and click Not now.
or
g. Close Firefox.
di
b. Type Update into the Start screen and click Update Personal vDisk.
c. Click Yes to shut down.
t io
n
110 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
1. Logon to a machine that has Citrix Studio installed on it.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
3. Select the Machine Catalogs node in Studio and then select a machine catalog that you would
like to update.
Select the UserDesktops machine catalog.
6. Select the host and updated master image that you want to use and then click Next.
fo
Select the Win8-Master virtual machine image and then click Next.
rr
Select Immediately (leave all other options default) and then click Next.
al
It is safe to roll out the changes immediately in the lab environment because there are
e
no users currently logged in. This is likely not the case in a production scenario.
or
di
8. Verify that the details are correct and then click Finish.
s tri
You can remove Active Directory computer accounts from Desktop OS and Server OS machine
io
catalogs, and Organizational Units (OUs) from Remote PC Access machine catalogs in order to
n
make unused accounts available for use in other machine catalogs. Similarly, you can attach
additional accounts to a machine catalog so that when more machines are added to the machine
catalog, the computer accounts are already in place.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 111
1. Logon to a machine that has Citrix Studio installed on it.
2. Open Citrix Studio.
3. Select the Machine Catalogs node.
4. Select a machine catalog in the center pane.
5. Click Manage AD Accounts.
6. Click Add.
7. Type the object names to select and then click Check Names.
8. Click OK.
9. Decide whether to reset the account password or to give them all the same password and then
click OK.
10. Click Close.
N
Group
fo
Full and partial machine power management is available for Delivery Group machines. However,
rr
this only applies to Desktop OS machines. For Server OS machines, you can manage power settings
es
Group
di
3. Select the Delivery Groups node and then select the Delivery Group that you wish to control.
Select HR Desktops.
112 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
6. Edit the power management settings for the Delivery Group.
7. Click OK.
4. Select the Delivery Group containing the machines you want to reallocate and then select Edit
Delivery Group.
al
5. Select Users in the left pane so you can add or remove users and groups to the Delivery Group.
di
You can use an import list to specify the users and groups who can access any existing
or physical machines.
s tri
bu
Click Add.
t io
6. Specify the users or groups you would like to add and then click Check Names.
n
7. Click OK twice.
Discussion Question
What is the time zone setting in the basic settings of a Delivery Group used for? What could be a
reason to set two Delivery Groups to different time zones?
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 113
To Shut Down and Restart Desktops
1. Logon to a machine that has Citrix Studio installed on it.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
5. Select the machine and then select the appropriate power management action from the Actions
ot
pane. Depending on the state of the machine, some of these options are not available:
a. Force shutdown - Forcibly turns of the machine and refreshes the list of machines.
fo
b. Restart - Tells the machine operating system to shut down and start the machine
rr
again.
es
c. Suspend - Pauses the machine without shutting it down and refreshes the list of
machines.
al
d. Shut down - Requests that the machine's operating system shut down.
e
or
Select a machine that lists the power state as Off and then click Start. The power state
change and the machine can be seen in the XenCenter console. In some scenarios the citrix
di
administrator may not have access to the hypervisor console. The machine state can also be
seen within Studio after a refresh.
s tri
6. Click Yes.
bu
t
Putting a machine in maintenance mode lets you perform administrative tasks on the associated
image, such as applying updates and upgrading using image management tools.
User connectivity is affected as follows when in maintenance mode:
• With Server OS machines, end users can connect to existing sessions but cannot start new
sessions.
• With Desktop OS and Remote PC Access machines, end users cannot connect or reconnect. If
the user is already connected, they will stay connected until they either disconnect or log off.
Machines are available for user connections when you take them out of maintenance mode.
114 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
To Enable and Disable Maintenance Mode
1. Logon to a machine that has Citrix Studio installed on it.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
6. Click Yes.
rr
es
Removing a machine deletes it from a Delivery Group but does not delete the associated virtual
e
machine from the machine catalog on which the group is based. Therefore, the machines are
or
mode temporarily prevents end users from connecting to the machine while you are removing it.
s tri
Machines may contain personal data. Manage this activity appropriately, especially if the
bu
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 115
4. Select a Delivery Group and then click View Machines.
Select Notepad Application Servers and then click View Machines.
Delivery Group. This involves putting the Delivery Group into maintenance mode.
ot
3. Click Delivery Groups and then select the Delivery Group to delete.
s
Click Delivery Groups and then select the Notepad Application Servers Delivery Group.
tri
bu
When you delete a machine, end users can no longer access it, and the machine is deleted from the
machine catalog. Before deleting the machine, make sure all user data is backed up since end users
cannot be logged on the machine that you want to delete. Place the machine in maintenance mode
to stop end users from connecting to the machine.
116 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
To Delete Machines from a Machine Catalog
1. Logon to a machine that has Citrix Studio installed on it.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
4. Select Machine Catalogs in Citrix Studio and then select the catalog containing the machine to
ot
be deleted.
fo
Select Machine Catalogs and then select the AppServers machine catalog.
rr
5. Click View Machines to view the machines associated with the machine catalog.
es
6. Shut Down the machine you would like to delete if it is powered on.
Using XenCenter select AppServer-1.Training.lab and then click Shut Down.
al
e
management tasks from the studio do not apply to existing machine catalogs.
di
s
8. Click Finish.
t io
This process will remove the AppServer-1 from Citrix Studio and the XenDesktop
n
database. The AppServer-1 virtual machine has not been created with MCS or
Provisioning Services therefore the machine will still exist on the hypervisor and must
be deleted from XenCenter manually.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 117
The steps to delete a virtual machine created by MCS or Provisioning Services are:
1. Select the virtual machine and click Delete.
2. Select Remove the virtual machines from the Catalog and delete the virtual
machines.
3. Select Remove the accounts from the Catalog and delete them from Active
Directory.
4. Click Next.
5. Click Finish.
4. Select Machine Catalogs in Citrix Studio and then select the catalog to be deleted.
di
s
Select Machine Catalogs and then select the AppServers machine catalog.
tri
6. Click Finish.
t io
n
Issue Resolution
An administrator is unable to update desktops Verify that the administrator has the
in a machine catalog. appropriate permissions.
Unable to remove a machine from a machine Verify that the machine is in maintenance mode
catalog. prior to removal.
118 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
Issue Resolution
When creating an application delivery group in Verify that the application is installed on the
Studio, the desired application does not appear. application server/host.
Not all end users have access to a newly created Verify that the application has been assigned to
application. all of the required Delivery Groups. Verify that
the application is enabled.
You are unable to power manage a machine. Verify that the machine is a virtual machine.
Physical machines cannot be power-managed
through XenApp and XenDesktop.
Users logon time is taking longer than usual. Ensure that the power management settings for
a Delivery Group are appropriate for the end
N
into consideration.
1. Choose the Delivery Group in which you
fo
You are unable to reallocate a machine within a Ensure that the machine was not created using
Delivery Group. Provisioning Services, as they are unable to be
or
reallocated.
di
Users in a Delivery Group are unable to access Verify that maintenance mode is not enabled.
s
During this exercise, you will not be given step-by-step instructions for performing the
task. Instead, you are asked to use what you have learned to complete it. This exercise is
designed to take your newly-acquired knowledge and determine if you can apply it to
perform a task you have never done before. In most instances the default value will be the
best choice, but we encourage you to explore and try different options. If you have a
question or need help, ask the instructor or a fellow student for assistance.
© Copyright 2016 Citrix Systems, Inc. Module 4: Managing Desktops and Applications 119
• Manage Delivery Groups.
Time to complete: Approximately 20 minutes
Your manager has asked you to deliver a Server Desktop to all of the domain administrators on the
network. As there are only a few domain administrators, you believe that a single server will easily
fit this objective.
In order to deliver these desktops, you decide to use an existing machine catalog called HostedApps
because it can fit your needs quickly. However, there are no more machines available in that
catalog, so you will have to create them.
To complete your objective:
• Add one additional machine to the HostedApps machine catalog.
• Use the default memory and processor resources.
• Add the machine to the Training Virtual Desktops > Servers organization unit.
N
120 Module 4: Managing Desktops and Applications © Copyright 2016 Citrix Systems, Inc.
5
Module 5
Managing
StoreFront
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
File in Receiver.
ot
• Access from any Receiver with a consistent user experience, including automatic fallback to an
HTML 5 client if a native client is not available locally and cannot be installed.
fo
• Synchronization of resource subscriptions across all platforms and devices (Follow-me Apps &
rr
Data).
es
• Discuss StoreFront components and the communication that takes place within its architecture.
e
To conserve resources all other core lab environment virtual machines that are not a part
ot
of a machine catalog may be powered down. Powering down machine catalog virtual
machines is not favored as it could impact future session launch times.
fo
All lab environment virtual machines are power managed through XenCenter. To change
rr
the power state of a lab environment virtual machine, complete the following steps:
es
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
e
or
StoreFront is a front-end web server responsible for aggregating resources from different locations
s
and presenting end users with a list of resources, including desktops and applications. The
tri
presentation of resources is customizable. An organization can control how resources are presented
bu
StoreFront Components
al
StoreFront consists of several components and are described in the following section:
e
• StoreFront Server - The StoreFront server records details of end-user application subscriptions
or
locally along with associated shortcut names and locations. When an end user accesses a store,
the application synchronization feature automatically updates the subscribed applications on
di
the end-user device to match the configuration stored on the StoreFront server. The credentials
s
are later retrieved by the Store Service to authenticate to XenApp and XenDesktop, ensuring
tri
that the end user has a consistent experience across all devices.
bu
StoreFront Communication
N
ot
fo
rr
es
al
e
or
di
s tri
bu
t io
n
1. An end user enters a username and password into Receiver, which is then sent to the
StoreFront server. End users may skip this step if pass-through authentication is configured.
2. The authentication service of StoreFront retrieves the end-user credentials and validates them
with a domain controller. The StoreFront server must be a member of the same Active
Directory forest as the end-user account and the accessed resources.
3. StoreFront retrieves the end user's application subscriptions locally and loads them into
memory.
Discussion Question
What advantages does StoreFront offer in place of Web Interface?
N
ot
After the initial configuration of StoreFront, other tasks that enable you to manage your
rr
deployment become available in the StoreFront management console. This console gives you the
es
following access:
• Stores - Create, configure, and manage stores.
al
• Receiver for Web - Create and configure a Web-based point of access for end users.
e
StoreFront allows you to create as many stores as needed for a particular group of end users or to
n
group together a specific set of resources. To create a store, you must identify and configure
communications with the servers providing the resources that you want to make available in the
store. You will then have the option to configure remote access through NetScaler.
7. Verify that XenApp 7.5 (or later) or XenDesktop is the selected as the type of Delivery
Controller.
8. Click Add.
N
there are no single point of failure. If available, Citrix recommended practices suggest
es
using a hardware load balancer, such as NetScaler. When using a hardware load
balancer, the FQDN of the Controller load balancer would be added to the Store.
al
11. Select the types of connections that StoreFront will use to communicate with the Delivery
or
12. Specify the port for StoreFront to use for connections to the XenApp and XenDesktop site.
tri
bu
14. Specify whether and how end users connecting from public networks can access the store
n
Stores created for unauthenticated users do not support remote access through NetScaler
Gateway.
Password1 credentials.
fo
3. Select the Stores node and then click Create Store for Unauthenticated Users.
es
9. Click Add.
t
10. Type the server name or IP address of a Delivery Controller in the environment.
io
n
Type C-1.Training.lab.
13. Specify the port for StoreFront to use for connections to the XenApp or XenDesktop site.
Verify that 443 is specified in the Port field.
Hiding a Store
fo
Hiding a store will prevent end users from adding stores to their accounts when they configure
rr
Citrix Receiver through email-based account discovery. By default, when you create a store it is
presented as an option for end users to add within Citrix Receiver when they discover the
es
StoreFront server hosting the store. Hiding the store does not make it inaccessible; instead, end
users must configure Citrix Receiver with connection details for the store, either manually using a
al
To Hide a Store
di
5. Click Hide Store and then click Yes to hide the store..
Discussion Question
What is the impact of a StoreFront server failure on the end user?
Configuring Authentication
You can enable or disable end-user authentication methods set up when the authentication service
was created, by selecting an authentication method within the StoreFront management console. If
end users are having difficulty accessing the store or Receiver for Web site, you may need to review
their authentication settings.
Password1 credentials.
es
• Domain pass-through
tri
bu
6. Click OK.
t io
Discussion Question
n
What authentication methods have you used? What are the benefits of each?
6. Click OK.
ot
fo
StoreFront has the capability to aggregate several independent infrastructures, like legacy XenApp
es
farms as well as XenApp and XenDesktop sites, to seamlessly present all available resources to users
from any of these infrastructures in a single unified location for access.
al
e
After creating a store within StoreFront, you may need to add other controllers. Adding controllers
di
alleviates the issue of having a single point of failure. There may also be times in which you want to
s
modify or remove existing Delivery Controllers that are available to a particular store.
tri
bu
8. Indicate whether the resources that you want to make available are provided by XenApp 7.5
(or later) or XenDesktop, XenApp 6.5 (or earlier), AppController, or VDI-in-a-Box.
Select XenApp 6.5 (or earlier).
9. Click Add, type the name or IP address of Delivery Controllers running the Citrix XML
Service and then click OK.
Click Add, type xenapp-1.Training.lab and then click OK.
The resource added in this step, "xenapp-1.Training.lab" does not exist in this lab
N
If you are using certificates to secure connections between StoreFront and XenApp
al
and XenDesktop sites, ensure that the server names you specify in the Servers list
e
match exactly (including the case) the names on the certificates for the servers.
or
8. Click OK.
Discussion Question
How can StoreFront help you transition from previous versions of Citrix products?
N
ot
Removing a Store
fo
If an existing store is being replaced or is no longer usable for a particular group or user, it may be
rr
necessary to remove the store. When a store is removed, any associated Receiver for Web sites are
es
also deleted.
al
To Remove a Store
e
or
Password1 credentials.
tri
bu
Issue Resolution
Receiver for Windows end users cannot logon To resolve this issue, run the command Set-
to stores using pass-through authentication, BrokerSite -
even though the domain pass-through TrustRequestsSentToTheXmlServicePort $True
authentication method is enabled in the from a Windows PowerShell command prompt
StoreFront authentication service. on the server hosting the XenApp and
N
Changes to the configuration of the StoreFront In multiple server deployments, use only one
fo
server group are not propagating. server at a time to make changes to the
configuration of the server group. Ensure that
rr
StoreFront cannot join a server group. Ensure that you are not using Group Policy to
di
After upgrading multiple StoreFront servers the Ensure that you upgrade your StoreFront
stores, sites and services have become unusable. servers sequentially. Upgrading multiple
StoreFront servers in parallel is not supported
and can cause configuration mismatches that
lead to this issue.
perform a task you have never done before. In most instances the default value will be the
best choice, but we encourage you to explore and try different options. If you have a
ot
question or need help, ask the instructor or a fellow student for assistance.
fo
• Discuss StoreFront components and the communication that takes place within its architecture.
es
A legacy Web Interface server that has been decommissioned is waiting to be replaced with a Citrix
s
StoreFront server. The StoreFront server will initially be used for internal users of Receiver to access
tri
desktops and applications. Eventually, the design will incorporate a StoreFront site that is being
bu
• Add both of the XenApp and XenDesktop Delivery Controllers that exist in the environment.
• Allow access to XenApp and XenDesktop using a HTTP connection only.
• Configure Store to be the default store to ensure that users of earlier Citrix client-side software
will be able to access the store.
• Perform the following tests from the EndPoint-Internal virtual machine using the
TRAINING\HRUser1 and Password1 credentials.
• Use IE to browse to the Store using the Receiver for Web Address.
• Add https://sfs-1.Training.lab to the Trusted sites zone within Internet Explorer.
• Confirm that you can connect to the Store through Receiver for Web
N
ot
fo
rr
es
al
e
or
di
s tri
bu
t io
n
Managing Policies
and Profiles
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
• Monitor CPU usage, HDX (ICA) latency, and profile load time.
ot
Citrix policies can be managed through Group Policy in Microsoft Windows or within the Citrix
fo
Studio console in XenApp or XenDesktop. The console or tool you use depends on whether you
have the appropriate permissions to manage Group Policy, where policies will be stored, and how
rr
You can also use Citrix policies to accommodate your end users' varying needs. With policies you
can apply different profile behavior to the machines in each Delivery Group. For example, one
al
Delivery Group might require Citrix mandatory profiles, whose template is stored in one network
e
location, but another Delivery Group might require Citrix roaming profiles stored in another
or
Profile management requires minimal infrastructure and administration, and provides end users
tri
with fast logons and logoffs. Whichever profile solution you choose, you can access diagnostic
bu
http://www.citrix.com/support.
n
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 141
• Resolve conflicting profiles.
Module timing: Approximately 5 hours
The lab environment Student Desktop has two management consoles. You will use both
interchangeably throughout this course. Microsoft Remote Desktop Connection Manager
is the preferred method to logging in and interacting with your virtual machines. Citrix
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
ISO's.
Before you begin, your must ensure these following lab environment core virtual machines
are powered on:
• Controller-1
• DomainController-1
• SQLServer-1
N
• StoreFrontServer-1
ot
• StudentManagementConsole-1
To conserve resources all other core lab environment virtual machines that are not a part
fo
of a machine catalog may be powered down. Powering down machine catalog virtual
rr
All lab environment virtual machines are power managed through XenCenter. To change
the power state of a lab environment virtual machine, complete the following steps:
al
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
or
di
Policies can be created using Studio or using GPOs. Prior to creating policies, you should evaluate
whether policies should be managed and stored in Studio or by using GPOs.
bu
Citrix recommends managing and storing policies using GPOs if you have the appropriate
t io
In situations where policies exist that have been created using both Studio and GPOs, Group
Policy-based settings take precedence over policies stored within the site database.
142 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
N
ot
fo
rr
es
If you do not have the necessary permissions to manage Group Policy, or if filtering mechanisms
e
such as SmartAccess are required, use Studio to create policies for your site. Policies created using
or
Studio are stored in the site database and updates are pushed to the end-user session either when
the machine registers with the broker or when an end user connects to the relevant resource.
di
Before you create a policy, decide which group of end users or devices you want it to affect. You
s
may want to create a policy based on end-user job function, connection type, end-user device, or
tri
geographic location.
bu
t
Unfiltered Policy
io
n
You have the option of creating policies that can be assigned to all objects in a site, or using the
pre-created unfiltered policy. Unfiltered policies are created by default upon the installation of
XenApp and XenDesktop. By default, unfiltered policies apply to all objects and sessions within the
site, allowing you to configure global, organization-based settings within one policy. If you want
policies to impact specific groups or end users or objects, you can use policy filters to apply these
settings. The pre-created unfiltered policies cannot be deleted.
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 143
Using a Policy Template in Studio
Templates can help you save time when administering a large environment and are also useful for
establishing standards that multiple administrators can use.
You can create templates from either an existing template or an existing policy. Several computer
policy templates already exist for specific purposes. New policies can be created from these
templates and modified as needed or you can choose to create your own custom policy templates.
The new template is then populated with the same settings as the original template or policy. Any
assignments specified in the original policy are not included in the template.
3. Select Policies in the left pane of Studio and then select the Templates tab.
rr
es
If the Welcome screen for Citrix Policies appears, select Don't show this again and
then click Close.
al
e
4. Select the template that you want to implement and then create a new policy from it.
or
Select High Definition User Experience and then click Create Policy from Template in the
di
Actions pane.
s
5. Verify that Template default settings (recommended) is selected and then click Next.
tri
6. Select how you would like to apply the policy and then click Next.
bu
b. Type TRAINING\Remote Employees in the User or group name field and then
n
click OK.
c. Click Next.
144 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
To Create a Policy Using Studio
1. Logon to the machine that has Citrix Studio.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
If the Create Policy option is not available in the Actions pane, ensure the Policies tab
is selected.
5. Add and configure individual policy settings, as required and then click OK.
N
ot
d. Click Select to the right of the View window contents while dragging setting.
es
6. Click Next.
e
7. Assign the policy to a particular user or group or assign to it all objects within the site and
or
b. Select HR Desktops from the Delivery Group field and then click OK.
tri
bu
8. Click Next.
9. Enter a unique name for the new policy or accept the default name that is generated
t
automatically.
io
n
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 145
You must add at least one assignment to a policy for that policy to be applied correctly. If you do
not add any assignments, policy settings are applied to all user sessions, unless those policy settings
are overridden by settings in a policy with a higher priority.
Citrix recommends that you apply policies to groups rather than individual end users. If
you apply policies to groups, assignments are updated automatically when you add or
remove end users from the group.
To Apply a Policy
1. Logon to the machine that has Citrix Studio installed.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
N
4. Click the Policies tab and then select an existing policy or create a new policy.
rr
5. Click Edit Policy in the Actions pane to open the Policy Wizard.
6. Configure policy settings, if necessary and then click Next.
al
e
Click Next.
or
7. Click Assign or Edit for each user or machine object to which you want to assign the policy.
di
b. Click + and then select Hosted Applications from the Delivery Group field.
tri
c. Click OK.
bu
8. Click Next to use the existing assignment settings and then click Finish to complete editing the
t io
policy.
n
146 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
To Edit a Policy
1. Logon to the machine that has Citrix Studio installed.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
Click the Policies tab and then select the Disabled Desktop UI Elements policy.
fo
6. Click Edit Policy in the right pane to open the Policy Wizard.
rr
8. Click Next.
9. Adjust user and machine assignments, if necessary and then click Next.
di
Click Next.
s tri
When creating policies for a site, you may encounter a situation in which specific end users require
exceptions to the current policy. This action is taken by creating policies and prioritizing them.
Prioritizing policies allows you to define the precedence of policies when they contain conflicting
settings. You prioritize policies by giving them different priority numbers. By default, new policies
are given the lowest priority. If policy settings conflict, a policy with a higher priority overrides a
policy with a lower priority.
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 147
To Prioritize a Policy
1. Logon to the machine that has Citrix Studio installed.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
Click Policies and then select the Disabled Desktop UI Elements policy.
fo
Discussion Question
e
What type of policy should you configure if you need to create specific settings and want them
or
4. Select Policies in the left pane of Studio and then select the Policies tab.
148 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
5. Select the policy you would like to use as a template.
Select the Disabled Desktop UI Elements policy that you previously configured.
9. Click Finish. The new template appears on the Templates tab of Studio within the Custom
templates pane.
N
ot
Exporting a policy template allows you to create backups of your template files to aid in the
recovery of policy configurations. It also allows you to supply policy configurations from your site
rr
You can also export policies created in Studio into Group Policy Objects.
al
e
or
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 149
6. Click Export Template. The Export Template dialog box appears.
7. Select the location where you want to save the template and then click Save. A .gpt file is
created in the location you specified.
Type \\AD\Share\Policies in the Address field of the Export Template window and then
click Save.
6. Find the policy to import, click Open, and then click Yes.
150 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Policy Modeling Wizard, you can specify conditions for a connection scenario such as domain
controller, end users, Citrix policy assignment evidence values, and simulated environment settings
such as slow network connection. The report that the wizard produces lists the policies that would
likely take effect in the scenario.
The Citrix Group Policy Modeling Wizard can be run from Studio and from the Group Policy
Management Console. If you created policies using:
• Studio only, you should use the Citrix Group Policy Modeling Wizard from Studio.
• Studio and the Group Policy Management console, you should use the Citrix Group Policy
Modeling Wizard from Studio.
• Group Policy Management Console only, you should use the Citrix Group Policy Modeling
Wizard from the Group Policy Management Console.
N
ot
fo
rr
es
al
e
or
di
s
Management Console
bu
1. Logon to the machine that has the Group Policy Management Console and Citrix Studio
t io
installed.
n
Logon to the Controller-1 virtual machine from the Citrix lab environment using the
TRAINING\Admin1 and Password1 credentials.
5. Right-click Citrix Group Policy Modeling and then click Citrix Group Policy Modeling
Wizard.
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 151
6. Click Next in the Welcome screen.
7. Specify the domain controller that will process the Resultant Set of Policy.
Click Next to use any available domain controller.
This lab environment has only one domain controller, AD.Training.lab is used
automatically.
8. Specify the OU containing the end users or computers you want to model and then click OK.
10. Specify the filter criteria to use and then click Next.
fo
Click Next.
rr
11. Specify the advanced simulation options and then click Next.
es
Click Next.
al
If you receive a message from Internet Explorer that the site is being blocked click
di
Add.
s tri
14. Review the policy modeling report to determine which policies were applied and have an effect
bu
152 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Creating Policies Using Group Policy
N
ot
fo
rr
1. Citrix policy extensions are installed on the same machine where GPOs will be created or
managed. These extensions add a Citrix node in the Microsoft GPO Editor and GPMC
al
controllers.
di
s
a. Active Directory group policies are created and assigned using GPMC or GPO Editor.
bu
These policies are applied at the OU, Domain and site level of Active Directory. Citrix
policies are created in exactly the same manner as Microsoft policies.
t io
b. Local site policies are created using the Citrix Studio Management Console. The
n
settings are stored in the site database and propagated to the registry of the VDAs.
Upon next restart or logon, policies are implemented.
3. Active Directory Group Policies take precedence over local system policies. If you do not have
access to Active Directory, site policies can be used to accomplish all of the same tasks.
4. Policies are stored in a Directory file structure or System Volume (SysVol) on Domain
Controllers only.
a. Microsoft policy GUID folders are created in SysVol and hold ADM/X files
b. Citrix policies configured at the Active Directory level are stored in SysVol as GPF/X
files (XML files) that are parsed by Citrix Client-side extensions
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 153
Citrix settings are stored in the site database as metadata and propagated to servers as GPF/X files
stored in Windows directory. These settings are applied to the VDA registry of each VDA
configured.
Discussion Question
Where do you manage policies in your organization? Why do you choose one method over
another?
To Create a GPO
fo
1. Logon to the machine that has the Group Policy Management Console and Citrix Studio
rr
installed.
es
2. Click Tools in Server Manager and then click Group Policy Management.
or
3. Right-click an organizational unit in the left pane and then select Create a GPO in this
domain, and Link it here to open the New GPO window.
di
b. Right-click Training Virtual Desktops and then select Create a GPO in this
domain, and Link it here to open the New GPO window.
bu
154 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Citrix recommends creating a separate GPO for distributing Citrix policies through Active
Directory, and advises against editing the Default Domain Controllers Policy GPO or the
Default Domain Policy GPO.
To Edit a Policy
1. Logon to the machine that has the Group Policy Management Console and Citrix Studio
installed.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
2. Click Tools in Server Manager and then click Group Policy Management.
3. Select the organizational unit in the left pane of the Group Policy Management Console that
N
4. Right-click the GPO you would like to edit and then click Edit.
rr
Right-click the VDA Settings GPO in the right pane and then click Edit.
es
6. Expand Policies and then select Citrix Policies to open the Citrix Computer Policy window.
e
8. Add or edit the settings within the policy and then click OK.
s tri
9. Click OK.
10. Close the Group Policy Management Editor.
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 155
To Use a User Template
1. Logon to the machine that has the Group Policy Management Console and Citrix Studio
installed.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
2. Click Tools in Server Manager and then click Group Policy Management.
3. Select the organizational unit in the left pane of the Group Policy Management Console.
4. Right-click the GPO you would like to edit and then click Edit.
ot
Right-click the WAN Optimization GPO from the linked Group Policy Objects tab in the
fo
6. Expand Policies.
al
9. Select the template from which you want to create a new template.
Select Optimized for WAN.
di
s
10. Click New Policy to open the New Policy Wizard opens.
tri
156 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
14. Click Next.
15. Click Create.
16. Close the Group Policy Management Editor.
2. Click Tools in Server Manager and then click Group Policy Management.
rr
3. Select the organizational unit in the left pane of the Group Policy Management Console.
es
4. Right-click the GPO you would like to edit and then click Edit.
e
Right-click WAN Optimization GPO from the linked Group Policy Objects tab in the right
or
6. Expand Policies.
tri
9. Select Actions and then select Import from the Actions menu.
io
10. Select the template that you want to import and then click Yes.
n
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 157
Exporting a Policy Template with Group Policy
Exporting a policy template allows you to create backups of your template files to aid in the
recovery of policy configurations. It also allows you to supply policy configurations from your site
to aid Citrix Support in troubleshooting issues.
2. Click Tools in Server Manager and then click Group Policy Management.
N
3. Select the organizational unit in the left pane of the Group Policy Management Console.
ot
4. Right-click the GPO you would like to edit and then click Edit.
rr
Right-click the VDA Settings GPO from the linked Group Policy Objects tab in the right
es
6. Select Policies.
or
10. Select Actions and then select Export from the Actions menu.
t io
11. Select the location where you would like to export the file to and then click OK.
n
a. Type \\AD\Share\Policies in the Address field of the Export Template window and
then press Enter.
b. Click Save.
158 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Prioritizing a Policy Using Group Policy
With the tree-based structure of Active Directory, policies can be created and enforced at any level
in the tree structure. It is important to understand how the aggregation of policies, known as policy
precedence, flows in order to understand how a resultant set of policies is created.
Any policy setting that is disabled takes precedence over a lower-ranked setting that is enabled.
Policy settings that are not configured are ignored.
If you are using Active Directory, policy settings are updated when Active Directory re-evaluates
policies at regular 90 minute intervals and when a user logs on.
installed.
ot
2. Click Tools in Server Manager and then click Group Policy Management.
3. Browse to the OU containing the policies you want to prioritize.
es
Expand the Forest: Training.lab > Domains > Training.lab > Training Users nodes in the
al
left pane.
e
4. Select the Linked Group Policy Objects tab in the right pane.
or
5. Select a policy in the Group Policy Editor for which you want to change the priority.
di
6. Use the arrows on the left side of the Linked Group Policy Object tab to raise and lower the
priority of the policy.
bu
You will not be able to change the priority of the policy because only one policy exists
t io
Discussion Question
You have created and applied a new policy. You configured the policy with client removable drives
set to disabled. The policy contains a filter that has been set to allow for the Accounting group.
Some employees from the Engineering group are now asking the Support team why they are unable
to access their client drives. What could be causing this issue? How can you fix the issue?
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 159
Troubleshooting: Managing Policies
Issue Resolution
A new policy is not functioning properly. • Ensure that the policy is enabled.
• Verify that it is assigned to the appropriate
end users, groups, OUs, and/or domains.
• Verify that there are no Active Directory
policies that supersede the policy built in
Studio.
• Check the prioritization of the policies.
• Ensure that the correct policy settings have
N
or deleted.
al
Virtual IPs are not being assigned by the policy. Verify that:
di
Desktop OS machines.
t
Unable to find the appropriate policy settings. Use the Search field to narrow the results as you
search for settings.
160 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Managing End-User Profiles
N
ot
fo
rr
1. An end user starts a session for a machine with profile management enabled.
es
2. The Citrix Profile management service determines if the end user is a member of the processed
group defined in the profile management policies. If the end user is a member of the group,
al
the service attempts to load the end user's profile from the store. If the end user is not part of
e
user store contains the profile. If a profile is not found in the store, the service migrates the
end user's Microsoft profile to the store or creates a new one from a template specified in the
di
policy.
s tri
4. A local profile that is managed by Citrix Profile management is streamed from the store to the
virtual machine.
bu
5. Profile management monitors the end user's profile and logs any changes back to the end user's
t
profile store.
io
domain logons by the same end user introduces complexities and consistency issues to the profile.
For example, if an end user starts sessions on two different virtual resources based on a roaming
profile, the profile of the session that terminates last overwrites the profile of the first session. This
problem, known as "last writer wins", discards any personalization settings that the end user has
made in the first session.
You can prevent this by using separate profiles for each resource silo. However, this results in
increased administration overhead and storage capacity requirements. Another drawback is that end
users will experience different settings depending on the resource silo they access.
Profile management optimizes profiles in an easy and reliable way. At interim stages and at logoff,
changes to the registry, as well as files and folders in the profile, are saved to the user store for each
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 161
end user. If a file already exists, it is overwritten if it has an earlier timestamp. This helps safeguard
application settings for mobile end users who experience network disruption and end users who
access resources from different operating systems.
Alternatives to using Citrix Profile management exist, including Environment Manager from
AppSense and RES PowerFuse.
By default, Citrix Profile management is installed silently on master images when you
install the VDA.
are frequently used, like "My Documents" and "Desktop" can be redirected to a network share
ot
outside of the roaming profile share so they are not copied over the network at every logon and
logoff. This will also improve user logon times, since profiles will be smaller in size requiring less
fo
3. Select the Policies node in the left pane of Studio and then click the Policies tab.
tri
5. Select Profile Management > Basic Settings from the All Settings menu.
t
162 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
12. Configure the folders you want to redirect.
l. Click OK.
fo
OK.
es
Click Assign to the right of Delivery Group, select HR Desktops in the Delivery Group
al
Within Citrix policies, you have the option to customize and configure policy settings at a detailed
io
level. Using policy filters, profile configuration settings can be associated with Delivery Groups,
n
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 163
Click Cancel if the End Snap-in window appears.
8. Click Select next to the settings that you would like to edit.
Click Select to the right of the Delay before deleting cached profiles setting.
9. Make the necessary changes within the setting and then click OK.
N
ot
10. Click Select next to any other setting you would like to edit.
rr
Click Select to the right of the Delete locally cached profiles on logoff setting.
es
11. Make the necessary changes within the setting and then click OK.
al
Citrix Profile management has a feature that detects conflicting profiles between end users'
Windows profile and Citrix profiles. When an end user is having difficulties with the desktop or
bu
applications, yet all policies and profiles appear to be correct, you should verify that there are no
conflicting policies. You can use the steps below to address any profile conflicts.
t io
n
164 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Click Cancel if the End Snap-in window appears.
4. Click the Policies node and then click the Policies tab to display the list of policies in the
center pane.
5. Select the profile policy that you would like to change.
Select the Folder Redirection for HR Desktops policy.
6. Click Edit Policy in the Actions pane and determine which policy setting to add or delete from
the policy.
Type Local profile in the Search field.
If you know one or two words of a policy setting, you can use the Search field to find
N
the setting.
ot
fo
7. Click Select to the right of the Local profile conflict handling setting.
rr
8. Select the appropriate option in the Value field and then click OK.
es
To improve logon performance and enhance an end user's experience, profiles can be streamed.
s
With profile streaming end users' profiles are synchronized on the local computer only when they
tri
are needed. Registry entries are cached immediately, but files and folders are only cached when
bu
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 165
Click Cancel if the End Snap-in window appears.
4. Click the Policies node and then click the Policies tab to display the list of policies.
5. Select the particular policy that you would like to edit and then right-click Edit.
Select Folder Redirection for HR Desktops and click Edit Policy.
Discussion Question
fo
What other policy settings used to customize end-user profiles would be valuable within your
rr
environment? Why?
es
al
Issue Resolution
di
variables.
t
Profile definition is not affecting the relevant • Verify that the profile has been assigned to
end users. the appropriate Delivery Group.
• Verify the profile policies are applied to the
relevant filters.
• Ensure conflicting policies have been
configured with the appropriate priorities.
End user's Desktop settings, document history • Verify that the relevant Common Folders
and download data is not being retained. have been selected within the profile.
166 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
Reinforcement Exercise 1: Working with Policies
During these exercises, you will not be given step-by-step instructions for performing the
tasks. Instead, you are asked to use what you have just learned to complete them. These
exercises are designed to take your newly acquired knowledge determine if you can
perform a task you have never done before. In most instances the default value will be the
best choice, but we encourage you to explore and try things out. If you have a question or
need help, ask the instructor or a fellow student for assistance.
The Training Engineering team's IDE and programming tools will eventually be hosted on a
desktop provided by XenApp and XenDesktop. Since they have access to the source code,
al
management wants you to put some policies in place that may make it more difficult for the source
e
Your objective is to put a group policy object in place to put some safeguards in place to limit how
the Engineering team can transfer this kind of data.
di
• Create a group policy object called "Safeguards Against Data Theft" that is applied to the
Engineering organizational unit.
bu
© Copyright 2016 Citrix Systems, Inc. Module 6: Managing Policies and Profiles 167
Reinforcement Exercise 2: Working with Profiles
During these exercises, you will not be given step-by-step instructions for performing the
tasks. Instead, you are asked to use what you have just learned to complete them. These
exercises are designed to take your newly acquired knowledge determine if you can
perform a task you have never done before. In most instances the default value will be the
best choice, but we encourage you to explore and try things out. If you have a question or
need help, ask the instructor or a fellow student for assistance.
\\AD\UPM$\%USERNAME%\AppData\Roaming.
al
168 Module 6: Managing Policies and Profiles © Copyright 2016 Citrix Systems, Inc.
7
Module 7
Managing and
Monitoring Sessions,
Sites, and End
N
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 171
The lab environment Student Desktop has two management consoles. You will use both
interchangeably throughout this course. Microsoft Remote Desktop Connection Manager
is the preferred method to logging in and interacting with your virtual machines. Citrix
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
ISO's.
Before you begin, your must ensure these following lab environment core virtual machines
are powered on:
• Controller-1
• DomainController-1
• EndPoint-Internal-1
• SQLServer-1
• StoreFrontServer-1
• StudentManagementConsole-1
N
To conserve resources all other core lab environment virtual machines that are not a part
ot
of a machine catalog may be powered down. Powering down machine catalog virtual
machines is not favored as it could impact future session launch times.
fo
All lab environment virtual machines are power managed through XenCenter. To change
rr
the power state of a lab environment virtual machine, complete the following steps:
es
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
e
or
Director Overview
di
Director is a Web-based tool that enables IT Support and Helpdesk teams to monitor a XenApp or
s
XenDesktop environment, troubleshoot issues before they become system critical, and perform
tri
Director allows you to search for a particular end user and display activity associated with that end
user, such as:
t
io
172 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
In preparation for the exercises in this module, you will need to logon as an end user and
begin a session that you can use Director to monitor in subsequent procedures.
Logon to the EndPoint-Internal virtual machine once the reboot has completed, using
the TRAINING\HRUser1 and Password1 credentials.
2. Launch Internet Explorer and then browse to the URL for the Receiver for Web site.
N
a. Click Desktop and launch Internet Explorer from the Windows taskbar.
ot
If you did not complete the reinforcement exercise in Module 5, then you will need to
download and install the Citrix Receiver on the EndPoint-Internal at this time. If you
es
do not have the Citrix Receiver installed, an .ICA file will be downloaded to the
al
3. Logon to Citrix Receiver for Web using the domain user credentials.
tri
4. Launch an application.
t io
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 173
To Access Director
1. Logon to a computer within the same network as your Controller using domain administrator
credentials.
Logon to the StudentManagementConsole-1 virtual machine using the
TRAINING\Admin1 and Password1 credentials.
2. Open a browser window and type the URL for Director using the following format,
http://server/Director and then press Enter.
Double-click the Citrix Director shortcut on the desktop.
6. Click Logon.
al
e
The Director Dashboard is the opening page of Director and shows basic information regarding
di
• Infrastructure
tri
• Sessions Connected
bu
The Dashboard will give you a general overview of the current status of the environment and allow
you to quickly view unusual and irregular activity.
n
Monitoring Infrastructure
From the Infrastructure panel in Director, you can monitor the health status of your XenApp and
XenDesktop site components, as well as view performance alerts. This panel lists all servers with
alerts in alphabetical order.
The columns list different states for each server. A green check represents that everything is
working properly; an alert or error represents a warning or failure of an infrastructure component.
The panel lets you monitor the current status of the following entities:
174 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
• Hosts
• Delivery Controllers
• Services
• Database
• License Server
• Configuration Logging Database
• Monitoring Database
If the Infrastructure panel is not available, click Trends at the top of the Director
al
3. Ensure that no alerts exist. If a performance alert is indicated, click the alerts in the
Infrastructure panel to read more information.
di
s tri
The Dashboard shows information for Sessions Connected, which provides you with a real-time
t
view of end users connected to the environment, including an option to view historical trends.
io
n
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 175
2. Click the number above the Sessions Connected text on the Dashboard.
Click 2 to view information about the two connected sessions.
Instead of clicking on the number of end users, you also have the option of clicking
View Historical Trend in the Sessions Connected graph on the Dashboard if you
would like to view information about the past number of concurrent sessions.
3. Click Dashboard at the top of the Director window to return to the Dashboard.
The logon duration chart displays two types of information at each data point: The average logon
duration and the number of logons. When you hover over the chart, a red line appears at the
fo
cursor to highlight that point in time and display a dialog box showing both the values of logon
duration and logons at the same time.
rr
es
2. Scroll the Dashboard to view the Average Logon Duration panel in Director.
t
3. Point your cursor at the chart and view the logon duration and logon information at the same
io
time.
n
4. Click Trends at the top of the Director screen to view logon performance data across a site
beyond the last 60 minutes.
5. Select the Delivery Group that you want to view logon trend information about.
Select All in the Delivery Group field.
6. Select a time period for which you want to view logon trend information.
Select Last 7 days in the Time period field.
7. Click Apply to view the logon data for the Delivery Groups and time period selected.
8. Click Dashboard at the top of the Director window to return to the Dashboard.
176 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
Monitoring Machine and End-User Connection Failures
If there were Machine or User Connection failures in the previous 60 minutes, additional panels
appear on the Dashboard automatically.
The large number on the left of the panel indicates the total number of failures for that type. If you
click the large number, the Filters page opens and displays all the individual failures in this
instance. Click the User Connection Failures number to see a list of these end users whose
connections failed, so that you can troubleshoot and resolve the cause of these failures.
The list and graph on the right displays data for each type of failure. If a particular category has
more than one failure during the last 60 minutes, it is expanded by default. These panels stay open
even when you fix the failures, but you can click the tab to collapse them.
End-user connection failures can be categorized as follows:
• Client Connection Failures - Virtual machine unavailable, connection not established
N
• Machine failures - End user connection failures resulting from machine failures
ot
• Unavailable capacity - Desktop OS machine or Server OS machine session is not available due
to maximum capacity reached
fo
You can easily monitor and manage end-user sessions within Director. Common monitoring tasks
e
include:
or
These tasks may also be helpful for Helpdesk representatives to troubleshoot and resolve
issues prior to escalation.
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 177
Viewing End-User Sessions
There are multiple ways to view sessions within Director. The steps below will be beneficial when
you would like to search for groups of users or filter with specific requirements.
The page displays information about all of the sessions currently running in the
rr
environment. You can reduce the number of sessions displayed using the Filter by
fields. For example, you may want to view current sessions that exist by a particular
es
4. Select one or more user sessions to enable the Session Control and Send Message functions for
e
Select the HRUser1 session that is running on the Hosted Apps-1 machine.
di
5. Click Dashboard at the top of the Director window to return to the Dashboard.
s tri
In order to search for a specific end user and have the ability to perform all management tasks, you
t io
178 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
2. Scroll to the right within any page in Director to locate the Search users button.
3. Type a specific end user's account name or a partial account name in the Search users field and
then press Enter to locate information about matching end-user sessions.
Type HRUser1 in the search for users field, select HRUser1, and then click on the Wordpad
session to view the Activity Manager.
4. Select the appropriate end user to open the Activity Manager for that user.
Select HRUser1 and then verify that Details appears below the Search users field.
N
This step is only necessary if a "fuzzy" search was performed using the Search users
field.
ot
fo
rr
• View applications on all machines to which the end user has access.
or
• Stop an application.
di
s
2. Scroll to the right within any page in Director to select the Search field.
3. Click Search for user.
4. Type a specific end user's account name or a partial account name in the Search users field and
then press Enter to locate information about matching end user's sessions.
Type HRUser1 in the Search users field, select HRUser1, and then click Activity Manager.
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 179
5. If there are multiple sessions for the user, you will have the option to select a session.
Select Applications - HostedApps.
6. Click Activity Manager below the Search users field to view the Activity Manager.
If the Details button is displayed below the Search field, then the Activity Manager
screen is already displayed. The Activity Manager screen is white and the Details
screen is black.
7. Click the Applications tab menu in the Activity Manager to view a list of the applications and
hosted applications being run by the selected end user.
When an end user calls the Helpdesk about a slow desktop machine, you can monitor the status of
the processes on that machine without needing to start a Remote Assistance session and shadow the
ot
end user.
fo
One resolution for a process problem is to stop the process. If the process is successfully stopped, it
rr
disappears from the list of processes. If the process problems continue, you can escalate by
restarting the machine or by resetting the end user's profile.
es
al
2. Scroll to the right within any page in Director to access the Search users field.
io
3. Search for an end-user session and then click Activity Manager under the Search users field.
n
Type HRUser1 in the Search users field, select HRUser1, and then click Activity Manager.
If the Details button is displayed below the Search users field, then the Activity
Manager screen is already displayed. The Activity Manager screen is white and the
Details screen is black.
180 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
Managing an End User's Machine Power Status
Director gives you the ability to restart, shutdown, or suspend virtual machines within the
environment.
2. Scroll to the right within any page in Director to access the Search users field.
ot
3. Search for an end-user session and then click Details below the Search users field.
fo
Type HRUser1 in the Search users field, select HRUser1, and then click Details.
rr
If Activity Manager button is displayed below the Search users field, then the Details
es
screen is already displayed. The Activity Manager screen is white and the Details
screen is black.
al
e
• Restart
tri
• Force Restart
bu
• Shutdown
t
• Force Shutdown
io
• Suspend
n
• Resume
• Start
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 181
Enabling or Disabling Maintenance Mode
Maintenance mode prevents end users from launching a session to specified desktops or Delivery
Groups. If an end user has a connection, maintenance mode will not be enabled until the session is
disconnected.
2. Scroll to the right within any page in Director to access the Search users field.
N
3. Search for an end-user session that you would like to put in maintenance mode and then click
ot
Details.
Type HRUser1 in the Search users field, select HRUser1, and then click Details.
fo
rr
If Activity Manager button is displayed below the Search users field, then the Details
es
Manager screen is already displayed. The Activity Manager screen is white and the
Details screen is black.
al
e
4. Ensure that the appropriate desktop or application connection for the end user is displayed.
or
Click the machine switcher icon (Computer display icon) at the top of the Details Manager
page and then select the Hosted Applications resource from the drop-down menu.
di
s
The machine switcher icon is only available when the selected end user has multiple
tri
sessions running.
bu
t
5. Click the Maintenance mode button under Machine Details to change the mode. If you are
io
unsure if Maintenance mode is enabled or disabled, hover over the Maintenance mode button
n
182 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
Discussion Question
Can you provide examples of when Director would be useful within your organization?
2. Scroll to the right within any page in Director to access the Search users field.
e
3. Search for an end-user session whose HDX details you want to view and then click Details
or
If Activity Manager button appears instead of Details, you are already on the Details
page.
bu
t io
4. Ensure that the appropriate desktop or application connection for the user is displayed.
n
Click the machine switcher icon (Computer display icon) at the top of the Details page and
then select the HostedApplications resource from the drop-down menu.
The machine switcher icon is only available when the selected end user has multiple
sessions running.
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 183
7. Click an HDX channel preceded by a red circle or triangle to view error information for an
HDX channel.
8. Click an HDX channel preceded by a green check mark to view information for an HDX
channel that has no current alerts.
9. Click Download System Report to export HDX channel information for the session to an
.XML file.
10. Save the file to a location of your choice or open the file.
N
folder.
fo
c. Click X in Tab that is displaying the report within Internet Exlporer to close the
es
file.
al
e
You can send individual messages to end users (or as a group message) to inform them about
di
desktop maintenance or to communicate with a user directly. For example, you may want to tell
s
end users to log off before critical maintenance is about to take place to ensure they save their
tri
2. Scroll to the right within any page in Director to access the Search users field.
184 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
3. Search for an end-user session whose HDX details you want to view and then click Details
below the Search users field.
Type HRUser1 in the Search users field, press Enter, and then click Details.
If Activity Manager button appears instead of Details, you are already on the Details
page.
4. Ensure that the appropriate desktop or application connection for the end user is displayed.
Click the machine switcher icon (Computer display icon) at the top of the Details page and
then select the Hosted Applications resource from the drop-down menu.
The machine switcher icon is only available when the selected end user has multiple
sessions running.
N
ot
5. Scroll the page to the right to view the Session Details pane.
fo
Type Thank you for contacting the Helpdesk. Your issue should now be resolved.
al
8. Click Send and then verify that the message was successfully sent.
e
a. Click Send.
or
The selected end user must have an active session running in order to receive the
message. If the end user is disconnected or the session has timed out, the end user will
t io
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 185
Directory GPO. By default, only local administrators on the virtual desktop, including domain
administrators, can launch a shadowing session. To provide shadowing access to Helpdesk
administrators, you must configure an Active Directory GPO to add those administrators as remote
assistance users.
2. Scroll to the right within any page in Director to access the Search users field.
ot
3. Search for an end-user session that you want to shadow and then click Details below the
Search users field.
fo
Type HRUser1 in the Search users field, press Enter, and then click Details.
rr
es
If Activity Manager button appears instead of Details, you are already on the Details
page.
al
e
4. Ensure that the appropriate desktop or application connection for the end user is displayed.
or
Click the machine switcher icon (Computer display icon) at the top of the Details page and
di
then select the TRAINING\UserDesktop-## resource from the drop-down menu (##
s
references either UserDesktop-01 or UserDesktop-02 that are in the same Delivery Group).
tri
bu
The machine switcher icon is only available when the selected end user has multiple
sessions running.
t io
n
5. Scroll the page to the right to view the Session Details pane.
6. Click the Shadow button.
7. Open the Invite.msrcincident file that is downloaded.
186 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
If the end user does not respond within 120 seconds, the connection will fail. If the
user does not respond, click OK in the Windows Remote Assistance message, on the
system running Director, to end the shadowing request.
8. Click Request control at the top of the Windows Remote Assistance window on the system
running Director to ask the end user to allow you to take control of the keyboard and mouse
in the session.
9. Assist the end user from the system running Director and then close the Windows Remote
Assistance window to end the shadowing session.
fo
rr
Click the X in the small or full screen Windows Remote Assistance window.
es
The end user could also end the shadowing session by clicking the X in the Windows
al
Remote Assistance window displayed on the endpoint. If the administrator ends the
shadowing session closing the small Windows Remote Assistance window, they must
e
Disconnecting a session will break the connection that the end user has with their virtual desktop
bu
or application, however, the desktop or application will continue to run. When creating a new user
session, the end user will have the ability to resume their work where they were interrupted. This is
t
valuable when an end user has difficulty during a session, and may have unsaved work.
io
n
2. Scroll to the right within any page in Director to access the Search users field.
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 187
3. Search for an end-user whose session that you want to disconnect and then click Details below
the Search users field.
Type HRUser1 in the Search users field, press Enter, and then click Details.
If Activity Manager button appears instead of Details, you are already on the Details
page.
4. Ensure that the appropriate desktop or application connection for the end user is displayed.
Click the machine switcher icon (Computer display icon) at the top of the page and then
select the Hosted Applications resource from the drop-down menu.
The machine switcher icon is only available when the selected end user has multiple
sessions running.
N
ot
5. Scroll the Details page to the right and then click Session Control.
fo
Unlike disconnecting an end-user session, logging an end user off will completely log the end user
or
off the desktop or application, therefore leading to a loss of data. Once an end user is logged off of
a desktop, it will become available to other end users.
di
s tri
2. Scroll to the right within any page in Director to access the Search users field.
3. Search for an end user whose session that you want to log off and then click Details below the
Search users field.
Type HRUser1 in the Search users field, press Enter, and then click Details.
188 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
If Activity Manager appears instead of Details, you are already on the Details page.
4. Ensure that the appropriate desktop or application connection for the user is displayed.
Click the machine switcher icon (Computer display icon) at the top of the page and then
select the Hosted Applications resource from the drop-down menu.
The machine switcher icon is not visible if the selected end user only has a single
connection running.
5. Scroll the Details page to the right and then click Session Control.
6. Click Log Off to log the end user off the session.
N
Wait while the end user is logged off. Do not click Log Off again, doing so will result
ot
in an error being displayed. After the end user is logged off the session, the session
fo
Discussion Question
al
What is the difference between disconnecting a session and logging off an end user?
e
or
In Director, use the Trends page to access historical trend information for sessions, connection
s
failures, machine failures, logon performance, and load evaluation for each site. To locate the
tri
Each graph shows trend data for a specified period of time (the default is previous 24 hours) and
t
for specified Delivery Groups (default: all groups). You can also view data for a single point in time
io
by pointing your cursor to that location. Click the refresh icon at any time to update the data.
n
You can save the graph to a PDF file or save the data to a CSV file so that you can reuse the data
in other applications. When the data is exported, you can view more detailed information that was
not visible within the graph, assisting with the analysis of historical trends.
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 189
To Monitor Historical Trends
1. Logon to Director (http://server/Director) using domain administrator credentials.
4. Select specific filters to view only important information that is relative to your analysis.
N
5. Click Apply.
rr
190 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
Troubleshooting: Managing Sites, Sessions, and End Users
with Director
Issue Resolution
An error dialog is received during configuration If an error dialog box is received while
with Citrix Studio. configuring XenDesktop in Citrix Studio, a
descriptive message will display that may help
you self-diagnose the issue.
If you are unable to address the issue based on
the descriptive error message, you can select the
option in Studio: "I need help from Citrix to
solve this problem." When this option is
N
forums.
e
Unable to shadow an end-user session in 1. Ensure that the end user has an active
s
Director. session.
tri
within Director.
4. Verify that the device you are trying to
shadow accepts connections on port 3389.
The HDX Panel is not available in the Verify that the end user's machine is connected
administrator's Director. using HDX. If the end user is not connected
using HDX, then the panel will not be available.
Usage graphs are not displayed in the Ensure that the latest version of Flash is
dashboard. installed on the system running Director.
© Copyright 2016 Citrix Systems, Inc. Module 7: Managing and Monitoring Sessions, Sites, and End
Users with Director 191
Issue Resolution
An error is displayed when running Real-Time Citrix Director requires that WinRM 1.1 or later
reports. be installed and enabled on the desktop
machine.
task. Instead, you are asked to use what you have learned to complete it. This exercise is
ot
designed to take your newly-acquired knowledge and determine if you can apply it to
perform a task you have never done before. In most instances the default value will be the
fo
best choice, but we encourage you to explore and try different options. If you have a
question or need help, ask the instructor or a fellow student for assistance.
rr
• Logon to the EndPoint-Internal virtual machine using the HRUser1 and Password1 credentials.
tri
Password1 credentials.
t
You want to explore some more of the options that Director can offer Training.
To complete your objective:
• Use Director to restart the machine used by the HRUser1 user.
• View the results of issuing the command:
• Watch the virtual machine restart in Citrix XenCenter.
• View the results on the EndPoint-Internal virtual machine.
• On the EndPoint-Internal virtual machine logon again to HR Desktop using the
TRAINING\HRUser1 credentials once the machine has finished restarting.
• Reset the Personal vDisk of the HR Desktop for the TRAINING\HRUser1.
192 Module 7: Managing and Monitoring Sessions, Sites, and End Users with Director © Copyright
2016 Citrix Systems, Inc.
8
Module 8
Managing Printing
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
The lab environment Student Desktop has two management consoles. You will use both
al
is the preferred method to logging in and interacting with your virtual machines. Citrix
or
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
ISO's.
di
Before you begin, your must ensure these following lab environment core virtual machines
s
• Controller-1
bu
• DomainController-1
• SQLServer-1
t io
• StoreFrontServer-1
n
• StudentManagementConsole-1
• UniversalPrintServer-1
To conserve resources all other core lab environment virtual machines that are not a part
of a machine catalog may be powered down. Powering down machine catalog virtual
machines is not favored as it could impact future session launch times.
All lab environment virtual machines are power managed through XenCenter. To change
the power state of a lab environment virtual machine, complete the following steps:
1. Select the virtual machine within XenCenter.
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
By default, if you do not configure any policy rules, XenApp and XenDesktop printing behaviors
fo
are as follows:
rr
• All printers configured on the end-user device are created automatically at the beginning of
es
each session. This behavior is equivalent to configuring the Citrix policy setting Auto-create
client printers with the Auto-create all client printers option.
al
• XenApp and XenDesktop route all print jobs queued to printers locally attached to end-user
e
• XenApp and XenDesktop route all print jobs queued to network printers directly from Server
OS machines. If XenApp and XenDesktop cannot route the jobs over the network, they will
di
route them through the end-user device as a redirected client print job.
s
• XenApp and XenDesktop uses the Windows version of the printer. If the printer driver is not
tri
available, XenApp and XenDesktop attempts to install the driver from the Windows operating
bu
system. If the driver is not available in Windows, they use a Citrix Universal Printer Driver.
• The Universal Print Server is disabled.
t io
n
XenApp and XenDesktop policies specify the client printers that are made available for end-user
n
sessions. You can control the number and type of printers that are made available, along with
customizing printer settings and options.
Within client-based printing policies, you can configure options such as client printer auto-creation,
client printer redirection, printer property retention, print mapping, and other settings.
2. Click Tools in Server Manager and then click Group Policy Management to open the Group
N
3. Select the organizational unit to which you want to apply the policy.
fo
Expand Forest: Training.lab > Domains > Training.lab > Training Users > Human
Resources.
rr
4. Right-click the OU and then click Create a GPO in this domain, and Link it here.
es
Right-click Human Resources and then click Create a GPO in this domain, and Link it
al
here.
e
5. Type a name for the new Group Policy Object and then click OK.
or
Type Print Settings in the Name field and then click OK.
di
6. Click the OU containing the policy, right-click the GPO to which you want to add settings in
s tri
the Linked Group Policy Objects tab and then click Edit.
bu
Click the Human Resources OU, right-click Print Settings in the Linked Group Policy
Objects tab, and then click Edit.
t io
8. Click Edit in the right pane to add settings to the unfiltered Citrix User Policy.
If you select Edit, you are adding new settings to the Unfiltered policy. If you select
New, you are creating a new policy and can filter that policy to determine to which
objects the policy will apply.
12. Select the desired value for the setting in the Value field and then click OK.
Select Auto-create the client's default printer only and then click OK.
a. Select the Group Policy Objects OU, select the Print Settings policy, and drag it to
the Training Users > Engineering OU.
fo
This step is only necessary if you want to apply an existing policy to another OU.
es
al
e
or
Discussion Question
di
When a Windows-native driver is not available and the Citrix universal print driver is not being
s
By default, network printers on the end-user device are created automatically at the beginning of
n
sessions. XenApp and XenDesktop enable you to reduce the number of network printers that are
enumerated and mapped by specifying the network printers to be created within each session.
Network printers created within the session printers setting can vary according to where the session
was initiated by filtering on objects such as subnets. This feature enables you to control the
assignment of network printers so that the most appropriate printer is presented to the end-user,
based on the location of the end-user device (also known as Proximity Printing).
2. Click Tools in Server Manager and then click Group Policy Management to open the Group
Policy Management Console.
3. Select the organizational unit to which you want to apply the policy.
Expand Forest: Training.lab > Domains > Training.lab > Training Users.
4. Right-click the OU and then click Create a GPO in this domain, and Link it here.
Right-click Training Users and then click Create a GPO in this domain, and Link it here.
N
ot
5. Type a name for the new Group Policy Object and then click OK.
Type Session Printers in the Name field and then click OK.
fo
rr
6. Click the OU containing the newly created policy, right-click the GPO to which you want to
add settings in the Linked Group Policy Objects tab, and then click Edit.
es
Click Training Users, right-click Session Printers in the Linked Group Policy Objects tab
al
8. Click New in the right pane to launch the New Policy wizard.
di
If you select Edit, you are adding new settings to the Unfiltered policy. If you select
s
New, you are creating a new policy and can filter that policy to determine to which
tri
You are creating a new policy so that filters can be applied at a later time should you decide
t io
9. Type a name for the new policy or leave the field blank and then click Next.
Type Citrix Session Printers in the Name field and then click Next.
10. Type a setting name or a word contained in the setting to filter the Settings list.
Type Session printers in the Search field.
You could also scroll through the categories of settings in the Categories field to find
the required setting.
a. Type \\UPS-1 into the Printer UNC path and then click Browse.
b. Expand Entire Network > UPS-1.
c. Click Accounting to add the Accounting printer.
d. Click OK.
You could also type the UNC path to the printer directly into the Printer UNC path
field and then click OK.
N
ot
14. Click OK after all desired network printers are added to the Session printers list.
fo
Click Next.
es
al
You will not be adding any filters at this time. If you wanted to enable proximity
e
printing, you could assign session printers to end users based on the Client IP address
filter. Session printers are an optimal configuration for scenarios where users roam
or
between locations using the same device (laptop, tablets) or where thin clients are used
because they do not have the ability to connect to network-based printers directly.
di
s
There are three options for managing printer driver usage within XenApp and XenDesktop policies:
• Automatic installation of in-box printer drivers
• Universal Printer Driver preference
• Universal Printer Driver usage
Using these features, you can control the way end-user sessions use specific printer drivers as well
as configure the Citrix Universal Printer driver settings.
2. Click Tools in Server Manager and then click Group Policy Management to open the Group
N
3. Select the organizational unit to which you want to apply the policy.
fo
Expand Forest: Training.lab > Domains > Training.lab > Training Users.
rr
4. Right-click the OU and then click Create a GPO in this domain, and Link it here.
es
Right-click Training Users and then click Create a GPO in this domain, and Link it here.
al
5. Type a name for the new Group Policy Object and then click OK.
e
Type Disable Auto-Install of Printer Drivers in the Name field and then click OK.
or
6. Click the OU containing the newly created policy, right-click the GPO to which you want to
di
add settings in the Linked Group Policy Objects tab, and then click Edit.
s
Click Training Users, right-click Disable Auto-Install of Printer Drivers in the Linked
tri
You could also scroll through the categories of settings in the Categories field to find
the required setting.
While you added multiple settings to the unfiltered Citrix User Policy in previous
procedures, the reason that you do not see them now is because they were applied to a
different OU in the environment.
driver name. During client printer auto-creation, Windows server printer driver names are selected;
these names correspond to the printer model names provided by the client. The auto-creation
ot
process then uses identified, available printer drivers to construct redirected client print queues.
fo
If the client driver is different to the driver name on the server it can prevent mapping
rr
When you define these rules, you can allow or prevent printers from being created with the specific
driver. Additionally, you can allow created printers to use only the Universal Printer Driver.
e
You can add a driver mapping, edit an existing mapping, or override custom settings.
or
di
1. Logon to a virtual machine that has Citrix Studio and the Group Policy Management feature
bu
2. Click Tools in Server Manager and then click Group Policy Management to open the Group
Policy Management Console.
3. Browse to the OU containing the Group Policy Objects.
Expand Forest: Training.lab > Domains > Training.lab > Group Policy Objects.
4. Right-click the policy to which you want to add new settings and then click Edit.
Right-click the Print Settings policy and then click Edit.
If you select Edit, you are adding new settings to the Unfiltered policy. If you select
New, you are creating a new policy and can filter that policy to determine to which
objects the policy will apply.
You could also scroll through the categories of settings in the Categories field to find
the required setting.
Click Add to the right of the Printer driver mapping and compatibility setting.
fo
e. Click OK.
or
di
You could also click the Find Driver button to search for the desired printer driver. If
you have printer drivers already configured, you can use those drivers.
s tri
bu
The new setting in the unfiltered policy is displayed in the Active Settings pane of the
Group Policy Management Editor.
n
1. Logon to a virtual machine that has Citrix Studio and the Group Policy Management feature
ot
2. Click Tools in Server Manager and then click Group Policy Management to open the Group
es
Expand Forest: Training.lab > Domains > Training.lab > Training Users.
or
4. Right-click the OU and then click Create a GPO in this domain, and Link it here.
di
Right-click the Training Users and then click Create a GPO in this domain, and Link it
s
here.
tri
5. Type a name for the new policy and then click OK.
bu
Type Printer Optimizations in the Name field and then click OK.
t
io
6. Right-click the policy in the Linked Group Policy Objects tab and then click Edit.
n
If you select Edit, you are adding new settings to the Unfiltered policy. If you select
New, you are creating a new policy and can filter that policy to determine to which
objects the policy will apply.
You could also scroll through the categories of settings in the Categories field to find
the required setting.
Click Add to the right of the Universal printing print quality limit setting.
fo
The new settings in the unfiltered policy are displayed in the Active Settings pane of
the Group Policy Management Editor.
or
di
While you added multiple settings to the unfiltered Citrix User Policy in previous
s
procedures, the reason that you do not see them now is because they were applied to a
tri
Discussion Question
End users are experiencing substantial network latency when attempting to print high quality
images used for marketing campaigns. What policies should be adjusted or implemented to resolve
this? Which policies would you want to avoid?
N
ot
fo
rr
es
al
e
or
1. Logon to a virtual machine that has Citrix Studio and the Group Policy Management feature
s tri
2. Click Tools in Server Manager and then click Group Policy Management to open the Group
n
4. Right-click the OU and then click Create a GPO in this domain, and Link it here.
Right-click the Training Virtual Desktops and then click Create a GPO in this domain,
and Link it here.
6. Right-click the policy in the Linked Group Policy Objects tab and then click Edit.
Right-click the Universal Printing policy and then click Edit.
If you select Edit, you are adding new settings to the Unfiltered policy. If you select
N
New, you are creating a new policy and can filter that policy to determine to which
ot
10. Type a setting name or a word contained in the setting to filter the Settings list.
es
You could also scroll through the categories of settings in the Categories field to find
e
Click Add to the right of the Universal Print Server enable setting.
tri
12. Specify the desired values for the setting and then click OK.
bu
Select Enabled with fallback to Windows' native remote printing in the Value field and
t
The new settings in the unfiltered policy are displayed in the Active Settings pane of
the Group Policy Management Editor. While you added multiple settings to the
unfiltered Citrix User Policy in the previous procedure, the reason that you do not see
them now is because this policy setting is a Citrix Computer Policy rather than a
Citrix User Policy.
Issue Resolution
Cannot update printer drivers. Citrix recommends that you never update a
printer driver. Always uninstall a driver, restart
the print server, and install the replacement
driver. This helps ensure consistency and
decreases the chance that issues with existing
drivers are transferred to the updated drivers.
Printers that are no longer used or no longer Verify that all unused drivers are uninstalled to
exist are being created. prevent this.
N
The Universal Print Server does not appear. • Verify that the Universal Print Server is
ot
enabled.
• Ensure that the operating system is
fo
During this exercise, you will not be given step-by-step instructions for performing the
task. Instead, you are asked to use what you have just learned to complete it. This exercise
or
is designed to take your newly-acquired knowledge and determine if you can perform a
task you have never done before. In most instances the default value will be the best
di
choice, but we encourage you to explore and try things out. If you have a question or need
s
• Ensure the Satellite Office Users Print policy has a higher priority than the Local Users print
or
policy.
di
Managing
Provisioning
Services
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
The lab environment Student Desktop has two management consoles. You will use both
es
XenCenter is the preferred method to managing power tasks, mounting and un-mounting
e
ISO's.
or
Before you begin, your must ensure these following lab environment core virtual machines
are powered on:
di
• Controller-1
s
• DomainController-1
tri
• EndPoint-Internal-1
bu
• ProvisioningServicesHost-1
t
• SQLServer-1
io
• StoreFrontServer-1
n
• StudentManagementConsole-1
To conserve resources all other core lab environment virtual machines that are not a part
of a machine catalog may be powered down. Powering down machine catalog virtual
machines is not favored as it could impact future session launch times.
All lab environment virtual machines are power managed through XenCenter. To change
the power state of a lab environment virtual machine, complete the following steps:
1. Select the virtual machine within XenCenter.
2. Click on either the Start or Shutdown button on the top-right of the XenCenter.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 215
Citrix Provisioning Services
Provisioning Services provides the ability to provision the operating system of a computer and re-
provision it in real time. Administrators can choose from a one-to-one relationship between the
Provisioning Services host and the target device or a one-to-many relationship, starting multiple
target devices from a single shared-disk image. In doing so, you can completely eliminate the need
to manage and update individual systems, allowing changes made to one disk to be deployed to
multiple target devices simultaneously.
Provisioning Services is based on software-streaming technology. After installing and configuring
Provisioning Services components, a vDisk is created from the hard drive of a device by taking a
snapshot of the operating system and application image, and then storing that image as a VHD file
on the network.
vDisks can exist on a Provisioning Services host, file share, or in larger deployments, on a storage
system with which the Provisioning Services host can communicate, such as iSCSI, NFS, and CIFS.
N
vDisks can be assigned to a single target device in private image mode, or to multiple target devices
in standard image mode.
ot
fo
Citrix XenApp and XenDesktop contains improvements to both the Machine Creation Services
(MCS) and Provisioning Services (PVS) features.
al
XenApp and XenDesktop sites can now be deployed and managed from within Studio. Sites can
e
also be provisioned using the MCS linked-clone delivery model. MCS allows new machine catalogs
containing virtual desktops and Server OS machines to be created with ease.
or
The Machine Creation Services model provides many of the same single-image management
di
benefits of Provisioning Services, but works directly on the storage managed by your hypervisor, so
s
Provisioning Services provides enhanced image management capabilities and storage I/O
bu
optimizations beneficial in larger, more complex environments. Provisioning Services can provide a
centralized image library for mixed environments where multiple XenApp and XenDesktop sites are
t io
used.
n
Your implementation may require you to migrate your virtual machines from Machine Creation
Services to Provisioning Services. This will allow you to use the machines that you created using
Machine Creation Services and deploy and manage those using Provisioning Services.
216 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
Provisioning Services Overview and Architecture
N
ot
fo
rr
es
When a target device is turned on, it is set to start from the network and to communicate with a
al
Provisioning Services host. The target device downloads the startup file from a TFTP server, and
e
then the target device starts up. Based on the device start up configuration settings, the appropriate
vDisk is located, and then mounted by a Provisioning Services host. The software on that vDisk is
or
Instead of immediately pulling all the vDisk content down to the target device, the data is brought
s
across the network in real time, as needed. The Provisioning Services host provides blocks of data
tri
from the vDisk as they are requested by the operating system, in the same way that the operating
system would normally request them from its hard drive. This approach allows a target device to
bu
load a completely new operating system and software from the vDisk in the time it takes to restart.
This approach dramatically decreases the amount of network bandwidth required by traditional
t io
disk imaging tools; making it possible to support a larger number of target devices on your network
n
without impacting overall network performance, although a dedicated storage network could be
required for larger implementations.
Discussion Question
What are the components that comprise a Provisioning Services farm? What would happen if the
SQL database of the Provisioning Services farm failed?
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 217
Navigating the Provisioning Services Console
The Provisioning Services Console is used for viewing and managing sites, servers, connections, and
performing tasks such as assigning vDisk to target devices, managing stores, creating device
collections and more.
4. Specify the hostname name of the Provisioning Services server in the Name field and then click
fo
Connect.
rr
5. Double-click the farm node in the left pane of the Provisioning Services Console to expand it.
al
You could also expand a node by clicking the arrow to the left of the node.
or
di
s
6. Double-click the Sites node in the left pane of the Provisioning Services Console to expand it.
tri
bu
The Sites node can contain multiple sites. Each site contains the servers, vDisk pools,
device collections, and settings for the resources defined in that site. In our lab
t
8. Click the Servers node in the left pane of the Provisioning Services Console to expand it and
view information about the Provisioning Services servers in the implementation.
The green icon next to the server name indicates the PVS-1 virtual machine is
currently online and in an UP state.
218 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
9. Double-click the Device Collections node in the left pane of the Provisioning Services Console
to expand it and view the collections that are currently defined.
10. Double-click the Stores node in the left pane of the Provisioning Services Console to view the
stores that are currently defined.
The names of the individual sites, device collections, and stores can be changed by
right-clicking the node and selecting Properties. The name of the farm cannot be
changed.
12. Click the Paths tab and select the appropriate path for the default store.
Click the Paths tab and type E:\PVS into the Default store path field.
N
Click Validate, verify "Valid" is listed as the status, and click Close.
fo
14. Click OK and then click OK on the Write Cache Path window.
rr
es
a. Open XenCenter.
b. Right-click Win8_template in XenCenter and then click Quick Create.
di
s
2. Right-click the newly created virtual machine and then click Properties.
tri
3. Type a new name for the virtual machine in the Name field and then click OK.
t io
4. Click the Console tab in XenCenter for the newly created virtual machine and wait for the VM
to start.
5. Select the appropriate options on the Region and language screen and then click Next.
Click Next to accept the default options.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 219
7. Type a name for the computer in the PC name field and then click Next.
Type Win8-PVS in the PC name field and then click Next.
11. Specify a username, password and password hint information for the new local account and
then click Finish.
N
ot
d. Click Finish.
es
12. Wait whil the virtual machine completes its setup. Click on the Start button to get to the Start
al
screen.
e
13. Type This PC at the Start screen, right-click This PC, and then select Properties.
or
16. Type the credentials of a domain administrator into the User name and Password fields and
bu
220 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
To Install the Virtual Delivery Agent (VDA)
1. Logon to the virtual machine that will be used as the Master Target Device for Provisioning
Services using domain administrator credentials.
Logon to the Win8-PVS-Master virtual machine using the TRAINING\Admin1 and
Password1 credentials.
2. Insert the XenApp and XenDesktop installation media into the DVD drive.
Select XenApp_and_XenDesktop7_6.iso in the DVD Drive 1 field.
3. Click Desktop on the Start screen and then click the File Explorer icon.
4. Select This PC and then double-click CD Drive (D:) XA and XD 7.6.
8. Determine how you want the Virtual Delivery Agent to be configured on the virtual machine
al
Verify that Create a Master Image is selected and then click Next.
or
This option is selected because we are installing the VDA on a Master Image. For
di
9. Determine which Virtual Delivery Agent to install on the virtual machine and then click Next.
bu
Select No, install the standard VDA and then click Next.
t io
10. Select the core components to install during the Virtual Delivery Agent installation and then
n
click Next.
Verify that Citrix Receiver is selected and then click Next.
11. Determine how the Delivery Controllers in the environment will be identified and then click
Next.
a. Select Do it manually, type c-1.Training.lab, click Test Connection and then click
Add.
b. Click Next.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 221
For production Provisioning Services deployments it is recommended to use Active
Directory group policy to specify the controller location. This will allow controllers to
be changed or added without having to update the image. A minimum of two
controllers should be utilized to prevent a single point of failure in the environment.
13. Determine how the firewall rules will be configured and then click Next.
Verify Automatically is selected and then click Next.
These are the default ports used by the Controller. If you need to use different ports,
select Manually and then configure the respective ports after the installation
completes.
N
ot
14. Review the prerequisites and the components selected for installation on the Summary screen
and then click Install.
fo
The virtual machine will restart automatically after the prerequisites and components
es
are installed.
al
e
Do not shut down the virtual machine or eject the installation media until the virtual
machine restarts successfully. If the installation of the VDA or the restart of the virtual
di
machine is interrupted, vDisks created from the Master Target Device will not register
s
with XenDesktop.
tri
Click Eject to the right of the DVD Drive 1 field to eject the installation media.
t io
n
222 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
To Convert the Hard Drive of the Master Target Device to a
vDisk
1. Logon to the Master Target Device using your domain administrator credentials.
Logon to Win8-PVS-Master using the TRAINING\Admin1 and Password1 credentials.
3. Click Desktop on the Start screen and then click the File Explorer icon.
4. Select This PC and then double-click CD Drive (D:) PVS_7.6.
Select I accept the terms in the license agreement and then click Next.
al
8. Type the customer information in the appropriate field, determine for whom the application is
e
12. Verify that Launch Imaging Wizard is selected and then click Finish.
n
15. Determine whether a new or existing vDisk will be used and then click Next.
Verify Create new vDisk is selected and then click Next.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 223
16. Type a name for the new vDisk.
Type Win8vDisk.
The Fixed vDisk type allocates 100% of the space allocated for the vDisk immediately.
The Dynamic vDisk type allocates space as it is needed. A Dynamic vDisk starts out
small and then grows up to the maximum amount of space allocated as it is needed.
18. Select the Volume Licensing method to be used with the vDisk and then click Next.
Select Key Management Service (KMS) and then click Next.
19. Define the size of each volume and then click Next.
N
20. Type a name for the target device and then click Next.
fo
21. Click Optimize for Provisioning Services, click OK, and then click Finish.
22. Click No in the Reboot message and then click No again.
al
e
23. Click the General tab for the Master Target Device VM in XenCenter and then click
s
Properties.
tri
Click Win8-PVS-Master in XenCenter, click the General tab, and then click Properties.
bu
t
26. Right-click the Master Target Device VM in XenCenter and then click Reboot.
Right-click Win8-PVS-Master and then click Reboot.
224 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
27. Click Yes in the Reboot VM message.
28. Logon to the Master Target Device VM using your domain administrator credentials.
Logon to Win8-PVS-Master VM using the TRAINING\Admin1 and Password1
credentials.
After you Logon, you will see the XenConvert progress window for the vDisk capture
process. Do not restart the VM until the XenConvert process completes. This process
takes around approximately 5 to 10minutes (If process takes less that 2 minutes than
it may have failed; please advise your instructor).
29. Wait while the XenConvert process completes and then click Finish.
30. Shut down the Master Target Device VM.
Right-click Win8-PVS-Master, click Shut Down, and then click Yes to confirm.
N
32. Logon to the machine hosting the Provisioning Services Console using the domain
administrator credentials.
fo
rr
34. Type the NetBIOS name or IP address of the first Provisioning Services server in the Name
e
35. Double-click the farm name > Sites > site name > vDisk Pool in the left pane of the
s
If the vDisk does not appear, right-click vDisk Pool and then click Refresh.
a. Double-click Device Collections > Windows 8 in the left pane of the Provisioning
Services Console.
b. Verify that Win8TD is listed.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 225
If the target device does not appear, right-click the collection and then click Refresh.
a. Right-click Win8TD and then click Active Directory > Create Machine Account.
b. Select Training Virtual Desktops/Desktops in the "Organizational Unit" drop
down.
c. Click Create Account, verify the status is listed as "Success", and then click Close.
.
ot
40. Double-click Stores > store name in the left pane of the Provisioning Services Console.
fo
If the vDisk does not appear, right-click the store name and then click Refresh.
or
di
s tri
In order to understand the vDisk mode, you must first understand the concept of VHD types.
t
There are two types of VHD files: static and dynamic. A static VHD file will physically be the full
io
size of the configured vDisk. A dynamic VHD file will only be as large as the amount of data
n
written to the vDisk. You can set the VHD type during the XenConvert process.
For example, if you configure a VHD file for 40 GB, but install only 10 GB of operating system and
applications on it and then set the type as static, the VHD will have a foot print of 40 GB. If you set
the 40 GB VHD file as dynamic, it will have a foot print of 10 GB. Target devices will see a 40 GB
hard drive regardless of the type of VHD file to which they connect.
A vDisk can be placed in one of two modes: standard or private. Only one mode can be applied to
a vDisk at a time. Any vDisk can be changed from one mode to another as long as there are no
current connections to the vDisk. You set the vDisk mode in the Properties of the vDisk using the
Provisioning Services Console.
226 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
A vDisk in private image mode is read/write. In private image mode, only one target device can
start up from the vDisk at a time, and that vDisk is most likely dedicated to a specific target device.
Because a private vDisk is read/write, there is no need for a write-cache; all system write backs are
written directly to the VHD file.
A vDisk in standard image mode is read only. In standard image mode, multiple target devices can
start up from the same vDisk. Because a vDisk in standard image mode is read only, it requires a
write cache file for each started target device.
The write-cache contains the information that the system would typically write back to a hard
drive. If the hard drive is read only, you need to have a place for the write back information. As a
general rule, a write-cache size of 300 - 500 MB per end user should cover mostly text-based
workloads and daily restarts. Graphic-based workloads will require a considerably larger write
cache. The size of the write cache should be determined using a workload analysis for the
organization. If the write cache is placed on the local disk of each Provisioning Services server,
there may not be a smooth transition to the remaining Provisioning Services servers in the event of
failover, because the write cache will be inaccessible. Therefore, server-side caching on the local disk
N
is not recommended for fault tolerance. Target device RAM provides the best performance for the
ot
Dynamic VHD is best when a vDisk is configured in standard image mode. Static VHD is best
when a vDisk is configured in private image mode. When the appropriate mode is selected, an
administrator can appropriately expect and manage the growth of the vDisk footprint.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 227
To Set the vDisk Mode
1. Logon to the Provisioning Services VM using domain administrator credentials.
Logon to StudentManagementConsole-1 using the TRAINING\Admin1 and Password1
credentials.
4. Double-click the farm name > Stores > store name to display the contents of the store.
Double-click Training (PVS-1) > Stores > Store.
N
Click Standard Image (multi-device, read-only access) in the Access mode field.
es
7. Specify the cache type on the General page and then click OK.
al
Click Cache in device RAM with overflow on hard disk in the Cache type field and then
e
click OK.
or
You cannot manage the vDisk properties if the vDisk is in use by any target device.
di
The vDisk will appear locked and must first be unlocked. Unlocking a vDisk that is in
s
use by any device runs the risk of corrupting data on the vDisk.
tri
bu
The XenDesktop Setup Wizard can be used to create machine catalogs of target devices from the
n
Master Target Device and Provisioning Services. Machine catalogs created with the XenDesktop
Setup Wizard are displayed in Citrix Studio and are managed like machine catalogs created using
Machine Creation Services.
The Provisioning Services Streamed VM Setup Wizard assists in deploying a Provisioning Services
streamed vDisk to a number of cloned virtual machines (VMs). The wizard is run directly from a
Provisioning Services Console, for the purpose of creating virtual machines as well as the associated
Provisioning Services target devices, and assigning a shared vDisk to the virtual machines.
The XenDesktop Setup Wizard assists in deploying virtual desktops to a number of cloned virtual
machines (VMs) as well as to devices using the Personal vDisk feature. This wizard creates virtual
machines, associates Provisioning Server target devices to those machines, assigns a standard image
228 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
vDisk, and then adds all virtual desktops to a XenDesktop catalog. Using this wizard, can save you
valuable time when mass deploying virtual desktops using XenDesktop and XenApp.
You are using an existing template to simplify the template creation process. Use
Citrix XenCenter for steps 1 through 9.
fo
rr
2. Click the template in XenCenter and then click the General tab.
es
Click the TD with no storage_template VM in XenCenter and then click the General tab.
al
3. Click Properties.
e
5. Move Network to the top of the list to force the VM to start up from the network instead of
from the hard drive and then click OK.
di
s
Click Move Up until the Network option is at the top of the list; deselect DVD-Drive
tri
and Hard Disk. Ensure Network is still selected and then click OK.
bu
t
7. Click OK.
n
8. Click the Storage tab to remove the hard drive from the target device so you can use PXE or
BDM to start and use a vDisk.
9. Select the virtual disk, click Delete, and then click Yes in the Delete System Disk message.
Select the storage in Position 0, click Delete, and then click Yes in the Delete System Disk
message.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 229
To Create the Machine Catalog
1. Logon to the Provisioning Services VM using domain administrator credentials.
Logon to StudentManagementConsole-1 using the TRAINING\Admin1 and Password1
credentials.
5. Right-click the site name and then click XenDesktop Setup Wizard.
ot
7. Type the name of a Delivery Controller in the XenDesktop Controller address field and then
es
click Next.
Type C-1.Training.lab and then click Next.
al
e
9. Type the Logon credentials of the host (XenServer) and then click OK.
s
Use the XenServer credentials provided with the lab environment to complete the User
tri
10. Select a VM template to use for the Master Target Devices and then click Next.
t io
11. Select a Standard image mode vDisk and then click Next.
Select Store\Win8vDisk and then click Next.
12. Determine if a new or existing catalog will be used and then click Next.
Select Create a new catalog, type Win8PVS in the Catalog name field, and then click Next.
13. Specify the type of operating system machines to create in the catalog and then click Next.
Select Windows Desktop Operating System and then click Next.
230 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
You must be careful to select the correct type of desktop at this point. Selecting the
incorrect OS will result in an unusable machine catalog.
14. Select the appropriate desktop type for your users and then click Next.
Select A fresh new (random) desktop each time and then click Next.
15. Specify the virtual machines preferences for vCPUs, memory, Personal vDisk size and drive
letter, and startup mode, and then click Next.
f. Click Next.
fo
16. Determine whether to use existing Active Directory accounts or to create new ones for the new
rr
target device machines in the machine catalog and then click Next.
es
Verify that Create new accounts is selected and then click Next.
al
If you are creating new accounts, you must specify the OU where they should be
e
created. The Active Directory organizational units must be created before you
or
17. Specify the domain and OU to which the new target devices in the machine catalog will be
added in Active Directory.
s tri
Select Training.lab in the Domain field and then double-click Training.lab > Training
Virtual Desktops > Desktops.
bu
18. Determine the account naming scheme and then click Next.
t io
Type Windows8-##, verify that the 0-9 enumeration scheme is selected, and then click
n
Next.
This will be the naming scheme associated with the target devices that will use the
Win8vDisk vDisk.
19. Click Finish and wait for the VMs (target devices) to be created in the machine catalog.
20. Verify that the new target devices appear in XenCenter and then click Done.
Verify that Windows8-01 and Windows8-02 appear in XenCenter and then click Done.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 231
21. Double-click the Citrix Studio icon on the desktop and then click Yes on the User Account
Control window if it appears.
22. Click Machine Catalogs and then verify that the newly created catalog appears.
Click Machine Catalogs and verify that Win8PVS appears in the list.
Discussion Question
What is the purpose of the Master Target Device and the target device within Provisioning
Services?
N
ot
1. Logon to the virtual machine hosting Citrix Studio using domain administrator credentials.
es
2. Open Studio.
or
3. Select Delivery Groups in the left pane and then click Create Delivery Group in the right
pane.
s tri
If the Create Delivery Group option is not available, make sure the Delivery Group tab
bu
5. Select a machine catalog, determine the number of machines in the catalog that is Delivery
Group will consume, and then click Next.
Select Win8PVS, type 2 in the number of machines to add field, and then click Next.
6. Select the resource to deliver in the Delivery Type screen and then click Next.
Select Desktops and then click Next.
7. Click the Add button to specify which end users can access the desktops.
232 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
8. Type the name of the end user or group, click Check Names and then click OK.
Type Domain Users in the Enter the object names to select field, click Check Names, and
then click OK.
9. Verify that the appropriate end users and groups appear in the Assign users field and then
click Next.
Verify that TRAINING\Domain Users appears and then click Next.
10. Determine how Receiver will be configured on the machines and click Next.
Select Manually, using a StoreFront server address that I will provide later and then click
Next.
12. Type a name for the Delivery Group that administrators will see in the Delivery Group name
field.
fo
13. Type a name for the Delivery Group that end users will see in the Display name field.
es
Type Windows 8.
al
e
Discussion Question
di
s
Upon assigning machine catalogs to a Delivery Group, end users of the Delivery Group are unable
tri
to access their desktops or applications. What can be the cause of this issue?
bu
t
To Update a vDisk
io
n
1. Logon to a virtual machine that has the Provisioning Services Console installed using domain
administrator credentials.
Start the StudentManagementConsole-1 virtual machine and then Logon using the
TRAINING\Admin1 and Password1 credentials.
2. Click the Provisioning Services Console icon on the Start screen and then click Connect.
3. Browse to a site in the Provisioning Services Console.
Double-click Training (PVS-1) > Sites > Miami.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 233
4. Click the vDisk Pool node, right-click a vDisk in the right pane, and then click Versions.
Click vDisk Pool, right-click Win8vDisk in the right pane, and then click Versions.
If the vDisk does not appear, right-click vDisk Pool and then click Refresh.
9. Right-click the virtual machine associated with the target device that you put in Maintenance
mode and then start or restart the virtual machine.
rr
Right-click the Win8-PVS-Master virtual machine in XenCenter and then click Start.
es
al
11. Wait while the virtual machine restarts and then select the target device that you put in
s
Maintenance mode from the Boot Menu in the console of the virtual machine.
tri
Type 1 in the console of the Win8-PVS-Master virtual machine and then press Enter.
bu
t io
n
234 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
12. Logon as an administrator and make the desired changes to the virtual machine.
Perform the following changes to the virtual machine:
a. Logon to the Default Desktop using the TRAINING\Admin1 and Password1
credentials.
b. Type \\AD\Share in the Start screen and then press Enter.
c. Double-click Firefox Setup and then click Run.
d. Click Yes on the User Account Control window if it appears.
e. Click Install.
f. Select Don't import anything and then click Next. Firefox will launch.
g. Deselect Always perform this check when starting Firefox in the "Default
Browser" prompt and click Not now.
h. Close Firefox.
N
13. Right-click the virtual machine in XenCenter, click Shut Down and then click Yes in the Shut
ot
Right-click the Win8-PVS-Master virtual machine in XenCenter, click Shut Down, and
then click Yes in the Shut Down virtual machine message.
rr
es
An updated version of the vDisk is not available to production devices until it is promoted to
or
production. The updated promotion stages include maintenance, test, and production. Each time a
new version is created, the Access setting is automatically set to maintenance to allow maintenance
di
devices to make updates. After updates are complete, this version can be promoted from
s
maintenance to test to allow for testing by test devices, or directly to production, for use by all
tri
target devices.
bu
1. Logon to a virtual machine that has the Provisioning Services Console installed using domain
administrator credentials.
Start the StudentManagementConsole-1 virtual machine and then Logon using the
TRAINING\Admin1 and Password1 credentials.
2. Double-click the Provisioning Services Console icon on the Start screen and then click
Connect.
3. Browse to a site in the Provisioning Services Console.
Double-click Training (PVS-1) > Sites > Miami.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 235
4. Click the vDisk Pool node, right-click a vDisk in the right pane, and then click Versions.
Click vDisk Pool, right-click Win8vDisk in the right pane, and then click Versions
5. Select the latest version of the vDisk and then click Promote to promote the updated version
of the vDisk.
Select version 1 and then click Promote.
6. Select the version access and availability time frame and then click OK.
Select Production, select Immediate, and then click OK.
7. Click Done.
Click Cancel if the End Snap-in window appears and then click Done.
8. Start or restart a target device to test that the update was successful.
N
Discussion Question
es
What are the benefits of updating and merging a vDisk over traditional re-creation of images?
al
e
A vDisk consists of a VHD base image file, any associated files, and if applicable, a chain of
referenced VHD differencing disks. Differencing disks are created to capture the changes made to
s
the base disk image, leaving the original base disk unchanged. Each differencing disk that is
tri
236 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
N
ot
fo
rr
es
al
e
or
di
s tri
vDisk versions are created and managed using the vDisk versions dialog box and by performing
bu
vDisk versioning tasks. Each time a vDisk is put into maintenance mode a new version of the VHD
differencing disk is created and the file name is numerically incremented.
t io
n
A merge can only occur when no Maintenance version exists for this vDisk or when the
vDisk is in Private Image mode. A merge starts from the top of the chain down to a base
disk. A starting disk cannot be specified for the merge.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 237
Merging to a new base image is recommended when performance is more important than disk
space, because a new base disk is created for every merge performed.
Merging to a consolidated differencing disk is recommended when disk storage is limited or when
the bandwidth between remote locations is limited, which makes copying large images impractical.
2. Click the Provisioning Services Console icon on the Start screen and then click Connect.
N
3. Click the vDisk Pool node, right-click a vDisk in the right pane, and then click Versions.
ot
Click vDisk Pool, right-click Win8vDisk in the right pane, and then click Versions.
fo
5. Select the type of merge version you want to create and the merge version access type.
es
6. Click OK to begin the merge process; click OK when the merge process is complete, and then
e
The merge process may take up to 5 minutes to complete. The time it takes to
complete the merge process varies based on the merge method selected and the
di
number of differencing disks to merge. After the merge successfully completes, the
s
new version displays in the vDisk Versions dialog box. The Type column displays
tri
either "Merged Base" if a full merge was selected, or "Merge" is a partial merge was
selected.
bu
t io
Issue Resolution
Streamed Services stops running. Set the service to automatically restart on
failure.
238 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
Issue Resolution
End-user machine is not receiving an IP address Verify that DHCP is accessible on the subnet.
(DCHP issues). Ensure that the client device is BIOS is
configured to start from the network. You need
to adjust the BIOS device startup order for the
virtual machine. It is hypervisor-specific.
Machine cannot obtain ARDBP32.bin. Ensure the settings in DHCP (67) are pointing
to the correct file. Verify that the boot file is
present on the PVS machine. Ensure that the
TFTP service running points to the relevant
boot file.
When starting up a target device using Boot Place the target device in Private image mode
N
Device Manager (BDM), the static address and change the network adapter to use any
ot
assigned in the boot file is not what is reflected statically assigned IP address. Avoid using
when the target device fully starts. DHCP unless it is preferred, in which case you
fo
http://support.citrix.com/article/CTX125066
e
After updating a Provisioning Services vDisk There are corrupt files or directories on the
or
that has Personal vDisk enabled, a blue screen Personal vDisk. Detaching the personal vDisk
of death (BSOD) appears with a STOP error from the virtual machine allows it to start.
di
During this exercise, you will not be given step-by-step instructions for performing the
n
task. Instead, you are asked to use what you have just learned to complete it. This exercise
is designed to take your newly-acquired knowledge and determine if you can perform a
task you have never done before. In most instances the default value will be the best
choice, but we encourage you to explore and try things out. If you have a question or need
help, ask the instructor or a fellow student for assistance.
© Copyright 2016 Citrix Systems, Inc. Module 9: Managing Provisioning Services 239
Time to complete: Approximately 90 minutes
You already have a Provisioning Services host installed. Using the Provisioning Services host, you
have been asked to complete the following tasks:
• Create a new Master virtual machine of Windows 2012 R2 for use on Provisioning Services
using the Win2012R2_template.
• Install the VDA and the PVS Target Device Installation.
• Join the virtual machine to the domain.
• Install Firefox from the \\AD\Share.
• Create a new vDisk in the vDisk pool for Windows 2012R2.
• Create a new Device collection for Windows 2012R2.
• Use the Imaging Tools to copy the master onto a vDisk.
• Create two new virtual machines that start from this vDisk.
N
240 Module 9: Managing Provisioning Services © Copyright 2016 Citrix Systems, Inc.
N
ot
fo
rr
es
al
e
or
di
s
tri
bu
t io
n
851 West Cypress Creek Road Fort Lauderdale, FL 33309 USA (954) 267 3000 www.citrix.com
Rheinweg 9 8200 Schaffhausen Switzerland +41 (0) 52 63577 00 www.citrix.com
© Copyright 2016 Citrix Systems, Inc. All rights reserved.
Citrix Studio is used for configuring and managing XenApp and XenDesktop implementations, including managing licensing, delegated administration, and configuration logs. In contrast, Citrix Director is a Web-based tool that allows IT support to monitor environments, troubleshoot issues, and assist end users directly .
Citrix Provisioning Services (PVS) optimizes resource usage by using a one-to-many relationship that allows multiple target devices to start from a single shared-disk image. This eliminates the need to manage and update individual systems, enabling simultaneous deployment of disk changes to multiple devices. This software-streaming technology reduces the network bandwidth required, as data is streamed as needed rather than downloaded entirely at startup, thus supporting more devices without impacting network performance . To set up a vDisk in PVS, first create a Master virtual machine and install the necessary software. Convert the hard drive of this machine to a vDisk using imaging tools, then set the vDisk mode (Standard for multi-device, read-only access, or Private for single-device write access). The vDisk is then added to a vDisk pool, and a target device is configured to boot from it . Finally, merge VHD differencing disks to manage vDisk versions and promote updated vDisk versions from maintenance to production to make them available for all target devices .
Citrix StoreFront enhances user experience compared to its predecessor by providing a unified platform that delivers SaaS and native mobile applications, as well as XenApp and XenDesktop resources in a seamless manner . It offers next-generation features such as simplified account provisioning, allowing users to connect to desktops and applications easily, and consistency in user experience across devices via "Follow-me Apps & Data" . Additionally, StoreFront supports modern features such as Secure Socket Layer (SSL) communications through HTTPS, high availability with the use of multiple StoreFront servers, smart card and user certificate authentication, and integration with Citrix NetScaler for secure and optimized access . StoreFront also facilitates resource subscription synchronization across devices and supports various authentication methods, including single sign-on, enhancing end-users' interaction with the system .
The Virtual Delivery Agent (VDA) is crucial in Citrix XenDesktop deployments as it allows virtual or physical machines to register with Delivery Controllers, thereby facilitating the management of HDX connections between the machines and end-user devices . This installation enables desktops and applications to be delivered to users, supporting both Server OS and Desktop OS environments by providing necessary components for connectivity and policy enforcement . Installing the VDA involves several steps. First, start the virtual machine intended to serve as the master image. Insert the XenApp and XenDesktop installation media and launch the installer. Select the Virtual Delivery Agent appropriate for your operating system (Windows Server OS or Desktop OS) and proceed through the installation wizard. Ensure that "Create a Master Image" is selected, as the VDA is being installed on a master image . Next, select the core components to install, including Citrix Receiver, and configure the Delivery Controller settings manually by typing the Controller's name and testing the connection. Finish by reviewing the installation settings, and then begin the installation. After installation, verify that the VDA has registered successfully with a Delivery Controller by checking the Event Viewer logs for specific event IDs (1010, 1012, 1013). Finally, once the installation is complete, the machine may need to be restarted to finalize the setup .
Managing Citrix policies using Group Policy Objects (GPOs) involves creating, applying, editing, and prioritizing policies through the Microsoft Group Policy Management Console, which provides a structured approach to manage settings across multiple users and computers effectively . Citrix policies are added as extensions within the GPO Editor, allowing organizations to manage settings similarly to standard Microsoft policies, and Active Directory (AD) group policies take precedence over local policies . It is recommended to store and manage Citrix policies using GPOs when permissions allow, as it centralizes control and ensures higher precedence over policies created using Citrix Studio . Creating separate GPOs for Citrix policies is advised to avoid changing default policies that apply to broader domains or domain controllers, thus reducing the risk of unintended policy application across the organization. Separate GPOs provide a way to manage policies specifically tailored for Citrix environments without impacting the global policy settings used by the rest of the organization . This separation also allows for more granular control and helps in troubleshooting issues by isolating Citrix policy settings from other system policies .
To monitor historical trends in Citrix Director, log on using domain administrator credentials. Access the Trends page by clicking 'Trends' at the top of the Director window. Select the appropriate tab for the type of trend analysis desired, such as 'Logon Performance' or 'Connected Sessions'. Apply specific filters like 'Delivery Group' and 'Time period' to target the information needed. Once the settings are applied, review the graphed data for patterns over the selected time frame, which can be saved to a PDF or CSV file for further analysis . This functionality enhances Citrix environment management by allowing IT teams to predict and proactively address performance issues based on historical data trends. It supports the identification of patterns affecting logon times, connection failures, or any other abnormal behavior, enabling a more responsive and efficient troubleshooting process. Furthermore, exporting data for external analysis can aid in long-term strategic planning and capacity management ."}
Citrix Receiver provides end users with quick, secure, self-service access to documents, applications, and desktops from any device, including smartphones, tablets, and PCs, enabling on-demand access to Windows, Web, and SaaS applications . It works in conjunction with Citrix StoreFront to authenticate users to XenApp and XenDesktop sites, offering a seamless access experience by requiring login only once, and managing access across multiple devices . StoreFront also allows users to subscribe to and access resources from multiple devices, synchronizing subscriptions for a consistent user experience . These capabilities enhance enterprise application access by ensuring users can easily and securely connect to necessary resources, irrespective of their physical location or device type ."}
XenDesktop and XenApp manage end-user sessions with features such as session prelaunch and session linger to optimize user experience by starting sessions before requests and keeping them active after applications close, supported on Server OS machines . Monitoring and managing end-user sessions use Citrix Director, which allows administrators to view sessions, disconnect, or log off users. Disconnecting a session breaks the connection without closing applications, allowing the user to resume their work later. In contrast, logging off a session completely ends the session, leading to data loss if anything unsaved remains, and makes resources available to others .
Citrix Studio allows for the delegation of roles and scopes to manage administrative tasks effectively. Roles such as Delivery Group administrator, Host administrator, and Help Desk administrator specify different levels of access and responsibilities, which affect tasks like delivering applications, managing sessions, and handling power management settings . Delegating roles ensures that specific tasks can be managed by designated administrators, thereby reducing the risk of unauthorized access and enhancing system security . Scopes allow the grouping of objects, making it easier to control which administrators have access to certain resources and operations based on organizational needs . This delegation of roles and scopes streamlines administrative tasks, allowing for efficient management and oversight within Citrix environments .
The Quick Deploy wizard in earlier versions of XenDesktop, specifically 5.x, was limited because it was designed only for quickly creating a Delivery Site and associated server components for proof of concept deployments, which could not be scaled for larger or production environments . With XenDesktop 7.x, these limitations were addressed by rendering the Quick Deploy wizard unnecessary through refined configuration capabilities and improved workflow . XenDesktop 7.x provides a simpler and more scalable solution, eliminating the need for the Quick Deploy wizard and allowing for broader deployment scenarios beyond just initial proofs of concept .