Beruflich Dokumente
Kultur Dokumente
XenApp/XenDesktop 7.6
Introduction
With the first release within the 7th version, Citrix announced that the XenApp product was
at end of life and the functionality was integrated into XenDesktop 7.0. Unfortunate for Citrix
the customers did not understand this message and there was lots of confusion around this.
Citrix responded by re-introducing XenApp again in version 7.5. Actually it was bringing back
the original product name and will be based on the new FMA architecture. There are only
two different license models available; one for XenApp and one for XenDesktop. The Citrix
XenDesktop/XenApp matrix provides a good insight of what the differences between the
licenses are. With the release of XenApp/XenDesktop 7.6, many features that were available
in XenApp 6.5 but not in previous 7.x releases have been introduced again, so the version 7
release is a real XenApp comparable product.
To explain what XenApp and XenDesktop are becames a bit more complicated, especially
because, from a technical standpoint, its the same product. In this article Im going to
describe the installation and basic configuration steps for XenApp/XenDesktop 7.6. I try to
use the name XenDesktop 7.6 through the article, but hopefully you understand that you
can read XenApp here as well (and if I use XenApp by accident, you can also read
XenDesktop).
Delivery Controller
This is the core functionality which assigns users to a server/desktop hosting the chosen
Desktop or Published Application(s). This is a required component for a Delivery Controller.
Studio
Studio is the Management Console of XenDesktop 7.x. Within this console the whole
configuration is executed. This can be installed on the Delivery Controller and/or on a
separate Admin Server. I always install the Studio on the Delivery Controller also, but it is not
required.
Director
Director is the second (Management) Console of XenDesktop 7.x. This console is available
for monitoring and troubleshooting purposes and is built on top of Internet Information
License Server
Each Citrix product requires a License Server. The license server is often already available in
the environment (an upgrade of the license software may be required). I normally install this
on a separated server, most times together with the RDS License Server.
StoreFront
StoreFront is the access point for the end-user connecting to the XenDesktop infrastructure.
StoreFront is the successor of Citrix Web Interface. StoreFront is also built-on IIS and I
normally install this on a different server(s).
After selecting the core components you need to select the features you would like to install.
Citrix XenDesktop requires an SQL database. I would recommend using a specific SQL
server, but for Proof of Concept you could use the SQL express on the first Delivery
Controller. If you install the Director you should also install the Windows Remote Assistance
feature so you can shadow the end-users out of the Director console. I have an SQL server
available, so I dont need the SQL Express edition.
Figure 8: Summary of the installation wizard including the prerequisites that will be
installed.
During the actually installation a nice progress overview is shown including the time
remaining before the installation is finished.
Figure 1: Initial start-up of Citrix Studio, choosing Deliver application and desktop to your
users to set-up the XenDesktop infrastructure
The Site Setup wizard starts by asking you to either create an empty configured Site or to
create a fully configured site. For this article I will use an empty, unconfigured site as this
makes is easier to explain the configuration out of the console in this article series.
With this button the Create Store wizard will be started. The first step is providing a name for
the Store, this name will be shown to the end users and will be part of the URL.
Summary
In the first part of the article series, the installation of the Desktop Delivery Controllers was
discussed, in this part we executed the initial setup of the first and following Desktop
Delivery Controllers. The last topic was the basic configuration of the Citrix StoreFront
component, so that at the end of the article series users cannot connect to the XenDesktop
infrastructure. In the upcoming part we will continue with the installation of the VDA agent,
followed by the creation of a basic XenDesktop environment.
Do it later
Do not provide a delivery controller at this moment. You need to use one of the other
possibilities after the installation of the VDA agent.
Do it manually
Provide the Delivery Controllers during the wizard, actually now. This is the easiest method,
but less flexible. When you provide the role Delivery Controller to other servers, you need to
change the settings locally on each VDA agent.
You can add a Service Connection Point (CSP) and a security group to Active Directory, so
the VDA can get the Delivery Controller more dynamically. I would suggest using this option
in large production environments.
Machine Creation Services (MCS) can provide the Delivery Controller information, you can
only use this option if you use MSC to deploy the VDA agents.
The first screen of the Machine Catalog Setup describes pretty well what you should have
done before starting this wizard. However if you have done this before you probably dont
want to see this information anymore, happily you have the option available not to show this
screen anymore.
Figure 20
We have now configured the Delivered Group completely. It is now possible for a user to
connect to the XenDesktop infrastructure and can start a Desktop and/or Published
Applications.
Figure 1: The start site of the Receiver for Web connection option
After logging on, the user will be presented with the Desktop and/or Published Applications
which were assigned to his account. When the user has a Desktop assigned to his account,
an icon on the Desktop tab will be shown (by default this is shown first, but this can be
adjusted in the StoreFront configuration).
While we have a user connected to our XenDesktop infrastructure, the basic installation and
configuration is finished. Its out of scope of this article to describe all the possible
configurations options in a real detailed level, however I would like to go one step further
than the basic configuration we have done up till now to touch some additional configuration
steps.
Citrix Policies
Since XenApp 6.x you can configure Citrix policies via two methodologies and these options
are still available in XenDesktop 7.x. You can configure policies via the management console
or via Group Policy Object in Active Directory. Again there is no good or bad way; it depends
on the infrastructure and the organization which makes more sense. The settings are exactly
the same and also the way they are applied is the same. Settings are available in two
flavors: user settings and machine settings. In previous version those were shown
separately, however in XenDesktop 7.6 they are both shown and you define later if only one
flavor should be applied. I see both advantages (you are not searching between the two
policy flavors for a specific setting) as disadvantages (configuring the filters for the policies
will need more attention). One last tip is to only select the version and VDA type you have in
your environment, so not applying policies are not shown anymore. As mentioned earlier its
too much to discuss the policies in more depth. If this is of interest to you let us know so we
can write an article about policies as I did in the past for one the previous Citrix products.
Logging
In XenApp 6.x version logging was introduced. In those versions the option was disabled and
you need toed enable and configure it manually. In XenDesktop 7.x the option is enabled by
default. However you may want to adjust the default configuration. This can be done on the
Logging component in the Studio Console like changing the database (specify a specific
logging database), the actions which can be executed when the database is not available or
completely disable logging. In the same windows the logged actions are shown and reports
can be created.
Delegation of Control
Citrix products are well known of their advanced delegation of control. XenDesktop 7.6
shows that this it still the case. Within the product, already 6 different roles are created but
you can add additional roles. The role can be fully adjusted to your organization needs.
Secondly you can create scopes. Per scope you can configure which Machine Catalogs
and/or Delivery Groups belong to this scope. Via scopes you can divide the XenDesktop
infrastructure in multiple instances for administration purposes. The roles and scope come
together at the administrator tab. Here you specify which AD user or group will be assigned
to which scope with which role. In other words you can really create a very detailed
delegation of control within XenDesktop.
Controllers
In this part of the Studio console you can check if the Controllers are updated and in the
case a controller has failed you can remove the Delivery Controller out of the XenDesktop
database.
Hosting
Within Hosting you can configure your hypervisor platform. In most cases you will configure
this component when you are using the Machine Creation Services (MCS) feature. MSC uses
the information specified at this component to create and maintain the virtual machines.
XenDesktop support all important hypervisor platforms including the corresponding
management tooling. Logically you need to specify a user account that has the required
permissions to execute the actions on the hypervisor layer and you need to specify the
corresponding network and storage requirements. It will also be used if you enable Power
Management options within the Citrix Policies. If you dont use MCS or Power Management
you do not need to configure this component even if your environment is running on a
virtualized infrastructure. For example when using PVS (Provisioning Services) and do not
want Power Management you can leave this part empty.
Licensing
The Citrix Licensing component is a separate installation. As mentioned in the first part you
can install this also on a Delivery Controller. Whether you have installed it separately or on
the same server in previous (XenApp) versions you need to start the specific Citrix License
Server console to see licensing information. In XenDesktop 7 this kind of information is also
shown in the Studio Console. You can also add licensing, change the license server or
change the product version out of this part. I personally really like that this information is
shown in the same console.
StoreFront
Maybe you would expect that at this part you can configure the StoreFront configuration, but
you should use the StoreFront Console for this. Within the Citrix Studio console you can
only specify StoreFront Stores. The configured Store can be used to assign to a Delivery
Group. At this Delivery Group the Citrix Receiver will automatically be configured based on
the selected StoreFront URL. The actual StoreFront URL is stored within the StoreFront
component. Assigning a StoreFront URL is useful in scenarios where there are more Machine
Groups or an old environment which host another (set of) application(s).
App-V Publishing
Citrix Director
For those that are familiar with earlier releases of XenApp, notice that the Citrix Studio
console does not contain any administration actions (think of user sessions, remote
assistance and so on). For this kind of task Citrix created the Citrix Director. The Citrix
Directory is based on a website, so you dont need to install a client to use this. Just type the
URL http://FQDN/Directory into a browser. After entering the user information the daily
activities can be executed out of this console. On the Citrix blog a very good article series
about the Directory is published, so please check that article series for all the details about
Citrix Directory.
Conclusion
With this fifth part we are finalizing the article series about Installing and Configuring
XenApp 7.6. We started a session as a user to show that the basic configuration was
completed. Secondly we briefly touched some more advanced configuration options
available within XenDesktop. Some of those configuration options can be discussed in much
more detail, but that was the scope of this article series. If you are interested in more
detailed information let us know, so we know what interests you to write more in-depth
articles about XenDesktop.
ESX
XenServer
Hyper-V
I will use Hyper-V, but Im running on a higher version of Hyper-V (2012R2) where the
procedure via Import Virtual Machine does not work. With the latest releases of NetScaler
VPX, the platform is officially supported, but there is a different way to add the NetScaler
VPX appliance on the hypervisor platform.
To add the NetScaler Appliance to your Hyper-V 2012R2 (or Windows 8.1) infrastructure first
create the directory where you would like to store the VM data into and copy the
dynamic.vhd file out of the NetScaler VPX Express and download into this directory.
Figure 3: Specify Name and Location within the Virtual Machine Wizard
In the wizard select the Generation 1 type VM, at least 2048 MB memory, configure the
correct VLAN into your infrastructure, followed by selecting Use an existing virtual hard
disk and specify the just copied VHD file.
In NetScaler terms this is the NetScaler IP Address (NSIP). After entering the information you
need to save the entered information. The NetScaler will reboot and after that we can
manage the NetScaler via an Internet browser. Again to set-up a high available/fault tolerant
NetScaler infrastructure you need to execute this step on both NetScaler, where both require
a unique NetScaler IP address logically. In my environment Im using 192.168.21.100 and
192.168.21.101.
When you choose configuration again the initial wizard is shown again to add the license file.
The first step is to get the license file. This is accomplished via the same URL as you
download the appliance and browse to the end of the page, where you find the License part
and choose Get License.
Figure 15: Retrieve more licenses, followed by selecting the generated serial number.
A warning appears that you need to have the license server host name or host ID. As
described earlier we need the host ID for the NetScaler Express.
The next step is to create Monitors for these StoreFront servers. NetScaler has specific
StoreFront servers monitoring included that actually check if the Storefront is available.
Therefore we need to go to Traffic Management Load Balancing Monitors within the
Configuration tab. Again choose the Add button.
already created the servers earlier, we now can select Existing Server and choose the
corresponding server. Select the protocol and port number. In my example I dont have
certificates, so Im using port 80 and HTTP. However for production environment I advise to
use SSL with port 443.
Just as for the StoreFront servers the next step is to set-up the monitor part. Go to Traffic
Management Load Balancing Monitors. Add a Monitor .
If you are still using a Citrix Web Interface, you can also use the same set-up. The only
difference is that at the monitoring configuration you select Citrix-Web-Interface as the type
and specify the site path at the special parameters.
StoreFront Servers. In this article Im using the same servers, if you have others check about
how to add the server exactly.
The next step is to create the monitor for the Delivery Controller. Again give the monitor the
name, specify as type Citrix-XD-DDC. Optionally specify a destination IP, if none specified the
IP of the server applied to the monitor will be used. This makes the monitor usable for more
services.
Figure 29: Using the DDC Virtual Server into the StoreFront configuration
If you are still using a Citrix XenApp 6.x infrastructure the same steps can be used to load
balance the XML service. Within the monitor the type should be changed to CITRIX-XMLSERVICE, the other steps and configuration is exactly the same.
Figure 19: RDP monitoring available within the NetScaler, but cannot be used for the RD
Connection Broker
So we can skip the monitor part for this component and directly start creating the services
for the RD Connection Broker role. Go to Traffic Management Load Balancing Services
within Configuration followed by the Add button.
Summary
In the first part I described the step to install and configure a Citrix NetScaler VPX Express,
a high available and fault tolerant infrastructure. In the second part we described how to use
the NetScaler infrastructure to load balance Citrix StoreFront/Web Interface and the Citrix
Delivery Controller components. In this third and last article we built a load balance
environment for Remote Desktop Web Access and Remote Desktop Connection Broker. The
NetScaler VPX series offers lots of possibilities, where I showed some examples of
configuration that can be arranged with the free VPX express edition.