InstallAndConfig CVAD

Download as pdf or txt
Download as pdf or txt
You are on page 1of 90

An Overview of Citrix Virtual Apps and Desktops On-

premises Installation and Configuration

Worldwide Enablement

April 2020
Table of Contents
Table of Contents ...........................................................................................................................3
Training Overview ......................................................................................................................................... 4
Training Overview ..........................................................................................................................5
Lab Environment Details .................................................................................................................6
Connecting XenCenter to your XenServer ........................................................................................9
Module 1: Installing Citrix Virtual Apps and Desktops ................................................................................ 11
Exercise 1: Installing the Delivery Controller .................................................................................. 12
Exercise 2: Installing StoreFront .................................................................................................... 19
Exercise 3: Installing the VDA on the Windows Desktop and Server VMs ........................................ 24
Module 2: Configuring Citrix Virtual Apps and Desktops ............................................................................ 33
Exercise 1: Initial Virtual App and Desktop Site Setup .................................................................... 34
Exercise 2: Joining a Second Controller to the Site ......................................................................... 44
Exercise 3: Configuring StoreFront ................................................................................................. 47
Exercise 4: Creating a Desktop OS Machine Catalog ....................................................................... 55
Exercise 5: Creating a Delivery Group for Desktops ........................................................................ 61
Exercise 6: Creating a Server OS Machine Catalog .......................................................................... 67
Exercise 7: Creating Server-based Delivery Groups and Publishing Applications.............................. 73
Module 3: Accessing Applications using Citrix Workspace App .................................................................. 81
Exercise 1: Accessing Applications ................................................................................................. 82
Lab Guide Appendix .................................................................................................................................... 88
Training Overview

4
Training Overview
Objective
This training will provide hands-on experience with the Installation and configuration and operation of
Citrix Virtual Apps and Desktops and related components.

Required Prerequisites
Working knowledge of Windows server and desktop operating systems, SQL Server and basic
networking in order to complete this lab successfully.

Optional Prerequisites
Working knowledge of Citrix Virtual Apps and Desktops and Citrix ADC.

Audience
Priority Target
1 Citrix Internal Sales Engineers
2 Citrix Internal Technical Support
3 Partners
4 Customers

Lab Guide Conventions


Indicator Purpose
This symbol indicates particular attention must be paid to this step

Special note to offer advice or background information

reboot Text the student enters or an item they select is printed like this

Start Bold text indicates reference to a button or object

Focuses attention on a particular part of the screen (R:255 G:20 B:147)

Shows where to click or select an item on a screenshot (R:255 G:102 B:0)


Lab Environment Details
The follow diagram shows an overview of the virtual machines and networking configurations included in
the lab environment.

Student Internet
Desktop

Citrix ADC AD SQL DDC1 DDC2

SF1 WW1 Win10 VDA2016

Virtual Machines
VM Name IP Address Description
AD.training.lab 192.168.10.11 Domain Controller, DNS, DHCP, Certificate Services.
DDC1 192.168.10.13 Delivery Controller 1912.0.0 with Director.
DDC2 192.168.10.14 Delivery Controller 1912.0.0
CitrixADC1 192.168.10.60 Citrix ADC 13.0.52.24 VPX
SF1 192.168.10.16 Citrix StoreFront 1912.0.0
SQL 192.168.10.12 SQL Server 2016.
Win10 DHCP Windows 10 Base OS Image Single-session VDA 1912.0
CVAD2016 DHCP Windows Server 2016. Base OS Image Multi-session VDA 1912.0

6
Credentials
User Name Password Description
Training\Administrator Citrix123 Domain Administrator
Training\User1 Citrix123 Standard User
Training\User2 Citrix123 Standard User
Training\User3 Citrix123 Standard User
nsroot nsroot Netscaler Login

7
Overview
Citrix Virtual Apps and Desktops are virtualization solutions that give IT control of virtual machines,
applications, licensing, and security while providing anywhere access for any device. Citrix Virtual Apps
and Desktops allow:

 End users to run applications and desktops independently of the device's OS and interface.
 Admin to manage the network and control access from selected devices or from all devices.
 Administrators to manage an entire network from a single data center.

Citrix Workspace app: Installed on user devices and other endpoints (such as virtual desktops), Citrix
Workspace app provides users with quick, secure, self-service access to documents, applications, and
desktops from any of the user's devices, including smartphones, tablets, and PCs. Citrix Workspace app
provides on-demand access to Windows, Web, and Software as a Service (SaaS) applications.

Citrix StoreFront: StoreFront authenticates users to Sites hosting resources, and manages stores of
desktops and applications that users access. It can host your enterprise application store, which gives
users self-service access to the desktops and applications that you make available to them.

Delivery Controller: The Delivery Controller is the central management component of a Virtual App and
Desktop Site. It is installed on at least one server in the data center. If your deployment includes virtual
machines hosted on a hypervisor or cloud service, the Controller services communicate with the
hypervisor to distribute applications and desktops, authenticate and manage user access, broker
connections between users and their virtual desktops and applications, optimize use connections, and
load-balance these connections.

Virtual Delivery Agent (VDA): The VDA is installed on each physical or virtual machine in your Site that
you make available to users. The VDA enables the machine to register with the Controller, which in turn
allows the machine and the resources it is hosting to be made available to users. VDAs establish and
manage the connection between the machine and the user device, verify that a Citrix license is available
for the user or session, and apply whatever policies have been configured for the session.

Database: At least one Microsoft SQL Server database is required for every Virtual App and Desktop Site
to store configuration and session information. This database stores the data collected and managed by
the services that make up the Controller.

Citrix Gateway: When users connect from outside the corporate firewall, Virtual App and Desktop can
use Citrix Gateway (formerly Access Gateway) technology to secure these connections with TLS. The
Citrix Gateway or Citrix ADC VPX virtual appliance is an SSL VPN appliance that is deployed in the
demilitarized zone (DMZ) to provide a single secure point of access through the corporate firewall.

Citrix Director: Director is a web-based tool that enables IT support and help desk teams to monitor an
environment, troubleshoot issues before they become system-critical, and perform support tasks for end
users. One Director deployment can be used to connect/monitor multiple Virtual App and Desktop Sites.

Citrix Studio: Studio is the management console that enables you to configure and manage your Virtual
App and Desktop deployment, eliminating the need for separate management consoles for managing
delivery of applications and desktops.

Citrix License Server – The License Server manages your Citrix product licenses. It communicates with
the Controller to manage licensing for each user's session and with Studio to allocate license files. You
must create at least one license server to store and manage your license files.

citrix.com 8
Connecting XenCenter to your XenServer
Overview
XenCenter is a graphical, Windows-based user interface. XenCenter allows you to manage XenServer
hosts, pools and shared storage, and to deploy, manage and monitor VMs from your Windows desktop
machine.
The XenCenter Online Help is also a great resource for getting started with XenCenter. Press F1 at any
time to access context-sensitive information.

Estimated time to complete this exercise: 10 Minutes

Step-by-Step Guidance
Step Action
1. On the Student Desktop, click the XenCenter Icon if XenCenter does not launch on its
own.

2. Click Add New Server at the top of the XenCenter window.

citrix.com 9
Step Action
3. View your Lab Portal Web Page to retrieve the following XenServer credential details:

Address: 192.168.10.5
Username: admin
Password: *******
Click Add.

4. XenCenter will connect and display the VMs running on your XenServer host.

citrix.com 10
Module 1: Installing Citrix Virtual
Apps and Desktops

citrix.com 11
Exercise 1: Installing the Delivery Controller
Overview
The Delivery Controller is the central management component of a Citrix Virtual App and
Desktop Site. Each Site has one or more Delivery Controllers. It is installed on at least one
server in the data center. For Site reliability and availability, Controllers should be installed on
more than one server. If your deployment includes virtual machines hosted on a hypervisor or
cloud service, the Controller services communicate with the hypervisor to distribute applications
and desktops, authenticate and manage user access, broker connections between users and
their virtual desktops and applications, optimize use connections, and load-balance these
connections.

In this exercise, you will:


 Install the Delivery Controller software as well as the management consoles.

Estimated time to complete this exercise: 20 Minutes

Virtual Machines Required for This Exercise


AD.training.lab DDC1

Active Directory Delivery Controller

Step-by-Step Guidance
Step Action
1. On the Student Desktop, click the XenCenter Icon. Click the Console tab on the right.

2. In XenCenter click the DDC1 virtual machine.

Logon at the console with Username: Training\administrator and Password: Citrix123

citrix.com 12
Step Action
3. Click <empty> next to DVD Drive 1: and then select
Citrix_Virtual_Apps_and_Desktops_7_1912.iso.

4. On the DDC1- Desktop, click the File Explorer icon.

5. Double-click CD Drive (D:) CVAD.

6. Click Start next to Virtual Apps and Desktops.

citrix.com 13
Step Action
7. Click the Delivery Controller selection box.

8. Read and respond to the license agreement and then click Next.

citrix.com 14
Step Action
9. De-select License Server and StoreFront and then click Next.

 This lab will use a central cloud-based Citrix License Server.


 StoreFront will be installed on dedicated virtual machines.
10. Click Next on the Firewall screen.

citrix.com 15
Step Action
11. Click Install to begin the installation.

12. Uncheck the box “Collect diagnostic information” then click Next

citrix.com 16
Step Action
13. Click Finish.

14. Right click Citrix Studio icon and select Pin to Start.
15. In the XenCenter console select the DDC2 VM
Login with the Username and Password: Training\administrator, Citrix123
Repeat the steps above to install the software for a second Delivery Controller.

16. Right click Citrix Studio icon and select Pin to Start.

Exercise Summary
The Controller's Broker Service tracks which users are logged on and where, what session
resources the users have, and if users need to reconnect to existing applications. The Broker
Service executes PowerShell cmdlets and communicates with a broker agent on the VDAs over
TCP port 80. It does not have the option to use TCP port 443.

The Monitor Service collects historical data and places it in the Monitor database. This service
uses TCP port 80 or 443.

citrix.com 17
Data from the Controller services is stored in the Site database.

The Controller manages the state of desktops, starting and stopping them based on demand
and administrative configuration. In some editions, the Controller allows you to install Profile
management to manage user personalization settings in virtualized or physical Windows
environments.

citrix.com 18
Exercise 2: Installing StoreFront
Overview
StoreFront authenticates users to Sites hosting resources, and manages stores of desktops and
applications that users access. It can host your enterprise application store, which gives users
self-service access to the desktops and applications that you make available to them. It also
keeps track of users’ application subscriptions, shortcut names, and other data to ensure users
have a consistent experience across multiple devices.
In this exercise, you will:
 Install the Citrix StoreFront software and other core components.

Estimated time to complete this exercise: 20 Minutes

Virtual Machines Required for This Exercise


SF1

Step-by-Step Guidance
Step Action
1. On the Student Desktop, click the XenCenter Icon.

2. Select SF1 VM and click the Console tab on the right.

3. Click <empty> next to DVD Drive 1: and then select


Citrix_Virtual_Apps_and_Desktops_7_1912.iso.

4. Login as Training\administrator with password Citrix123.

citrix.com 19
Step Action
5. On the SF1 Desktop, click the File Explorer icon.

6. Double-click CD Drive (D:) CVAD.

7. Click Start next to Virtual Apps and Desktops.

8. Click the Citrix StoreFront selection box.

citrix.com 20
Step Action
9. Read and respond to the license agreement and then click Next.

10. Click Next on the Core Components screen.

This lab will use a central cloud-based Citrix License Server.


StoreFront will be installed on dedicated virtual machines.

citrix.com 21
Step Action
11. Click Next on the Firewall screen.

This lab will use the SQL setup previously configured. SQL Server Express is
only recommended for small PoC and pilot environments since it has limited
resources and features.

12. Click Install to begin the installation.

citrix.com 22
Step Action
13. Uncheck “Collect diagnostic information” and then click Next.

14. Click Finish.

15. Right click Citrix StoreFront icon and select Pin to Start.

Exercise Summary
StoreFront keeps a record of each user's applications and automatically updates their devices; ensuring
users have a consistent experience as they roam between their smartphones, tablets, laptops, and
desktop computers. StoreFront is an integral component of Virtual Apps and Desktops 7.x but can be
used with several versions of Virtual Apps and Desktops.

citrix.com 23
Exercise 3: Installing the VDA on the Windows Desktop
and Server VMs
Overview
The VDA is installed on each physical or virtual machine in your Site that you make available to
users; those machines can deliver applications or desktops. The VDA enables the machine to
register with the Controller, which in turn allows the machine and the resources it is hosting to
be made available to users. VDAs establish and manage the connection between the machine
and the user device, verify that a Citrix license is available for the user or session, and apply
whatever policies have been configured for the session.

The VDA communicates session information to the Broker Service in the Controller through the
broker agent included in the VDA. The broker agent hosts multiple plugins and collects real-time
data. It communicates with the Controller over TCP port 80. It does not have the option to use
TCP port 443.

The word "VDA" is often used to refer to the agent as well as the machine on which it is
installed.

VDAs are available for Windows server and desktop operating systems. VDAs for Windows
server operating systems allow multiple users to connect to the server at one time. VDAs for
Windows desktop operating systems allow only one user to connect to the desktop at a time. A
Linux VDA is also available.

In this exercise, you will:


 Install the Virtual Delivery Agent (VDA) to prepare the Windows 10 master image.

 Install the VDA to prepare the Server 2016 master image.

Estimated time to complete this exercise: 25 Minutes

Virtual Machines Required for This Exercise


Win10
CVAD 2016

Step-by-Step Guidance
Step Action
1.

Before starting this exercise scroll down to Module 2, Exercise 1 and 2 and
complete those exercises first.

citrix.com 24
Step Action
2. On the Student Desktop, click the XenCenter Icon.

3. In XenCenter, click the Win10 virtual machine and login at the console with username
and password: Training/administrator, Citrix123

4. Click the Console tab. Click <empty> next to DVD Drive 1: and select
Citrix_Virtual_Apps_and_Desktops_7_1912.iso.

5. On the Win10 desktop, open File Explorer.

6. Double-click CD Drive (D:) CVAD.

citrix.com 25
Step Action
7. Click Start next to Virtual Apps and Desktops.

8. Select Virtual Delivery Agent for Windows Desktop OS.

citrix.com 26
Step Action
9. Leave Create a Master Image selected and click Next.

10. You will NOT see the option to install Citrix Workspace App because it was pre-
installed on the VM. Click Next to continue.

citrix.com 27
Step Action
11. Click Next.

12. Leave Do it manually selected for the location of your Delivery Controllers, then add in:
DDC1.training.lab
DDC2.training.lab
Click Next.

citrix.com 28
Step Action
13. Click Next.

14. Click Next leaving the firewall rules to be configured automatically.


15. Review the Summary page and click Install.
16. Uncheck the box to collect diagnostic information. Click Next.

citrix.com 29
Step Action
17. When the installation completes, click Finish and the machine will restart.

18. On the Student Desktop, click the XenCenter Icon.

19. Click Eject next to the Citrix_Virtual_Apps_and_Desktops_7_1912.iso.


20. Once Win10 VM finishes rebooting, right-click Win10 and click Shut Down. Click Yes to
shut down the Win10 VM.

21. Now let’s install the VDA on a server VM.


Select the CVAD2016 VM in XenCenter and login using Username:
Training/administrator and Password: Citrix123

citrix.com 30
Step Action
22. Run the installer to install the VDA for Windows Multi-session OS.

23. Leave Create a Master Image selected and click Next.

citrix.com 31
Step Action
24. Click Next to install Core Component Virtual Delivery Agent.

25. Follow steps 11-17 above to complete the installation of the Delivery Agent on
CVAD2016 VM.
26.

Once you have completed this exercise, move forward to Module 2, Exercise 3.

Exercise Summary
To deliver desktops and applications for machines in Server OS or Desktop OS machine catalogs, you
must prepare the master image that creates the user desktops and applications.
The master image is a template that you use to provision multiple systems from in your environment. In
addition to desktops and applications, creating a master image includes installing and configuring the
operating system and any software you want to include on your image.

citrix.com 32
Module 2: Configuring Citrix Virtual
Apps and Desktops

citrix.com 33
Exercise 1: Initial Virtual App and Desktop Site Setup
Overview
A Virtual App and Desktop Site is made up of machines with dedicated roles that allow for
scalability, high availability, and failover, and provide a solution that is secure by design. A
Virtual App and Desktop Site consists of VDA-installed servers and desktop machines, and the
Delivery Controller, which manages access.

In this exercise, you will:


 Perform the steps necessary to setup a new site.

Estimated time to complete this exercise: 10 Minutes

Virtual Machines Required for This Exercise


DDC1

Delivery Controller

Step-by-Step Guidance
Step Action
1. On the Student Desktop, click the XenCenter Icon.

2. In XenCenter click the DDC1 virtual machine. Select the Console tab and login using
the TRAINING\administrator with Citrix123 credentials.

citrix.com 34
Step Action
3. If Studio is not already open, from the Start menu click Citrix Studio.

4. In Citrix Studio, click Deliver applications and desktops to your users.

5. Leave the first option selected for a fully configured, production-ready Site and type in
XDSite for the Site name. Then click Next.

citrix.com 35
Step Action
6. Select the first option to Create and set up database from Studio. Enter the following
parameters for Database name and Location and then click Next.

Data type Database name Location

Site: CitrixXDSite sql

Monitoring: CitrixXDSiteMonitoring sql

Logging: CitrixXDSiteLogging sql

citrix.com 36
Step Action
7. Enter licenses.citrixvirtualclassroom.com for the License server address and click
Connect.

This is a central license server for the cloud-based training environment.


It has been previously setup with the correct Citrix License Server version
and the product licenses required.

8. Select Connect me and click Confirm.

The license server uses a self-signed certificate which is untrusted by this


virtual machine. This will be adequate for the purposes of this lab; however,
production environments should have fully trusted certificates.

citrix.com 37
Step Action
9. Select Citrix XenDesktop Platinum and click Next.

citrix.com 38
Step Action
10. View your XenServer IP Address Configuration to retrieve the IP Address.

View your Lab Portal Web Page to retrieve the Username and Password.

Address: http://10.x.x.x
Username: admin
Password: ********
Connection name: Host1
Enter the retrieved information into the Site Setup window and then click Next.

citrix.com 39
Step Action
11. Select Use storage local to the hypervisor and click Next.

12. Click Next.

citrix.com 40
Step Action
13. Type Host1Settings for the Network, select Internal and click Next.

14. Click Next.

citrix.com 41
Step Action
15. Click Finish to complete the Site Setup.

16. It will take a few minutes for Studio to complete the setup.

17. The initial configuration is complete.

citrix.com 42
Exercise Summary
Citrix Virtual Apps and Desktops include an easy-to-use wizard for the initial site setup.

It is possible to specify the host, network and storage details during the initial site setup or specify only
the minimum required details of the database and licensing and configure other details later (empty site
deployment option).

citrix.com 43
Exercise 2: Joining a Second Controller to the Site
Overview
The Delivery Controller is the central management component of any Virtual App and Desktop
Site. Every CVAD Site must have persistent and reliable connections to Delivery Controllers. If
your deployment includes virtual machines hosted on a hypervisor or cloud service, the
Controller services communicate with the hypervisor to distribute applications and desktops,
authenticate and manage user access, broker connections between users and their virtual
desktops and applications, optimize use connections, and load-balance these connections.

In this exercise, you will:


 Join a second Delivery Controller to our existing site.

 It is a best practice to have two or more controllers for high-availability purposes.

Estimated time to complete this exercise: 5 Minutes

Virtual Machines Required for This Exercise


DDC2

Delivery Controller

Step-by-Step Guidance
Step Action
1. From XenCenter, select the DDC2 VM and click the Console tab to login. Login using
the Training\administrator with Citrix123 credentials.

citrix.com 44
Step Action
2. If Studio is not already open, click on Start from the DDC2 Console Desktop and
double-click the Citrix Studio icon.

3. Click Connect this Delivery Controller to an existing Site.

4. Type in DDC1.training.lab and click OK.

5. Click Yes on the dialog to update the database automatically.

citrix.com 45
Step Action
6. Wait a moment for the process to complete. Go to the Configuration > Controllers
node and confirm that both controllers are shown.

7. Now go back to Module 1, Exercise 3 and install the Virtual Delivery Agent on
Win10 and CVAD2016 VMs.

Exercise Summary
When building the first Delivery Controller the scripts might have already included the second Delivery
Controller. Thus, no special SQL permissions are needed. If the second Delivery Controller has not
already been added to the SQL databases, then there are several methods of adding a second Controller
to the databases for CVAD:

 If you have sysadmin permissions to SQL, let Citrix Studio modify the databases automatically.
 If you do not have sysadmin permissions to SQL then do use Citrix Studio to generate SQL
scripts and send them to a DBA

citrix.com 46
Exercise 3: Configuring StoreFront
Overview
StoreFront manages the delivery of desktops and applications from Virtual Apps and Desktops
and Citrix Endpoint Management servers in the datacenter to users' devices. StoreFront
enumerates and aggregates available desktops and applications into stores. Users access
StoreFront stores through Citrix Workspace app directly or by browsing to a Citrix Receiver for
Web or Desktop Appliance site. Users can also access StoreFront using thin clients and other
end-user-compatible devices through Virtual App Services site.

StoreFront keeps a record of each user's applications and automatically updates their devices,
ensuring users have a consistent experience as they roam between their smartphones, tablets,
laptops, and desktop computers. StoreFront is an integral component of Virtual App and
Desktop 7.x but can be used with several versions of CVAD.

In this exercise, you will:


Configure the StoreFront virtual machines, which serve as the connection point to
resources.

Estimated time to complete this exercise: 15 Minutes

Virtual Machines Required for This Exercise

AD.training.lab SF1

Active Directory StoreFront

Step-by-Step Guidance

citrix.com 47
Step Action
1. Verify SF1 virtual machine is Started (green).

Login using the Training\administrator with Citrix123 credentials.


2. If StoreFront is not already open, click Start and double-click the Citrix StoreFront
icon.

3. Select Create a new deployment.

citrix.com 48
Step Action
4. Enter https://sf1.training.lab as the Base URL and click Next. This process may take a
moment.

It will take a few minutes for the new deployment to be created.

5. Click Next to create a new Store.

citrix.com 49
Step Action
6. Enter CorporateStore as the Store Name.
Check “Set this Receiver for Web site as IIS default” checkbox.
Click Next.

7. Click Add to add Delivery Controllers.

citrix.com 50
Step Action
8. Click Add and enter ddc1.training.lab for the Server name. Click OK.

9. Repeat the previous step to add ddc2.training.lab.

Click OK.

citrix.com 51
Step Action
10. Click Next to continue.

11. Click Next to continue.

We will configure remote access in a later exercise.

citrix.com 52
Step Action
12. Click Next to continue.

13. Click Create.

It will take a few seconds to create the store.

citrix.com 53
Step Action
14. Click Finish and move to the next exercise.

Exercise Summary
 StoreFront includes a number of features that combine to enable load balancing and failover
between the deployments providing resources for stores. You can also specify dedicated disaster
recovery deployments for increased resiliency. These features enable you to configure StoreFront
deployments distributed over multiple sites to provide high availability for your stores. Stores can
use independent or shared Authentication Methods.
 Password validation can be delegated to Delivery Controllers if it is not desired that the
StoreFront servers communicate directly with Active Directory.
 A Store can have multiple Receiver for Web sites which can be configured independently.
 Many of the advanced configuration options are now available in the Studio console and it is no
longer necessary to edit the web.config files to configure them.

citrix.com 54
Exercise 4: Creating a Desktop OS Machine Catalog
Overview
Machine Catalogs are collections of virtual or physical machines that you manage as a single
entity. These machines, and the application or virtual desktops on them, are the resources you
want to provide to your users. All the machines in a machine catalog have the same operating
system and the same VDA installed. They also have the same applications or virtual desktops
available on them. Typically, you create a master image and use it to create identical virtual
machines in the catalog. When you create a machine catalog, you specify the type of machine
and provisioning method for the machines in that catalog.

In this exercise, you will:


 Perform the steps necessary to create a catalog to be used with Machine Creation
Services.

Estimated time to complete this exercise: 15 Minutes

Virtual Machines Required for This Exercise


Win10
DDC1

Step-by-Step Guidance
Step Action
1. Select the Win10 VM and click the Snapshots tab. Click Take Snapshot… Type Win10
Machine Catalog and click Take Snapshot.

citrix.com 55
Step Action
2. Switch to DDC1 virtual machine. If Citrix Studio is not open, launch it from the Start
Menu.
3. Select the Machine Catalogs node and click Create Machine Catalog.

4. Click Next on the Introduction screen.

citrix.com 56
Step Action
5. Select Single-session OS and click Next.

6. For Machine Management, leave the defaults of Machines that are power managed
and Citrix Machine Creation Services (MCS) selected and click Next.

citrix.com 57
Step Action
7. On the Desktop Experience screen, select I want users to connect to a new
(random) desktop each time they log on and then click Next.

8. On the Master Image screen select Win10 and then click Next.

A snapshot will be created automatically as part of the provisioning process.

citrix.com 58
Step Action
9. Change the Number of virtual machines needed to 2. Leave the other defaults for the
virtual machines. Then click Next.

10. On the Active Directory Computer Accounts screen select:


 Create new Active Directory accounts
 Expand Training and select VDAs
 Selected location will read: OU=VDAs,OU=Training,DC=training,DC=lab
 Type Win10MCS## for the Account naming scheme and click Next.

citrix.com 59
Step Action
11. Type Win10 MCS Desktops and click Finish.

It will take a few minutes for the virtual machines to be provisioned and the
machine catalog created.

12. After the process completes, you should see the new catalog under the Machine
Catalogs node.

Exercise Summary
Machine Creation Services communicates directly with the hosting infrastructure to provision virtual
machines from a base template.

citrix.com 60
Exercise 5: Creating a Delivery Group for Desktops
Overview
Delivery Groups are collections of users given access to a common group of resources.
Delivery Groups contain machines from your Machine Catalogs, and Active Directory users who
have access to your Site.

In this exercise, you will:


 Create a delivery group to be used with the Machine Creation Services catalog of
desktop machines created earlier.

Estimated time to complete this exercise: 10 Minutes

Virtual Machines Required for This Exercise


DDC1

Delivery Controller

Step-by-Step Guidance
Step Action
1. From your DDC1 virtual machine, launch Citrix Studio, select the Delivery Groups
node and click Create Delivery Group.

citrix.com 61
Step Action
2. Click Next on the Introduction screen.

3. Ensure Win10 MCS Desktops is selected and type 2 to Choose number of machines
for this Delivery Group. Click Next.

citrix.com 62
Step Action
4. Leave Allow any authenticated users to use this Delivery Group and click Next.

5. Click Next for the Applications.

citrix.com 63
Step Action
6. Click Add to Add assignments.

You can now publish multiple desktops from a single Delivery


Group. Each desktop can be named differently and you can restrict
access to the published desktop.

7. Type Win 10 Desktop for the Display name and Win 10 Desktops for the Description.
Click OK.

citrix.com 64
Step Action
8. Click Next.
9. Type Win10 MCS for the Delivery Groups name and click Finish.

10. Verify that the Delivery Group was created successfully.

citrix.com 65
Exercise Summary
Delivery Groups contain systems from Machine Catalogs and set properties such as who will have access
to the resource and how the resource will be presented.

You can set up a Delivery Group to deliver applications, desktops, or both. You define which resources
users in the Delivery Group can access.

citrix.com 66
Exercise 6: Creating a Server OS Machine Catalog
Overview
The Server OS Machine Catalog provides hosted shared desktops for a large-scale deployment
of standardized machines as well as hosted application delivery. Machine Creation Services
uses a master virtual machine within your CVAD environment to manage virtual machines,
enabling you to easily manage and update target devices through one master image.

In this exercise, you will:


 Perform the steps necessary to create a catalog with a Server OS.

Estimated time to complete this exercise: 10 Minutes

Virtual Machines Required for This Exercise

CVAD2016
DDC1

Step-by-Step Guidance
Step Action
1. Select CVAD2016 VM. Click Snapshots tab and select Take Snapshot… Type
Win2016 Machine Catalog for the name and click Take Snapshot.

citrix.com 67
Step Action
2. In XenCenter console, click on the DDC1 VM.
Launch Citrix Studio and select the Machine Catalogs
Click Create Machine Catalog.

3. Click Next on the Introduction screen.

citrix.com 68
Step Action
4. Select Server OS and click Next.

5. For Machine Management, leave the defaults of Machines that are power managed
and Citrix Machine Creation Services (MCS) selected and click Next.

citrix.com 69
Step Action
6. On the Master Image screen, select Win2016Base and then click Next.

7. Leave the other defaults and then click Next.

citrix.com 70
Step Action
8. On the Computer Accounts screen select: Create new Active Directory accounts
 Expand Training and select VDAs
Selected location should read: OU=VDAs,OU=Training,DC=training,DC=lab
 Type Win2016MCS## for the Account naming scheme and click Next.

9. Type Win2016 MCS Servers for the Machine Catalog name and click Finish.

It will take a few minutes for the virtual machines to be provisioned and
the machine catalog created.

citrix.com 71
Step Action
10. Verify the Machine Catalog was successfully created.

Exercise Summary
Machine Creation Services provides an easy-to-use wizard to provision virtual desktops and servers from
base templates.

citrix.com 72
Exercise 7: Creating Server-based Delivery Groups and
Publishing Applications
Overview
Creating a Delivery Group is the next step in configuring your deployment after creating a Site
and creating a Machine Catalog. Later, you can change the initial settings in the first Delivery
Group and create other Delivery Groups. There are also features and settings you can configure
only when editing a Delivery Group, not when creating it.

In this exercise, you will:


 Create a delivery group for our server machines and publish applications.

Estimated time to complete this exercise: 10 Minutes

Virtual Machines Required for This Exercise


DDC1

Delivery Controller

Step-by-Step Guidance
Step Action
1. Select Win2016MCS01 right-click and select Start.

At least one machine from each of the server catalogs must be powered on for
VDesktop to automatically discover available applications. Alternatively,
publishing custom applications by paths is also an option.

citrix.com 73
Step Action
2. In XenCenter, navigate back to the DDC1 VM and launch Citrix Studio
Right-click Delivery Groups and select Create Delivery Group.

3. Click Next on the Introduction screen.

citrix.com 74
Step Action
4. Select the Win2016 MCS Servers catalog, add in 1 machine and click Next.

5. Select Restrict user of this Delivery Group to the following users: Click Add and
add in Domain Users. Then click OK and Next.

citrix.com 75
Step Action
6. Click Add and select From start menu…

7. A list of applications will be gathered from the VDA in that catalog which is powered on.
Select Calculator, Notepad, Notepad++, Paint, WordPad etc. Click OK.

citrix.com 76
Step Action
8. Click Next.

9. Click Add and enter Win2016 Desktops for the Display name and click OK.

citrix.com 77
Step Action
10. Click Next.

11. Type Win2016 MCS for the Delivery Group Name and click Finish.

citrix.com 78
Step Action
12. Click the Applications tab and notice the applications that were just published.

13. All applications are currently available to Domain Users since that is how the Delivery
Group is assigned. Let us now restrict one of the applications to a subset of Domain
Users. Right-click Notepad++ and go to Properties.

14. Click Limit Visibility and select Limit visibility for this application to the users listed
below. Click Add.

citrix.com 79
Step Action
15. Add User2 and then click OK.

Exercise Summary
Use server OS machines to deliver Citrix virtual published apps and published desktops:

 You want inexpensive server-based delivery to minimize the cost of delivering applications to a
large number of users, while providing a secure, high-definition user experience.
 Your users perform well-defined tasks and do not require personalization or offline access to
applications. Users may include task workers such as call center operators and retail workers, or
users that share workstations.
 Application types: any application.

citrix.com 80
Module 3: Accessing Applications
using Citrix Workspace App

citrix.com 81
Exercise 1: Accessing Applications
Overview
Users can work with applications running on Virtual Desktops when the Receiver/Workspace
App or the online plug-in is installed on their user devices. Users can access applications from
virtually any type of user device over many types of network connections, including LAN, WAN,
dial-up, virtual private network (VPN) and direct asynchronous connections. Because the
applications are not downloaded to user devices (as is the case with the more traditional
network architecture), application performance is not limited by bandwidth or device
performance.

In this exercise, you will:


 Login to StoreFront, view and launch applications and desktops using Citrix Workspace
App.

Estimated time to complete this exercise: 10 Minutes

Virtual Machines Required for This Exercise

Win10

Step-by-Step Guidance
Step Action
1. Now, familiarize yourself with the on-premises deployment of Citrix Virtual Apps and
Desktops.
From XenCenter, select the Win10 VM and login with Username:
Training/administrator and Password: Citrix123

citrix.com 82
Step Action
2. Launch Chrome browser shortcut on the desktop and navigate to:
https://sf1.training.lab/
 Select Detect Receiver
 At the pop-up, Click Open URL: Citrix Receiver

 Log in using the following credentials:


o User name: training\user1, Password: Citrix123

3. Once logged in, click on the APPS tab to see the applications assigned to user1.
Observe that user1 does not have access to the app, Notepad++

Launch an application to confirm that the on-premises Virtual Apps environment is


configured correctly.

citrix.com 83
Step Action
4. Now click on the DESKTOPS tab.
Observe the Win10 Desktop and Win2016 Desktop that you created using the
Machine Creation Service.

5. Logout as user1 and re-login as Training\user2, Password: Citrix123


6. Observe that user2 has access to the app Notepad++

7. You can also use the locally installed Citrix Workspace App to connect to your
StoreFront environment.

citrix.com 84
Step Action
8. Navigate to the Start menu on your Win10 desktop, and select Citrix Workspace.

9. Add Account: In put the StoreFront URL: https://sf1.training.lab

Click Add.
10. Logon with credential Training\user1 and Password: Citrix123

Click Log On.

citrix.com 85
Step Action
11. Click the APPS and DESKTOP tabs to view your published resources.

Click Sign Out at the top right.


12. This is the user experience that you will replace and extend with Workspace from
Citrix Cloud in another lab.

Exercise Summary
 Citrix Workspace app aggregates and incorporates the full capabilities of Citrix Receiver as well
as other Citrix client technologies - including HDX, the Citrix Gateway plug-ins, and Citrix
Endpoint Management Secure Hub.
 Users get seamless and secure access to all the apps they need to stay productive, including
features such as embedded browsing and single sign-on.
 Citrix Workspace app is also enhanced to deliver additional capabilities regarding data loss
prevention, secure access to SaaS apps, secure internet browsing capabilities, advanced search,
and more.

citrix.com 86
Key Takeaways
At the end of this lab, you should be able to:

 Install and configure a Citrix Virtual Apps and Desktops on-premises environment (Delivery
Controllers, Delivery Agents, Virtual Delivery sites, StoreFront etc.)
 Create Desktop and Server OS Machine Catalogs using Machine Creation Services (MCS).
 Create Delivery Groups to deliver applications and desktops.
 Use Limited Visibility feature to restrict users in delivery groups from having access to certain
applications.
 Access your applications using Workspace app.
Lab Guide Appendix

citrix.com
88
citrix.com 89
Authors
The following authors contributed to the creation of this deliverable.
Citrix
Joslyn Bailey-White
851 West Cypress Creek Road
Fort Lauderdale, FL 33309

Revision History
Revision Change Description Updated By Date
1.0 Original Joslyn Bailey-White April 2020

citrix.com 90
Corporate Headquarters
Fort Lauderdale, FL, USA Latin America Headquarters
India Development Center Coral Gables, FL, USA
Silicon Valley Headquarters Bangalore, India
Santa Clara, CA, USA UK Development Center
Online Division Headquarters Chalfont, United Kingdom
EMEA Headquarters Santa Barbara, CA, USA
Schaffhausen, Switzerland
Pacific Headquarters Hong Kong, China

About Citrix

Citrix (NASDAQ:CTXS) is a leader in mobile workspaces, providing virtualization, mobility management, networking and cloud services to enable
new ways to work better. Citrix solutions power business mobility through secure, personal workspaces that provide people with instant access to
apps, desktops, data and communications on any device, over any network and cloud. This year Citrix is celebrating 25 years of innovation, making
IT simpler and people more productive. With annual revenue in 2013 of $2.9 billion, Citrix solutions are in use at more than 330,000 organizations
and by over 100 million users globally. Learn more at www.citrix.com.

Copyright © 2014 Citrix Systems, Inc. All rights reserved. [list Citrix trademarks (without ® or ™ symbols!) in document] are trademarks of Citrix
Systems, Inc. and/or one of its subsidiaries, and may be registered in the U.S. and other countries. Other product and company names mentioned
herein may be trademarks of their respective companies.

citrix.com 91

You might also like