Best Practise – Citrix XenDesktop and Citrix XenApp

Written by Thomas Poppelgaard. Posted in Best Practise, Citrix, Citrix Consulting, HDX, Provisioning, Whitepapers, XenApp, XenDesktop, XenServer

Citrix Consulting have released this awesome whitepaper that is a most read if you are an consultant, architect, administrator or you would like to learn how to design, implement XenApp / XenDesktop with the best practise advise from citrix consulting.

Overview

The foundation of any good XenDesktop or XenApp enterprise design should be adherence to a collection of best practices which are based upon knowledge gathered from previous enterprise deployments, lab validations, and lessons learned in the field. Such best practices are just a starting point for a design, as an organization’s specific design requirements will often necessitate deviation from the recommended path. By using the following recommendations as a starting point, the foundation of the design will be robust enough to support many different deployment scenarios.

This document consolidates and summarizes the best practices for XenApp and XenDesktop environments. As products evolve, best practices also change, which is why each best practice discussed in this document is associated with a specific product and version, which includes the
following:

  • XenDesktop 5.0, 5.5, 5.6
  • XenApp 6.0, 6.5

Additional best practices are provided for those products which provide complimentary functionality to both XenDesktop and XenApp, including:

  • Citrix Provisioning Services
  • Citrix XenServer
  • Citrix Profile Manager
  • Microsoft Hyper-V
  • VMware vSphere

For further guidance and more detailed information, please refer to the XenDesktop Design Handbook.
The recommendations provided within this document may not be appropriate for every environment. Therefore, all best practices within this document should be evaluated in an isolated test environment prior to being implemented in production.

Caution: Some of the best practices in this document will require you to edit the registry. Using Registry Editor incorrectly can cause serious problems that might require you to reinstall your operating system. Citrix cannot guarantee that problems resulting from the incorrect use of Registry Editor can be solved. Use Registry Editor at your own risk. Be sure to back up the registry before you edit it

Source

Download Best practise whitepaper on XenDesktop / XenApp here

Limitations of Citrix XenDesktop 5.x HDX3D Pro on Physical Machines

Written by Thomas Poppelgaard. Posted in HDX3D Pro, XenDesktop

This article applies to Citrix XenDesktop 5.5 and 5.6 HDX 3D Pro

Summary

This article contains information about the known limitations in running HDX3D Pro on XenDesktop 5.5 physical machines. Display issues, such as the inconsistent monitor blanking, aero not being turned back on, resolution mismatches are particularly noticeable in Windows 7 on a physical PC.

HDX3D Pro on XenDesktop 5.5 was designed for access to data center workstations for high-end 3D professional graphics. Some customers have set up this technology in a physical PC environment and need to be aware of limitations that exist in such an environment.

Limitations

  • Monitor blanking cannot be guaranteed. In particular, PCs with Display Port video connectors are not supported.
  • Connections from a PC must be done with the same number of or fewer monitors than the host PC.
  • Some graphics cards might not work with this feature. The May 2011 Tech Preview release did not work with Intel HD graphics, but this is resolved in the final XenDesktop 5.5 release. Nevertheless, Citrix has not tested every graphics card on the market.
  • Setting the screen resolution can be a bit awkward, for example, it might be necessary to create a custom resolution on the host PC to match the resolution of the remote PC. If the resolution is changed, then the user is required to disconnect/ reconnect unless the Desktop Viewer is not used but Citrix does not recommend disabling it.
  • Users need at least 3 Mbps of network bandwidth. It is assumed that the typical use case is accessible from home over a high-speed Internet connection, such as DSL or cable modem.
  • Aero can be enabled if desired, but consumes an additional CPU core on the host machine. Citrix recommends doing so only if the host is sufficiently powerful.
  • KVM switches are not supported.

Citrix Provisioning Services 6.1

Written by Thomas Poppelgaard. Posted in Citrix, Microsoft, Provisioning, SCCM, SCVVM, Windows 7, Windows Server 2008R2, XenApp, XenClient, XenDesktop, XenServer

Citrix have released to web a new version of Citrix Provisioning Services 6.1. The new version supports Personal vDisk and Microsoft System Center Configuration Manager 2012 and Microsoft System Center Virtual Machine Manager 2012 and finally official support for VmWare vSphere 5.

Citrix Provisioning Services™ uses streaming technology to dynamically deliver server workloads and desktop images on demand to any physical or virtual machine, reducing IT capital and operational costs while increasing business agility.

Provisioning Services 6.1 is a companion release to XenDesktop 5.6 and adds the following new features:

  • Personal vDisk Support: In XenDesktop environments this capability allows user data and desktop configuration changes to be saved between sessions while still giving IT the storage optimization benefits of Provisioning Services Standard Image Mode provisioning.
  • Microsoft System Center 2012 Support: The XenDesktop Setup Wizard, Streamed VM Setup Wizard, and the Image Update feature have been updated to support Microsoft System Center 2012 Configuration Manager and Virtual Machine Manager.

What’s New in Citrix Provisioning Services 6.1:

  • Support for Personal vDisks — Citrix XenDesktop with personal vDisk technology is a high-performance enterprise desktop virtualization solution that makes VDI accessible to workers who require personalized desktops using pooled-static virtual machines. Target devices that use personal vDisks are created using the Citrix XenDesktop Setup Wizard. Within a Provisioning Services farm, the wizard creates and adds target devices with personal vDisks to an existing site’s collection and assigns an existing shared-mode vDisk to that device. The wizard also creates XenDesktop virtual machines to associate with each device. A new type of catalog exists in Citrix Desktop Studio that allows you to preserve the assignment of users to desktops; the same users are assigned the same desktop for later sessions. In addition, a dedicated storage disk is created (before logon) for each user so they can store all personalization’s to that desktop. Personalizations include any changes to the vDisk image or desktop that are not made as a result of an image update, such as application settings, adds, deletes, modifications, documents, etc.
  •  Support for Microsoft System Center 2012 Configuration Manager (SCCM) – The vDisk Update Management feature now supports SCCM 2012 environments.
  •  Support for Microsoft System Center 2012 Virtual Machine Manager (SCVMM) – The XenDesktop Setup Wizard and Streamed VM Setup Wizard now support SCVMM 2012 for Hyper-V environments.
  • Provisioning Services support for KMS licensing no longer requires local administrator privileges. Provisioning Services SoapServer KMS licensing now requires the same VHD mount privileges as Microsoft Windows (SE_MANAGE_VOLUME_PRIVILEGE, which is included in Administrators group by default).
    Note: If upgrading from a past release, be sure to reset the privileges accordingly.
  • Hypervisor support for ESX 5.0.

Source

Download Citrix Provisioning Services 6.1 here (Require MyCitrix ID)

Citrix Profile Management 4.1

Written by Thomas Poppelgaard. Posted in Citrix, Profile Management, XenApp, XenDesktop

Profile management ensures that the user’s personal settings are applied to the user’s virtual desktop and applications, regardless of the location and end point device with best reliability and performance.

Profile management is enabled through a profile optimization service that provides an easy, reliable way for managing these settings in Windows environments to ensure a consistent experience by maintaining a single profile that follows the user. It auto-consolidates and optimizes user profiles to minimize management and storage requirements and requires minimal administration, support and infrastructure, while providing users with improved logon and logout.

Profile management is available as a feature of XenApp Enterprise and Platinum editions and XenDesktop VDI, Enterprise and Platinum editions. Customer entitlement to use this feature is based on Subscription Advantage as outlined in the EULA. Download usage rights of Profile management on previous versions of XenApp and XenDesktop are allowed per the terms of the EULA. Download is extended to Presentation Server 4.5 (Enterprise or Platinum editions) and XenDesktop 4.0 (VDI, Enterprise and Platinum editions

What’s New in Profile Management 4.1

This version includes issues fixed since Version 4.0 was released. For the list of fixed issues, see CTX124164. In addition, this version includes the following new key features:

  • Support for personal vDisk - This XenDesktop feature is a personalization solution for pooled-static virtual desktops. If the feature is enabled, XenDesktop adjusts the Profile management configuration so that profile data is written to and read from the personal vDisk.
  • Group Policy enhancement - Profile management comes with an .admx file that contains all of the same settings as the .adm file, which is still supplied. For more information on .admx files, see your Group Policy documentation.
  • Simplified default inclusions and exclusions - The list of registry entries, files, and folders that are included in and excluded from Profile management processing has been revised to support some newer, commonly used applications.

Source

Download Citrix Profile Management 4.1 here (Require MyCitrix ID)

Citrix XenDesktop 5.6

Written by Thomas Poppelgaard. Posted in Citrix, HDX, HDX3D Pro, XenDesktop

Citrix have released a new version of Citrix XenDesktop and in this version personal vDisk is finally fully implemented i have been waiting very long time for this and many companies are going to love this feature and give their users a better flexible VDI. Another cool thing is the integration to Microsoft System Center Configuration Manager 2012 and Microsoft System Center Virtual Machine Manager 2012.

What’s New in XenDesktop 5.6

XenDesktop 5.6 includes the following new features and enhancements:

  • Personal vDisk - This feature is a personalization solution for virtual desktops. Two new types of catalog allow you to preserve the assignment of users to desktops even when the disk is cleaned at restart; the same user is assigned the same desktop for later sessions. The new catalogs arepooled with personal vDisk (for pooled-static virtual desktops) that you manage with Desktop Studio and streamed with personal vDisk that you manage with Provisioning Services. In addition, a dedicated storage disk is created, before logon, so users can store their data on the desktop, including any applications they install. For background information on this feature, see About Personal vDisks.New commands have also been added to the XenDesktop Software Development Kit (SDK) to support this feature.
  • System Center support - XenDesktop now supports Microsoft System Center 2012 Configuration Manager and Microsoft System Center 2012 Virtual Machine Manager.
  • Virtual Desktop Agent - A new version of the Virtual Desktop Agent fixes issues in the version included with XenDesktop 5.5.
  • Citrix Licensing - Citrix Licensing 11.10 lets you assign access to the License Administration Console using Active Directory Users and Groups.
  • Desktop Director - Desktop Director 2.1 supports personal vDisks and contains fixes since the last release. For more information, see the Desktop Director documentation.
  • Fixed issues - For information on the issues that have been fixed in this release, see CTX124164.

About Personal vDisk

The personal vDisk feature in XenDesktop retains the single image management of pooled and streamed desktops while allowing people to install applications and change their desktop settings.

Unlike traditional Virtual Desktop Infrastructure (VDI) deployments involving pooled desktops, where users lose their customizations and personal applications when the administrator alters the base virtual machine (VM), deployments using personal vDisks retain those changes. This means administrators can easily and centrally manage their base VMs while providing users with a customized and personalized desktop experience.

Personal vDisks provide this separation by redirecting all changes made on the user’s VM to a separate disk (the personal vDisk) attached to the user’s VM. The content of the personal vDisk is blended at runtime with the content from the base VM to provide a unified experience. In this way, users can still access applications provisioned by their administrator in the base VM.

Personal vDisks have two parts, which use different drive letters and are by default equally sized:

  • One part comprises C:\Users (in Windows 7) or C:\Documents and Settings (in Windows XP). This contains user data, documents, and the user profile. By default this uses drive P: but you can choose a different drive letter when you use Desktop Studio to create a catalog with personal vDisks.
  • The other part comprises a Virtual Hard Disk file (a .vhd file). This contains all other items, for example applications installed in C:\Program Files. By default, this part uses drive V: but is hidden from users; this drive is not displayed in Windows Explorer. You can choose a different drive letter by configuring the Virtual Desktop Agent. For information on this, see CTX131432.

Personal vDisks support the provisioning of department-level applications, as well as applications downloaded and installed by users, including those that require drivers, databases, and PC management software. If a user’s change conflicts with an administrator’s change, a personal vDisk provides a simple and automatic way to reconcile the changes.

In addition, locally administered applications (such as those provisioned and managed by local IT departments) can also be provisioned into the user’s environment. The user experiences no difference in usability; personal vDisks ensure all changes made and all applications installed are stored on the vDisk. Where an application on a personal vDisk exactly matches one on a master image, the copy on the personal vDisk is discarded to save space without the user losing access to the application.

Physically, a personal vDisk does not need to be stored with the dedicated pool VM. This frees up high-speed disks for VM storage; the personal vDisk can be placed on a less expensive storage solution, like a file server.

Managing Personal vDisk in XenDesktop 5.6

This topic contains instructions on administering XenDesktop 5.6 after installation and site configuration. It focuses on configuring the personal vDisk feature. For other management tasks, see the documentation for XenDesktop 5XenDesktop 5 Service Pack 1, and XenDesktop 5.5.

Storage for Hosts with Personal vDisks

When you create a host, you define storage locations for disks that are used by virtual machines. You can separate the personal vDisks, which store the user profiles and user-installed applications, from the disks used for the machines’ operating system. Each virtual machine must have access to a storage location for both disks. If you use local storage for both, they must be accessible from the same hypervisor. To ensure this requirement is met, Desktop Studio offers you only compatible storage locations when you create the host.

Storage for Hosts Managed with System Center

If you use Microsoft System Center Virtual Machine Manager, you may have multiple storage devices in a Cluster Shared Volume (CSV). When you create a hosting unit in Desktop Studio, select only one of the devices. If you select multiple devices on the same CSV, copies of the base disk are created and your storage decreases.

To add personal vDisks to existing hosts

You add personal vDisks to new hosts when you configure a new XenDesktop site. You can also add personal vDisks and storage for them to hosts (but not catalogs) that were created with versions of the product before XenDesktop 5.6.

  1. In Desktop Studio, click Configuration > Hosts and select a host.
  2. Click Enable Personal vDisk and specify the storage location.

Creating Machines with Personal vDisks

To create machines with personal vDisks, create a catalog and take these additional steps:

  • On the Machine Type page of the Create Catalog wizard in Desktop Studio, select Pooled with personal vDisk. This is a variant of the pooled-static machine type; machines are assigned to the first user who connects to them. For all subsequent sessions, that user connects to the same machine, and their user data, documents, user profile, and any user-installed applications are stored on a dedicated disk (the personal vDisk). Personal vDisks consist of two parts that separate two types of data. For more information, see About Personal vDisks.
    Note: The Streamed with personal vDisk catalog type is also available. This adds personal vDisks to streamed machines (which load the operating system over a network from Provisioning Services). If you want to use this catalog type, do so in the Provisioning Services Console, not Desktop Studio.
  • On the Number of VMs page, specify the size of the personal vDisk that is used for all desktops in the catalog, and the drive letter that users see. Ensure that the disk is big enough to store a user profile and any applications that a user installs. The minimum is 3 gigabytes (GB). Additional space may be required for user applications and data.
    Note: The setting for the master image’s memory on this page might be overwritten by the desktops’ memory settings. This is true for all virtual desktops created with XenDesktop, not just those with personal vDisks.

To update master images that use personal vDisks

You enable the personal vDisk feature for use with a master image when you install the Virtual Desktop Agent. During the installation procedure and after any update to the image after installation, it is important that the disk’s inventory is refreshed and a new snapshot is created. This procedure describes the required steps.

Because administrators, not users, manage master images, if you install an application that places binary files in the administrator’s user profile, the application is not available to users of shared virtual desktops (including those based on pooled catalogs and pooled with personal vDisk catalogs). Users must install such applications themselves.

It is best practice to take a snapshot of the image after each step in this procedure.

  1. Update the master image by installing any applications or operating system updates, and performing any system configuration on the machine.For master images based on Windows XP that you plan to deploy with personal vDisks, check that no dialog boxes are open (for example, messages confirming software installations or prompts to use unsigned drivers). Open dialog boxes on master images in this environment prevent the Virtual Desktop Agent from registering with the controller. You can prevent prompts for unsigned drivers using the Control Panel. For example, on Windows XP click System > Hardware > Driver Signing, and select the option to ignore warnings.
  2. Shut down the machine. For Windows 7 machines, click Cancel when Citrix personal vDisk blocks the shutdown.
  3. In the Citrix personal vDisk dialog box, click Update Inventory. This step may take several minutes to complete.
    Important: If you interrupt the following shutdown (even to make a minor update to the image), the personal vDisk’s inventory no longer matches the master image. This causes the personal vDisk feature to stop working. If you interrupt the shutdown, you must restart the machine, shut it down, and when prompted click Update Inventory again.
  4. When the inventory operation shuts down the machine, take a snapshot of the master image.

To resize personal vDisks

A PowerShell script is included in this release that allows you to resize existing personal vDisks in a catalog. The script iterates through the machines in the catalog, changing the size where possible. Resizing takes effect the next time the machines are turned on.

You cannot resize Windows XP machines hosted on VMware ESX using the script.

Do not use the script to manage existing environments in other ways. Use Desktop Studio or Provisioning Services for other management operations.

Before following this procedure, determine the current size of the personal vDisks and choose a new size. In addition, the following PowerShell snapins must be installed on the computer running the script:

  1. Put the machines in the catalog into maintenance mode.
  2. Locate the script resize-personal-vdiskpool.ps1 in the Support\Tools\Scripts folder of the full or upgrade image.
  3. At a command prompt, run the script and select the catalog whose personal vDisks you want to resize. If a script error occurs, dismiss it by runningSet-ExecutionPolicy RemoteSigned.
    Note: For 64-bit XenServer deployments, run the script from a 32-bit command prompt.
  4. Accept the defaults for the storage location and, if displayed, the decision on thin-provisioning. The script displays these properties, which you should not change.
  5. Enter the new size for the personal vDisks. The minimum is 3 gigabytes (GB). Additional space may be required for user applications and data.
  6. When prompted, confirm the selections you made.
  7. Enter the administrator’s user name and password.Where possible, the personal vDisks in the catalog are resized and the machines they are attached to restart. When disk preparation is complete, the machines shut down. This process may take several minutes to complete.The script lists the machines whose vDisks cannot be resized. Check the power state of these machines, and rerun the script to complete the resizing operation on the entire catalog.

Managing Virtual Desktops with System Center Configuration Manager

You can use XenDesktop with Microsoft System Center 2012 Configuration Manager to manage virtual desktops. XenDesktop makes certain desktop properties available to Configuration Manager. You can query the properties or retrieve them from the desktops and include them in the hardware inventory feature of Configuration Manager. The properties are described in Desktop Properties Available to System Center Configuration Manager.

System Center Configuration Manager Client Installations

For provisioned desktops, install the System Center Configuration Manager client on your master image, either before or after installing the Virtual Desktop Agent. Typically, you do this by performing a client-push installation using Configuration Manager.

If you upgrade System Center 2012 Configuration Manager, you may need to upgrade your base image with the corresponding version of the client. If you do not, the new version of the client may be installed on each pooled desktop each time it is restarted.

To allow the client-push installation to take place and for Configuration Manager to communicate with the client, the following firewall exceptions are needed on machines running the Virtual Desktop Agent:

  • File and Printer Sharing
  • Windows Management Instrumentation (WMI)

Depending on your deployment, you may need additional or different exceptions. For information on firewall exceptions needed with System Center 2012 Configuration Manager and using System Center in general, see your Microsoft documentation.

Using System Center Configuration Manager to Manage Virtual Desktops Created with Provisioning Services

To ensure any desktops created with Provisioning Services operate correctly with System Center 2012 Configuration Manager, you must set the write cache to the target device’s hard drive. Using the Provisioning Services Console, in vDisk Properties, select Cache on device hard drive as the Cache Type. If you do not configure the cache this way, data required by System Center Configuration Manager is not persisted when the desktops are restarted, which may result in unexpected behavior.

To relocate user profiles

If you use the personal vDisk feature in XenDesktop, by default user profiles are stored on the personal vDisk’s P: drive not the virtual desktop’s C: drive. If instead you want Citrix Profile management (not the personal vDisk) to process the profiles, you adjust this default when installing the Virtual Desktop Agent by modifying the Registry on the master image used for a new catalog. In this scenario, because the catalog is new, no users have logged on, so no profiles are stored on the P: drive.

Source

Download Citrix XenDesktop 5.6 (require MyCitrix ID)

 

Recent Comments

Thomas Poppelgaard

|

Hi i have changed the colors. Is this better ?

I have also optimized the load of the articles (text, photo) compression it should be must faster now.

Let me hear your thoughts, thank you for using my site.
/Poppelgaard

ylzjyu

|

Hi:
Blog background is not comfortable

Like the old style

Edmund Fuerst

|

Really great job. Thank you!!!

Yusuf Assenjee

|

We have a model of the 3690 that does not have this setting in Uefi

infinite boot retry

we cannot get Xen 6 to boot.

Any hint?

ylzjyu

|

Hi,Poppelgaard
Thank you very much.
I like your site.

Feeds from Citrix Blog :