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

Preparing the SQL Server 2012 database

The evolution of the XenDesktop platform is not only in terms of Citrix core components, but also for collateral technologies used to implement its architecture. For this reason, we decided to implement all the latest releases of the software required by XenDesktop 7.6. This is also the case for the database component, which will be installed and configured in this recipe on Microsoft SQL Server 2012 edition.

Note

Even if the latest release of the SQL Server product is 2014, we preferred to work on the more supported and documented 2012 version.

Getting ready

XenDesktop 7.6 supports the following versions of Microsoft SQL Server:

  • SQL Server 2008 R2 SP2 (Express, Standard, Enterprise, and Datacenter editions)
  • SQL Server 2012 SP1 (Express, Standard, and Enterprise editions)
  • SQL Server 2014 (Express, Standard, and Enterprise editions)

Note

SQL Server high availability supported features are: clustered instances, mirroring, and AlwaysOn Availability groups.

How can we choose the right database version? It depends on the required level of performance and availability. For standalone installations (integrated with the XenDesktop Controller server) within a test or POC environment, the Express Edition should be the right choice. In the presence of a huge number of clients and users, with a great number of processed data, if you want to create a clustered database instance, you should implement the non-Express version of SQL Server.

For a separate database installation, we need to perform the common installation operations, as explained in the following section.

How to do it...

Perform the following steps to generate SQL Server Database, which will be used by XenDesktop:

  1. From the SQL Server installation media, launch the executable setup file. If you want, you can launch System Configuration Checker from the Planning section, to perform a preinstallation test and verify that all the requirements are met:
    How to do it...
  2. Click on the Installation tab, which you can see in the left-hand side menu and select New SQL Server stand-alone installation or add features to an existing installation option. For the purpose of this book, we won't execute all the steps required to complete the database installation:
    How to do it...
  3. If you have available resources, you can select to create a new named instance, not using the default SQL Server instance (MSSQLSERVER).
  4. On the database server, create a database on the desired instance (preferably having a dedicated instance for Citrix, as previously seen) with the following parameters:
    • Create a new database instance on the database server, setting the Collation sequence parameter to Latin1_General_CI_AS_KS
    • Configure the authentication method only as Windows authentication
    • Configure the Permissions settings, as shown in the following table:

      Activity

      Server role

      Database role

      Database creation

      dbcreator

       

      Schema creation

      securityadmin

      db_owner

      Controller addition

      securityadmin

      db_owner

      Controller removal

       

      db_owner

      Schema update

       

      db_owner

  5. This permission will be granted to the operating system user, who will perform configuration activities through XenDesktop.

    Tip

    Using a separate instance is not mandatory, but it is better (more isolation, more security).

How it works...

We configured the most common format for the collation sequences (the same used by Citrix), and also restricted the way to log on to the database at Windows authentication, because XenDesktop does not support SQL or Mixed mode. For the collation, you are free to use not only the indicated version, but also the most important thing is that you will choose a version one that is member of the *_CI_AS_KS category (collation family is case and accent insensitive, but kanatype sensitive).

You must be careful when increasing the size of database logging; despite the normal data component (you should expect to have a database size of 250 MB with some thousands of clients), logs can unexpectedly increase in 24 hours in the presence of thousands of desktops. Based on the following table for MCS architectures, we will be able to calculate the database log and data files occupation:

Component

Data/log

Occupation

Registration information

Data

2.9 kB per desktop

Session state

Data

5.1 kB per desktop

Active Directory computer account info

Data

1.8 kB per desktop

MCS machine info

Data

1.94 kB per desktop

Transaction log for idle desktop

Log

62 kB per hour

Note

For a more detailed SQL Server installation, please refer to official Microsoft online documentation at http://msdn.microsoft.com/en-us/library/ms143219.aspx.

There's more...

In case of necessity to redeploy one or more Desktop Delivery Controller servers configured in your VDI infrastructure, the first action to perform is cleaning the XenDesktop configured database. To perform this task, you have to set all the Citrix components' database connection to null, using the custom PowerShell running the following commands:

Set-ConfigDBConnection -DBConnection $null
Set-AcctDBConnection -DBConnection $null
Set-HypDBConnection -DBConnection $null
Set-BrokerDBConnection -DBConnection $null

Once you finished these operations, you can proceed with the manual deletion and the recreation of the SQL Server database.

Note

Later in this book, we will explain how to use the PowerShell cmdlets available with XenDesktop 7.

See also

  • The Retrieving system information – Configuration Service cmdlets recipe in the Chapter 9, Working with Powershell.
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