Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Citrix XenDesktop Cookbook-Third Edition
  • Table Of Contents Toc
Citrix XenDesktop Cookbook-Third Edition

Citrix XenDesktop Cookbook-Third Edition

By : Gaspare Silvestri
4.5 (2)
close
close
Citrix XenDesktop Cookbook-Third Edition

Citrix XenDesktop Cookbook-Third Edition

4.5 (2)
By: Gaspare Silvestri

Overview of this book

Over 40 engaging recipes that will help you implement a full-featured XenDesktop® 7.6 architecture and its main satellite components About This Book Implement, configure, and optimize the migration from a physical to a VDI architecture using XenDesktop 7.6 Publish desktops and applications to the end user devices, optimizing their performance and increasing the security for the delivered resources A pragmatic guide that helps you to explore the XenDesktop 7.6 architecture and its related components to implement a service-oriented architecture based on the Citrix FlexCast approach Who This Book Is For If you are a system administrator or an experienced IT professional who wants to refer to a centralized container of procedures and advanced tasks in XenDesktop, this is the book for you. Experience of the virtualized environment and an understanding of the general concepts of desktop virtualization (VDI) are required. What You Will Learn Upgrade from XenDesktop 5.6 / 7.x to XenDesktop 7.6 Configure and deploy virtual machines for XenDesktop 7.6 Perform configuration and optimization operations for desktop and server OS images for future deployments Plan and configure XenDesktop user experience Execute desktop environment administration tasks, including catalog creation, power management, and resource allocation Understand how to publish the hosted applications, Local Access Apps (LAA), and applications using Microsoft App-V Work with XenDesktop PowerShell to reduce the time required to perform the management tasks by the creation of the PowerShell scripts Implement the two-factor hardware and software authentication for XenDesktop Install and configure Citrix Netscaler Gateway 10.5 and Citrix XenMobile 10 to improve the quality, the performance, and the manageability of your Virtual Desktop Infrastructure (VDI) architecture In Detail In the era of Bring Your Own Device (BYOD) and consecration of the mobile devices, Citrix has strengthened its position in this market, powering its desktop and application virtualization platforms, integrating the ability to publish virtual and physical desktops with the capability to assign applications and contents in a secure manner on any device, anywhere, more than previous versions. The XenDesktop 7.6 version is a more integrated platform, which permits the use and interaction with mobility and cloud platforms leaders in the market. This book will help you understand how to implement, configure, and optimize migration from a physical to a VDI architecture, moving from a standard application approach to a centralized and more secure way to assign and release resources to the end users. The book begins with the upgrade and installation procedures for the core infrastructural components, along with an explanation of how to deploy and optimize procedures for desktop virtual machines. Moving on, you will perform desktop and applications deployment through the XenDesktop core plus integrated publishing platforms, such as Microsoft App-V. Finally, the book explains how to install and configure important collateral platforms such as the Citrix Netscaler, Citrix CloudBridge and Citrix XenMobile platforms, along with execution of the most advanced activities and configurations. Style and approach This book is a step-by-step course that includes standard and high-level tasks oriented to deploy a full-functioning Citrix environment. This practical approach is based on both GUI and command-line operations, which gives IT professionals an alternative on the way to operate, where possible.
Table of Contents (12 chapters)
close
close
11
Index

Installing and configuring Citrix Provisioning Services 7.6

In this book, we decided to give particular importance to both the possible resource deployment ways (MCS and PVS) as we did earlier in the previous XenDesktop cookbooks. In this recipe, we will explain the step-by-step way to install and configure the Provisioning Services 7.6 platform.

Citrix Provisioning Services 7.6 eliminates the need of external PXE and TFTP platforms, thanks to the empowered Boot Device Manager feature.

Tip

Thanks to the BDM feature, you can avoid using any IP helper (DHCP relay) within your network, because of the absence of PXE systems that eliminates the boot problems across different networks. Moreover, BDM also introduces the chance of centrally manage PXE and TFTP in a more dynamic way.

Getting ready

The Provisioning Services 7.6 can be implemented on the following platforms:

  • PVS Server—Operating Systems: Windows Server 2008 and 2008 R2 (Standard, Enterprise, Datacenter editions), and Windows Server 2012 and 2012 R2 (Essential, Standard, and Datacenter editions).

    Note

    For a number of vDisks equal or greater than 250, the minimum RAM requirement for the server machine changes from 2 GB to 4 GB of RAM.

  • Databases: Microsoft SQL Server 2008 and 2008 R2 (Express, Standard, Enterprise Editions), Microsoft SQL Server 2012 (Express and Standard Editions), and Microsoft SQL Server 2014.
  • Target Devices—Operating Systems: Windows Server 2008 R2, Windows Server 2012, Windows XP SP2 and SP3, Windows 7 SP1 (Ultimate Edition supported only in Private Image mode), and Windows 8/8.1.

    Note

    In case of Master Images deployed with the latest XenDesktop Virtual Desktop Agent installed, Windows XP is not supported.

How to do it...

In this recipe, we are going to execute all the steps required to install and configure the Citrix Provisioning Services platform, as follows:

  1. Download the PVS 7.6 ISO software from the Citrix website, using your credentials on www.citrix.com/MyCitrix. It is necessary to install .NET Framework 3.5; if not present on your PVS server, you can install it from Windows Server Features.

    Note

    In presence of Windows Server 2012 / 2012 R2, you have to install the .NET Framework 3.5 from the Windows installation media, by following this guide: http://blogs.msdn.com/b/sql_shep/archive/2012/08/01/windows-2012-and-net-3-5-feature-install.aspx.

  2. Run Autorun.exe from the installation media.
  3. From the Provisioning Services installation screen, select Server installation.
  4. In the missing prerequisites screen, click on Install to add all the pending components to the system:
    How to do it...
  5. In the Welcome screen, click on Next to proceed. Accept the Citrix License Agreement and click on the Next button. After this, insert a valid User Name and Organization values, and choose if installing the application for Anyone who uses this computer (all users) or Only for me (Windows User). Then click on Next.
  6. In the Destination Folder screen, accept the proposed installation path (default path is C:\Program Files\Citrix\Provisioning Services\) or modify it by clicking on the Change button. After completion, click on the Next button to proceed.
  7. In the Ready to Install program screen, click on the Install button to start the installation process.
  8. After completion, click on the Finish button, then proceed with the configuration operations. In the Welcome screen, click on the Next button to proceed.
  9. In the DHCP Services screen, select the The service that runs on another computer radio button. Then click on Next.
    How to do it...

    Tip

    The best choice is to install DHCP server on a machine different from the Provisioning Service server. You should always separate components for better performance and roles isolation.

  10. On the PXE Services screen, select the first option to configure the PXE component (The Service that runs on this computer | Provisioning Services PXE service), and click on Next to continue.
  11. In the Farm Configuration section, select the Create farm radio button, and then click on the Next button.

    Note

    To better convey the differences between the MCS and PVS architectures, we will always use two different farms to accomplish tasks for both architectures.

  12. In the Database Server section, populate all the required fields to make the PVS server able to connect to the database server. After completed, click on Next.
    How to do it...

    Tip

    You should always consider separating the database server from the PVS machine. Separating roles will assure you separation, isolation, and better load balancing and security.

  13. In the New Farm screen, populate all the required fields. Then choose the configured Use Active Directory groups for security option. After completion click on the Next button:
    How to do it...
  14. In the New Store screen, assign a name to the store, select a Default path, and click on the Next button to continue with the installation process.
  15. In the License Server section, populate the License Server name and Licenser Server port fields with the values of an existing Citrix Licensing Server. Then, click on Next to proceed.

    Tip

    To check the validity of your License Server with the PVS 7.6 platform, flag the Validate license server version and communication option.

  16. In the User account screen, specify a valid account for the Stream and Soap Services. You can choose between the Network service account or a Specified user account. After the user account is configured click on the Next button.
  17. In the Active Directory Computer Account Password you can automate the computer account password updates by enabling this option, configuring the interval in days after which the passwords will be updated. To continue with Provisioning Services Configuration Wizard, click on Next.
    How to do it...
  18. The Network Communications screen allows users to be able to configure the network components in the PVS console component, in terms of streaming NICs and communication ports. Click on Next to continue.
    How to do it...
  19. In the later screen, flag the Use the Provisioning Services TFTP Services option to enable the use of the PVS 7.6 TFTP feature and browse for a disk path, on which locating the installed resources (in our case the BIN files have been located under C:\ProgramData\Citrix\Provisioning Services\Tftpboot). Click on the Next button to continue.
  20. In Stream Servers Boot List, users can configure up to four boot servers, specifying their network configurations.
    How to do it...
  21. By clicking on the Advanced... button, it's possible to configure advanced options, such as Verbose mode and Advanced Memory Support. After completion, click on the OK button and then on Next to continue.
    How to do it...

    Tip

    The verbose mode is particularly useful when executing a problem analysis. Consider this as a PVS debug mode.

  22. At the end of this procedure, flag the Automatically Start Services option and click on the Finish button. Then, click on Done after all the configurations have been completed.

    Note

    Remember that active Windows Firewall may be a problem for your installation process. You have to open required ports or turn them off. The ports are UDP 6890-6909 (Inter-Server communication), TCP 1433 (SQL Server database), TCP 389 (Active Directory communication), UDP 67 (DHCP), UDP 67 and 4011 (PXE Services), UDP 69 (TFTP), UDP 6910 (Target Device logon), UDP 6910-6930 (vDisk Streaming), and TCP 54321 and 54322 (SOAP Service).

    How to do it...
  23. On the Installation media menu, select the Console Installation link. Click on the Next button on the welcome screen to proceed with the console installation. Accept the Citrix License Agreement and click on the Next button.
  24. In the Customer Information section, populate the User Name and Organization fields with valid data, specifying if the installation is for the entire machine's users (Anyone who uses this computer) or only for the current (Only for me). After this choice, click on the Next button.
  25. Select a valid path in the Destination Folder screen and click on Next to continue the installation. To change the default path (C:\Program Files\Citrix\Provisioning Services Console\), click on the Change button a browse for a valid location.
  26. In the Setup Type screen, select the Custom option and click on the Next button.
  27. In the Custom Setup screen, select all the proposed components, maintaining the previously chosen path and click on Next.
    How to do it...
  28. In the Ready to Install the Program screen, click on Install to complete the setup procedure. At the end of this setup, click on the Finish button
  29. Click on the Provisioning Services Console link from the Windows Server applications list. The Provisioning Services Console will be executed. Right-click this link in the left-side menu and select the Connect to Farm... option:
    How to do it...

    Tip

    Be sure that the Citrix PVS Soap Server service is running, otherwise you will not be able to connect to the PVS configured farm.

  30. In the Connect to Farm screen, populate all the fields with the correct values, specifying a valid domain username. After this, click on the Connect button.
    How to do it...
  31. After verifying the connection parameters, you will be able to use the PVS 7.6 platform.

    Note

    In the Chapter 3, Master Image Configuration and Tuning, we will discuss about the creation of the Target Device for the Provisioning Services in the Configuring a target device – PVS architecture recipe.

How it works...

PVS is one of the two deployment technologies for desktop and application deployments. Provisioning Services 7.6 is the latest release of the software used to implement this kind of architecture.

The structure is quite simple. A server component which is managed by a PVS console, delivers operating systems images to the end users' devices by creating instances of the virtual disks of an installed operating system called Master Target Devices and streaming them through the network from the PVS server memory every time users need them. This process permits having high-elevated network performance, dramatically reducing the impact on storage activities.

Note

You have to give attention to the PVS DB size. In fact, even if it starts only with 20 MB of data, its dimension has a growth of 10 MB. This means that in presence of hundreds or thousands of objects, the database size can become higher than your expectations.

There's more...

Provisioning Services use the Kerberos authentication to let its components communicate with each other, registering the components against the Active Directory through the Service Principal Name (SPN) and permitting the Domain Controller to identify the accounts, which manage the running services. In case of registration problems, your PVS service could fail. To avoid this situation, you have to use the setSpn command in order to give the right permissions to the account that manage the earlier described services (such as the PVS Soap Service) by applying the following syntax:

setSpn –a PVSSoap/PVS_Server_FQDN <username_managing_service>

Note

At the following MSDN link, you can find more information about the SPN: http://msdn.microsoft.com/en-us/library/windows/desktop/ms677949(v=vs.85).aspx.

See also

  • The Creating and configuring the machine catalog recipe in Chapter 6, Creating and Configuring the Desktop Environment
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Citrix XenDesktop Cookbook-Third Edition
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon