You are previewing Citrix® XenApp® 6.5 Expert Cookbook.
O'Reilly logo
Citrix® XenApp® 6.5 Expert Cookbook

Book Description

For experts only, this cookbook is a superbly structured interactive guide to the advanced features of Citrix XenApp. It will give you the know-how to build an effective and robust virtualization infrastructure.

In Detail

In the age of cybernation, Citrix XenApp has emerged as a prolific application virtualization product. This powerful solution enables users or an enterprise to have centrally hosted and managed applications on corporate servers which can be accessed remotely from a wide range of computer and mobile devices. To deliver shared hosted virtual desktops and applications, XenApp synchronizes with Citrix tools such as NetScaler Gateway that offer secure remote access.

Giving you an insight into configuring, managing, and optimizing the advanced features of Citrix XenApp, this practical guide starts by helping you establish Remote Desktop Services and understanding the Citrix Licensing protocol. You then get a walkthrough of the Citrix Web Interface and then finally move on to successfully manage your XenApp server using PowerShell and command-line tooling.

"Citrix® XenApp® 6.5 Expert Cookbook" clearly teaches you to work with the XenApp tool to deliver published desktops and applications from a XenApp server to the end user.

Packed with practical recipes, this book starts with helping you understand the basics of Remote Desktop Services and proceeds to explain in detail the usage of Citrix License servers. Furthermore, you will learn to utilize the Citrix web interface, which acts as the central portal where users remotely access their desired applications. Next, you will move on to the key technical implementation of the NetScaler Gateway tool which Citrix uses to provide secured services.

Finally, you will advance to learn about the basic management consoles and tooling, configuration, and troubleshooting methods of XenApp with command-line tools and PowerShell scripts. You will also get a glimpse into the buzzing Citrix community by learning some great additional tools and scripts built by Citrix community enthusiasts.

This guide is an invaluable tutorial to help you to explore and optimize the XenApp tool to virtually deliver desktops and applications

What You Will Learn

  • Configure and manage Remote Desktop Services
  • Understand Citrix License Server
  • Utilize the Citrix Web Interface
  • Manage Citrix StoreFront
  • Deploy NetScaler Gateway
  • Optimize the Citrix XenApp
  • Learn to configure XenApp with command-line and PowerShell scripts
  • Utilize Citrix community tools
  • Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.

    Table of Contents

    1. Citrix® XenApp® 6.5 Expert Cookbook
      1. Table of Contents
      2. Citrix® XenApp® 6.5 Expert Cookbook
      3. Credits
      4. Notice
      5. About the Author
      6. Acknowledgments
      7. About the Reviewers
      8. www.PacktPub.com
        1. Support files, eBooks, discount offers and more
          1. Why Subscribe?
          2. Free Access for Packt account holders
          3. Instant Updates on New Packt Books
      9. Preface
        1. What this book covers
        2. What you need for this book
        3. Who this book is for
        4. Conventions
        5. Reader feedback
        6. Customer support
          1. Downloading the color images of this book
          2. Errata
          3. Piracy
          4. Questions
      10. 1. Remote Desktop Services
        1. Introduction
        2. Scripting a command-line installation of the RD License Server
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Configuring the RD License Server
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Scripting a command-line installation of the RD Session Host
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        5. Configuring the RD Session Host
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Configuring RDS settings with Microsoft Group Policies
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Revoking RDS Device CALs with the RD License Manager
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        8. Creating RDS Per User CALs Reports
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        9. Using the Licensing Diagnosis snap-in for RD Session Hosts
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        10. Troubleshooting RD License Server discovery
          1. How to do it...
          2. How it works...
          3. See also
        11. Troubleshooting RD License Issuance
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        12. Rebuilding the RD License Database
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        13. Recovering your RDS CALs to a new RD License Server
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
      11. 2. Citrix® License Server
        1. Introduction
        2. Scripting a command-line installation and configuration of the Citrix® License Server
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Installing the license files on your Citrix® License Server manually
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Configuring console user accounts for the management console
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        5. Monitoring the Citrix® license usage on the Dashboard
          1. How to do it...
          2. How it works...
          3. There's more...
        6. Changing port numbers on the Citrix® License Server
          1. How to do it...
          2. How it works...
          3. There's more...
        7. Clustering the Citrix® License Server with Microsoft Clustering
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        8. Finding your Citrix® License Server version
          1. How to do it...
          2. There's more...
          3. See also
        9. Recovering your password when locked out of the Licensing Administration Console
          1. How to do it...
          2. See also
        10. Using LSQuery, a License Server Data Collection Tool
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        11. Resetting the license count
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        12. Troubleshooting tools for the Citrix® License Server
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
      12. 3. Citrix® Web Interface
        1. Introduction
        2. Scripting a command-line installation of the Citrix® Web Interface
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Creating a Citrix® Web Interface XenApp® website
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        4. Customizing the Citrix® Web Interface's look
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        5. Creating a Citrix® Web Interface XenApp® Services Site
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        6. Configuring site settings with webinterface.conf
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        7. Building your own language pack
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        8. Load balancing your Citrix® Web Interface with Microsoft NLB
          1. Getting ready
          2. How to do it...
          3. There's more...
        9. Speeding up the Web Interface's first logon time
          1. How to do it...
          2. How it works...
          3. There's more...
        10. Fixing pass-through authentication
          1. How to do it...
          2. There's more...
        11. Troubleshooting application launch errors
          1. How to do it...
          2. How it works...
          3. There's more...
        12. Configuring application launch settings
          1. How to do it...
          2. How it works...
          3. There's more...
      13. 4. Citrix® StoreFront
        1. Introduction
        2. Scripting a command-line installation of Citrix® StoreFront
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        3. Configuring a StoreFront Store
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        4. Configuring StoreFront Receiver for the Web
          1. How to do it...
          2. See also
        5. Configuring Remote Access for a Store
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        6. Configuring StoreFront for mobile devices
          1. How to do it...
          2. There's more...
          3. See also
        7. Configuring StoreFront Receiver for the Web using configuration files
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        8. Managing application behavior by adding keywords
          1. How to do it...
          2. How it works...
          3. There's more...
        9. Changing the Server Base URL
          1. How to do it...
          2. There's more...
        10. Troubleshooting StoreFront Errors
          1. Getting ready
          2. How to do it...
          3. How it works...
      14. 5. The NetScaler Gateway
        1. Introduction
        2. Licensing the Citrix® NetScaler Gateway Enterprise Edition
          1. Getting ready
          2. How to do it...
          3. How it works...
        3. Configuring the Citrix® Web Interface with a NetScaler Gateway authentication point
          1. How to do it...
        4. Configuring the NetScaler Gateway for the Citrix® Web Interface
          1. Getting ready
          2. How to do it...
          3. There's more...
        5. Configuring the NetScaler Gateway for Citrix® StoreFront (CSF)
          1. Getting ready
          2. How to do it...
          3. There's more...
        6. Changing the NetScaler Gateway's logon page theme
          1. How to do it...
        7. Using VLANs on the NetScaler Gateway
          1. How to do it...
        8. Checking the NetScaler Gateway's performance statistics
          1. How to do it...
        9. Recovering the password for the NetScaler Gateway
          1. How to do it...
        10. Saving, restoring, and comparing the NetScaler Gateway configurations
          1. How to do it...
      15. 6. XenApp® Management
        1. Introduction
        2. Scripting a command-line installation and configuration of the Citrix® XenApp® server
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        3. Creating custom administrative roles for delegated management
          1. How to do it...
        4. Sending a message to one or more logged on XenApp® users
          1. How to do it...
        5. Creating a custom Load Evaluator
          1. How to do it...
          2. How it works...
        6. Using Worker Groups to cluster XenApp® servers and configurations
          1. How to do it...
          2. How it works...
          3. There's more...
        7. Configuring the ICA Listener
          1. How to do it...
        8. Configuring the HDX MediaStream Flash Redirection
          1. How to do it...
          2. How it works...
          3. There's more...
        9. Configuring advanced printing settings
          1. How to do it...
          2. How it works...
          3. There's more...
        10. Working with print drivers on Citrix® XenApp®
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        11. Logging administrative changes to a XenApp Farm
          1. Getting ready
          2. How to do it...
          3. There's more...
        12. Enabling the Windows 7 look and feel desktop theme
          1. Getting ready
          2. How to do it...
          3. There's more...
        13. Implementing the Citrix® XenApp® Mobility Pack
          1. How to do it...
          2. How it works...
          3. There's more...
      16. 7. XenApp® Maintenance and Monitoring
        1. Introduction
        2. Monitoring live session information with AppCenter
          1. How to do it...
        3. Installing hotfixes and rollup packages
          1. How to do it...
          2. How it works...
          3. There's more...
        4. Validating the integrity of the XenApp® Farm Data Store database
          1. How to do it...
          2. How it works...
          3. There's more...
        5. Maintaining the XenApp® Farm Data Store
          1. How to do it...
          2. How it works...
          3. There's more...
        6. Preparing for XenApp® imaging and provisioning
          1. How to do it...
          2. There's more...
        7. Monitoring XenApp® with Performance Monitor
          1. How to do it...
          2. There's more...
        8. Monitoring XenApp® server status with EdgeSight
          1. Getting started
          2. How to do it...
          3. There's more...
        9. Monitoring XenApp® with Health Monitoring and Recovery
          1. How to do it...
          2. There's more...
        10. Managing XenApp® resource allocation
          1. How to do it...
          2. How it works...
          3. There's more...
        11. Configuring XenApp® reboot schedules for maintenance
          1. How to do it...
          2. How it works...
          3. There's more...
        12. Monitoring user sessions with Desktop Director for XenApp® 6.5
          1. Getting started
          2. How to do it...
      17. 8. XenApp® Policies
        1. Introduction
        2. Creating a XenApp® Computer or User policy
          1. Getting ready
          2. How to do it...
          3. There's more...
          4. See also
        3. Adding filters to a policy
          1. How to do it...
          2. See also
        4. Comparing XenApp® policies and templates
          1. How to do it...
          2. There's more...
          3. See also
        5. Simulating connection scenarios with Citrix® policies
          1. How to do it...
          2. See also
        6. Configuring policy priorities and exceptions
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        7. Configuring and maintaining XenApp® printing
          1. How to do it...
          2. How it works...
          3. There's more...
          4. See also
        8. Enabling shadowing
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
        9. Assigning Load Evaluators to servers and applications
          1. Getting ready
          2. How to do it...
          3. See also
        10. Enhancing user experience with HDX
          1. How to do it...
          2. How it works...
          3. See also
        11. Redirecting the client drives of the user device
          1. How to do it...
          2. How it works...
          3. See also
        12. Configuring session pre-launch and lingering options
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
          5. See also
      18. 9. XenApp® Troubleshooting
        1. Introduction
        2. Starting AppCenter more rapidly
          1. How to do it...
          2. How it works...
          3. There's more...
        3. Troubleshooting the Protocol Driver error message
          1. How to do it...
          2. There's more...
        4. Troubleshooting the IMA service
          1. How to do it...
          2. There's more...
        5. Troubleshooting pass-through authentication with Web Interface
          1. How to do it...
          2. There's more...
        6. Troubleshooting XenApp® policies for Worker Groups
          1. How to do it...
          2. There's more...
        7. Using HDX Monitor to check user experience
          1. Getting ready
          2. How to do it...
        8. Getting a full desktop instead of the published application
          1. How to do it...
        9. Troubleshooting printer drivers on XenApp® servers
          1. How to do it...
          2. How it works...
          3. There's more...
        10. Retaining client printer settings in user profile
          1. Getting ready
          2. How to do it...
          3. There's more...
        11. Mapping client printers does not work when connecting through Web Interface 5.4
          1. How to do it...
        12. Troubleshooting client clipboard issues
          1. How to do it...
        13. Using Citrix® Auto Support to troubleshoot a XenApp® server
          1. Getting ready
          2. How to do it...
      19. 10. PowerShell and Command-line Tooling
        1. Introduction
        2. Retrieving the XenApp® Farm information with QUERY
          1. How to do it...
          2. How it works...
          3. There's more...
        3. Diagnosing the XenApp® load balancing rules with LBDIAG
          1. How to do it...
          2. How it works...
          3. There's more...
        4. Performing data store maintenance with DSMAINT and DSCHECK
          1. How to do it...
          2. How it works...
          3. There's more...
        5. Installing the XenApp® 6.5 PowerShell SDK
          1. How to do it...
        6. Replicating printer drivers with PowerShell
          1. Getting ready
          2. How to do it...
          3. There's more...
        7. Creating Citrix® policies with PowerShell
          1. Getting ready
          2. How to do it...
          3. How it works...
        8. Changing the XenApp® product edition with PowerShell
          1. Getting ready
          2. How to do it...
        9. Creating a basic XenApp® inventory report with PowerShell
          1. Getting ready
          2. How to do it...
        10. Managing Farm administration roles with PowerShell
          1. Getting ready
          2. How to do it...
          3. How it works...
        11. Checking the XenApp® server load with PowerShell
          1. Getting ready
          2. How to do it...
        12. Monitoring the Citrix® License Server with PowerShell
          1. How to do it...
      20. 11. XenApp® Infrastructure Best Practices
        1. Introduction
        2. Administrating XenApp® Farms Best Practices
          1. How to do it...
        3. Implementing XenApp® Virtualization best practices
          1. How to do it...
        4. Implementing Citrix® XenApp® recommendations
          1. How to do it...
          2. There's more...
        5. Optimizing Guide for XenApp® 6.5 Computer settings
          1. How to do it...
        6. Optimizing Guide for XenApp® 6.5 User settings
          1. How to do it...
        7. Printing recommendations for Citrix® XenApp®
          1. How to do it...
          2. How it works...
          3. There's more...
        8. Configuring Citrix® policies Best Practices
          1. How to do it...
        9. Designing User Profile Best Practices for XenApp®
          1. How to do it...
          2. There's more...
        10. Configuring Citrix® guidelines for antivirus software
          1. How to do it...
        11. Planning XenApp® High Availability
          1. How to do it...
        12. Migrating from Citrix® Web Interface to StoreFront Best Practices
          1. How to do it...
          2. There's more...
      21. 12. Citrix® Community
        1. Introduction
        2. The Citrix® Community website
          1. How to do it...
        3. Carl Webster – XenApp® 6.5 Farm documentation scripts
          1. Getting ready
          2. How to do it...
          3. How it works...
          4. There's more...
        4. Michel Stevelmans – Farm Nanny
          1. How to do it...
          2. How it works...
          3. There's more...
        5. Dane Young – Citrix® Chained Reboot script
          1. How to do it...
          2. How it works...
        6. Jason Poyner – XA6.5 Farm Health Check script
          1. How to do it...
          2. There's more...
        7. Andrew Morgan – ThinKiosk
          1. Getting ready
          2. How to do it...
          3. How it works...
            1. Local Machine Configuration
            2. Profile Editor
            3. ThinKiosk
              1. ThinKiosk Enterprise Edition
        8. Helge Klein – Delprof2, a User Profile Deletion Tool
          1. How to do it...
          2. How it works...
        9. Smart-X – ControlUp Basic Edition
          1. How to do it...
          2. How it works...
          3. There's more...
      22. Index