Daniele Tosatto

Application delivery and virtualization news

Browsing Posts in XenApp

Administration has changed quite a bit in XenApp 6. Not only have a few Citrix-related policies have been added or modified, but there are new options for administration. Citrix policies are now based on user or computer policies, and they can be administered as Active Directory GPOs. That combined with Worker Groups based on OUs may initially seem complex but really can mean much more efficient administration of your XenApp servers via Active Directory—if you understand your options.

First, let’s take a look at the options that are available for administration of Citrix computer policies based on the Citrix recommended preference order:

Worker Groups can be based on OUs, Server Group Accounts, or Farm Servers. Essentially, it is a grouping of servers that will take on the same characteristics, and each server can belong to one or more worker groups. If OUs are used as the basis for Worker Groups, servers that are added or deleted from OUs automatically take on the characteristics of a specific Worker Group. Please see CTX124481 for more information about Worker Groups.

Where possible, Citrix recommends administering XenApp 6 via Active Directory using the Group Policy Management Console; it is installed by default with XenApp 6 for this purpose. However, the administrator must have administrative rights to the OUs that house the Citrix servers. Please see XenApp 6 Policies and Group Policy Integration for more information about XenApp 6 policies.

To take it one step further, when Citrix Provisioning services is used to create new XenApp servers, these can automatically be assigned to an OU. If published applications and Citrix policies are configured based on Worker Groups and Worker Groups are based on OUs, administration is greatly simplified. Let’s walk through that flow:
• New server gets provisioned via Citrix Provisioning services; it is automatically assigned to an OU
• The server automatically inherits characteristics based on the Worker Group designation, including published applications and Citrix policies

Thus, the only process initiated was the provisioning of the new XenApp server. If the applications are embedded in the XenApp image or automatically streamed, the server is now functional.

Additionally, an administrator should:
• Apply the correct load evaluator (newly installed server defaults to the default load evaluator)
• Move the server to a different zone if required
That’s it!

Citrix does not recommend mixing administration methods. A mix-and-match approach can cause undesired results because the policies are applied from different sources and may overwrite in ways not intentioned. It’s kind of like three business partners having access to a bank account and no one looks at the balance before making a withdrawal—the results may not be good.

As an example, if you import policies via the XenApp 6 Migration Tool, those policies are written into the IMA Data Store. If you plan to administer your new XenApp 6 farm by means of Active Directory, you’d have policies in two repositories, i.e., AD GPO and IMA Data Store. Keeping in mind that Citrix policies are applied based on hierarchy – i.e., the precedence order is child OU; parent OU; subsequent parent OU; Domain; Site; IMA; Local – having policies in more than one place may produce results other than what you had intentioned. If you want to streamline the imported Migration Tool policies into an AD GPO, additional steps are required. Look for an upcoming blog from Juliano Maldaner that explains this.

XenApp 6 provides multiple options for administration. If unsure as to which is best and you have administrative rights to Active Directory for OUs that house the XenApp servers, use the Group Policy Management Console. Nonetheless, make a decision initially as to how you will administer your XenApp farm and then continue to use that method.

Keeping track of the technical details of Citrix and Microsoft products can be confusing, but when was the last time you took stock of licensing? While organizations strive to be in legal compliance, that can be a complex task.

The most direct way to ensure compliance is to read through the End User Licensing Agreement (EULA) of every product that you install and to maintain detailed records. Realistically, how many administrators routinely click “I Accept” vs. those that read through the entire EULA . . . that’s what I thought.

E = Enterprise edition
P = Platinum edition
**XenDesktop Enterprise or Platinum licensing required when XenApp infrastructure used to implement App-V to XenDesktop.

Citrix and Microsoft licensing was covered as part of the Application Delivery Options for XenApp and/or XenDesktopTechtalk that I delivered a few weeks ago because licensing is certainly one of the technical considerations when deciding exactly how applications should be made available to users. Of course, you must license the operating system from Microsoft and comply with vendor application licensing. But there’s more to it when it comes to licensing for XenApp, XenDesktop, and/or App-V functionality.

Of course, XenDesktop Enterprise and Platinum licensing incorporates the respective edition of XenApp. Bottom line is that if you have XenDesktop Platinum licensing, you get all of the listed Citrix technologies.

Okay, what about Microsoft licensing? Just when you thought you understood it, there are a number of changes coming on July 1st. What you previously knew as VECD licensing doesn’t exist anymore. And there’s more . . .

The table above gives you a high-level overview of Microsoft licensing. A few notable items:
• SA or VDA licensing is required for the endpoint. The difference is whether the endpoint is a Windows-based device or a non-Windows-based device.
• Terminal Services/Remote Desktop Services Client Access Licenses include App-V to XenApp servers. However, where App-V will be used on virtual or physical desktops, additional licensing is required.

For more information on Microsoft licensing, please see:
http://download.microsoft.com/download/5/0/5/5059CBF7-F736-4D1E-BF90-C28DADA181C5/Microsoft%20VDI%20and%20Windows%20VDA%20FAQ%20v2%200.pdf
http://download.microsoft.com/download/C/6/7/C673E444-6DDD-40B8-B29F-625354F2A8F7/Licensing_Windows_for_Virtual_Desktops_Whitepaper.pdf
http://blogs.technet.com/b/yungchou/archive/2010/06/11/microsoft-vdi-licensing-primer.aspx

Have you heard of the XenApp 6 Migration Tool?

http://support.citrix.com/article/ctx125471
You can use the the cmdlets to move XenApp settings from a legacy XenApp 5 server farm and move them to a new XenApp 6 farm.
Below are the requirements, and available cmdlets you can use for migrating:
Requirements and Install:
http://support.citrix.com/proddocs/index.jsp?topic=/xenapp-w2k8-migrating/ps-migrate-xa6-requirements-install.html

  • .NET Framework 3.5 SP1
  • MSI 3.0
  • PowerShell 2.0

How To Use:

http://support.citrix.com/proddocs/index.jsp?topic=/xenapp-w2k8-migrating/ps-migrate-xa6-using-cmdlets.html

CMDLETS:

(For complete PowerShell syntax, type Get-Help cmdlet)

http://support.citrix.com/proddocs/index.jsp?topic=/xenapp-w2k8-migrating/ps-migrate-xa6-cmdlet-ref.html

Cmdlet

Description

Add-XAServerMapping Adds a server mapping.
Add-XASettingOverride Specifies a value for an object property.
Get-XALegacySettingName Outputs the settings you can use with the Add-XASettingOverride cmdlet.
Get-XAMigrationObjectCount Outputs a count of objects in the legacy and new farms.
Get-XAMigrationOption Outputs the list of migration options.
Get-XAServerMapping Outputs the list of server mappings.
Get-XASettingOverride Outputs the list of object property value overrides.
Remove-XAServerMapping Removes a server mapping.
Remove-XASettingOverride Removes an object property value override.
Set-XAMigrationOption Sets migration options.
Start-XAMigration Starts the migration.

ADVANCED CDMLETS:

http://support.citrix.com/proddocs/index.jsp?topic=/xenapp-w2k8-migrating/ps-migrate-xa6-advanced.html

-        Get-XALegacyAdministrator
-        Get-XALegacyApplication
-        Get-XALegacyFarmConfiguration
-        Get-XALegacyFolder
-        Get-XALegacyHmrTest
-        Get-XALegacyLoadEvaluator
-        Get-XALegacyPolicy
-        Get-XALegacyPolicyConfiguration
-        Get-XALegacyPolicyFilter
-        Get-XALegacyServer
-        Get-XALegacyServerConfiguration
-        Get-XALegacySessionPrinter
-        Convert-XALegacyObject
-        New-XALegacyConnection
-        Remove-XALegacyConnection

This article describes how to install Citrix Receiver 11.1 on Ubuntu.

Requirements

Ubuntu, Citrix Receiver 11.1, OpenMotif 2.3.1

Background

Citrix Receiver 11.1 for Ubuntu (Debian) requires OpenMotif 2.3.1 or greater if you plan to use the GUI for connections. The procedure below installs OpenMotif and Citrix Receiver 11.1.

If you do not require the GUI and only plan to use Web Interface, you do not have to install OpenMotif.

Procedure

The steps to complete the task are as follows:

Installing Citrix Receiver 11.1 on Ubuntu

Prerequisites

Citrix Receiver for Linux v11.1 requires OpenMotif v2.3.1 or greater to use the Graphical User Interface (Custom ICA Connections and PNAgent).

OpenMotiv 2.3.1 is not available as a Ubuntu (Debian) Package at the time of this writing. The current version available using the APT package manager is 2.2.3-4.

The first step in this configuration is to install OpenMotif 2.3.1.

Download OpenMotif 2.3.1. You can find this in the download section of motifzone.net. http://www.motifzone.net/filebrowser/openmotif/2.3/2.3.1

You can install OpenMotif 2.3.x by converting the RPM pack to DEB using Alien. Alien is a program that converts between Red Hat RPM, Debian DEB, Stampede SLP, Slackware TGZ, and Solaris PKG formats. The first method described in this article will convert the RPM package to a DEB package.

  1. Install OpenMotif 2.3.1.
  2. Convert RPM to DEB:
    a. Download the RPM package from the website.

    http://www.motifzone.net/files/public_downloads/openmotif/2.3/2.3.3/openmotif-2.3.3-1.el5.3.i386.rpm

    b. Install Alien if not already installed:
    sudo apt-get install alien

    c. Convert RPM to DEB:
    sudo alien –d openmotif-2.3.3-1.el5.3.i386.rpm

    d. Install the DEB Package:
    sudo dpkg –i openmotif-2.3.3-2_i386.db

  3. Install using Ubuntu/Debian package:
    You can still technically install libmotif3 using the Ubuntu/Debian package manager and create a symbolic link to the required libraries.
    sudo apt-get install libmotif3
    sudo ln –s /usr/lib/libXm.so.3.0.2 /usr/lib/libXm.so.4
  4. Install the ICA Client.
    Download the Receiver from the Citrix website at:

    http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755

    There are two ways to install: from the DEB package or from source.

    Install from DEB package:
    dpkg –i ica_client_11.100_i386.patched.deb

    Accept the EULA. Citrix Receiver is now available from the Application Menu under Internet or can be launched from the terminal window: /usr/lib/ICAClient/wfcmgr

    Install from source:
    a. Download the tar.gz file from the Downloads section of the Citrix website.

    http://www.citrix.com/English/ss/downloads/details.asp?downloadId=3323&productId=186&c1=sot2755#top

    b. Extract the files:
    tar –xzvf linuxx86-11.100-158406.tar.gz

    c. Run the setup script as Super User to install for all users and follow the prompts:
    sudo ./setupwfc

Select a setup option:

1. Install Citrix Receiver for Linux 11.100
2. Remove Citrix Receiver for Linux 11.100
3. Quit Citrix Receiver for Linux 11.100 setup

Enter option number 1-3 [1]: 1

Please enter the directory in which Citrix Receiver for Linux is to be installed.
[default /usr/lib/ICAClient]
or type “quit” to abandon the installation:

You have chosen to install Citrix Receiver for Linux 11.100 in /usr/lib/ICAClient.

Proceed with installation? [default n]: y

CITRIX(R) LICENSE AGREEMENT

Use of this component is subject to the Citrix license covering the
Citrix product(s) with which you will be using this component. This
component is only licensed for use with such Citrix product(s).

CTX_code EP_T_A34320

Select an option:

1. I accept
2. I do not accept

Enter option number 1-2 [2]: 1
Installation proceeding…

Checking available disk space …
Disk space available 16311224 K
Disk space required 6923 K

Continuing …
Creating directory /usr/lib/ICAClient
Core package…
Setting file permissions…
Integrating with browsers…
Browsers found.

Integration complete.
Do you want to integrate Citrix Receiver with KDE and GNOME? [default y]: y
Do you want GStreamer to use the plugin from this client? [default y]: y
Do you want to install USB support? [default n]: y
* Starting Citrix USB daemon [ OK ]

Select a setup option:

1. Install Citrix Receiver for Linux 11.100
2. Remove Citrix Receiver for Linux 11.100
3. Quit Citrix Receiver for Linux 11.100 setup

Enter option number 1-3 [2]: 3
Quitting Citrix Receiver for Linux 11.100 setup.

Running Citrix Receiver

If you chose to integrate Citrix Receiver with either Gnome or KDE, it is now in the Applications Menu under Internet. You can also run the Receiver GUI using the following command:

usr/lib/ICAClient/wfcmgr

More Information

Gstreamer codecs are already up-to-date in the version of Ubuntu.

XenApp 6 has now been available for about two months.

There are some concerns about the transition to XenApp 6 being that mixed farms and upgrades aren’t supported and that migration is the only option. Another major area of concern is app compatibility. Let’s address these items:

•Mixed Farms. For each of the XenApp/Presentation Server/MetaFrame product releases, warning statements about mixed farms have existed, and best practice has always been to run a native farm. These warnings statements range from potential unexpected results to multiple if/then requirements and lots of maybe’s in between.
•Upgrades: Citrix doesn’t support upgrading the operating system and then upgrading the Citrix product version, and XenApp 6 is no different. XenApp 6 is purpose-built for Windows Server 2008 R2 (and only Windows Server 2008 R2!). Not being able to upgrade the OS and XenApp version continues with XenApp 6.
•Migration: Unlike previous versions of XenApp, XenApp 6 includes a Migration Tool that will enable you to export your existing farm and app settings to your new farm. Previously, you could only export/import published app settings. This PowerShell tool is currently in beta through MyCitrix.com and will be released in a few weeks.
•App Compatibility: While 16-bit apps can’t run on a 64-bit operating system, 32-bit apps are generally fine. Research whether your concerns are real or not so real. Test your apps or use a tool such as App-DNA to determine potential app issues. If your concerns are real, consider VM Hosted Apps.

From Citrix blog, Let’s step back and discuss why migration is now the only option.

•Worker Group data: The Data Store for a XenApp 5 farm vs. a XenApp 6 farm differs due worker group data. XenApp 5 has no provision for this, and a business decision had to be made regarding adding functionality such as worker groups vs. mixed farm support.
•Integration with Active Directory: While XenApp has always been integrated with Active Directory, XenApp 6 takes that integration to a new level. The Group Policy Management Console can be used to administer XenApp 6. Further, when new servers are placed into OUs and automatically spun up via Provisioning services, a XenApp server can take on settings automatically.
•Operating System: Because operating system upgrades are not supported by Citrix for any component, installing a clean, new Windows Server operating system and then the new XenApp version is required anyway.
•Tech Support issues: Quite a few Tech Support issues were raised due to mixed farms, and some of these could never be resolved. Engineering could never test all of the “what if’s” that could present themselves in a mixed farm environment. So, we had customers that could never be totally content with the mixed farm approach.

While XenApp 5 is good, XenApp 6 takes on a whole new level of functionality — and hopefully now you can see why mixed farm compatibility would have been counterproductive.

Some resources you may find helpful:
CTX124481: Advanced Farm Administration with XenApp Worker Groups
CTX124241: Technical Guide to Upgrading/Migrating to XenApp 6

There are tremendous benefits to moving to XenApp 6 — a single management console, worker group functionality, improved AD integration, and much more. Give yourself a solid hour or two to work with it in your lab, and you’ll be giving thought to how fast you can migrate to XenApp 6!

Microsoft SQL Server 2008 R2 Express

In order to Migrate Data Store residing on Microsoft SQL Server 2008 R2 Express install Microsoft SQL 2008 Express Management Studio tool to take a backup of MF20 Database residing on Microsoft SQL Server 2008 R2 Express.

You can download X64 Bit of Microsoft SQL Server 2008 R2 Express from here
http://www.microsoft.com/express/Database/

Once you have the Management Studio Installed, Login to your Source Server and take a backup of the MF20 Database. The File Name will be MF20.Bak

Install Microsoft SQL Server 2008 R2 Express on the Host Server and install the Management Studio and Login and create a Blank Database called MF20, once you have the database created, Restore the Database which is been backed up.

Once the restoration is Successful, now we need to point the XenApp Server to New Datastore.

Stop Citrix Independent Management Architecture (IMA)Services on the XenApp Server.

On the XenApp Server Open ODBC and click on File DSN and click on ADD, Select SQL Server and click on next and click on browse and point it to the MF20.dsn residing in the IMA Folder (C:\Program Files (x86)\Citrix\Independent Management Architecture)

(See Screenshot)

Select MF20.dsn and click on Finish.

Now you need to point MF20.dsn to the New SQL Server through creating a New Data Source

(See Screenshot)

After pointing the MF20.dsn to MF20 Database on the New Server, recreate Local Host cache (LHC) on the Source Server (Please make sure you have stopped IMA Services before recreating LHC)

Now Start Citrix Independent Management Architecture (IMA) Services and open Citrix Delivery Services Consoleand verify Farm is connecting to the Datastore.

Web Interface is one of the principle attributes of Citrix XenApp and now NetScaler MPX provides the ability run the Web Interface service support directly, without requiring a separate server. This built-in support option provides a provides a host of benefits to your XenApp infrastructure, that includes – lower TCO, simple set-up, superior session capacity and reduced latency, increased performance and scalability, and enhanced security.

Find out how your organization can benefit from deploying your XenApp Web Interface on NetScaler.

In this webinar you will learn:

  • Overview of current NetScaler solutions for XenApp
  • Technical overview of Web Interface on NetScaler solution
  • Key benefits of running Web Interface on NetScaler
  • Best practices on the installation, customization, & configuration of NetScaler MPX
  • Live Demo of the Web Interface running on NetScaler

Title: How to maximize XenApp high availability and security
Date: Thursday, April 29, 2010
Time: 2:00pm Eastern/11:00am Pacific
Register: https://www1.gotomeeting.com/register/517385769

Citrix Support is focused on ensuring Customer and Partner satisfaction with his products. Citrix is working on multiple items to help make it easier to find answers and solve problems via self-service avenues, all of which are available to all his Partners and Customers to leverage.

Last November Citrix launched the How To video initiative and to date have over 100 videos covering 12 products available on Citrix TV.

The following is a list of the TOP 5 videos since launching the initiative.

#1 How To: Create a VM Template and Deploy using XenDesktop Wizard

#2 How To: Configure USB Support on XenDesktop

#3 How To: Convert a Physical Machine to a Virtual Machine

#4 How To: Deploy Citrix Clients via Web Interface 5.2

#5 How To: Configure Pass-Through Authentication with Web Interface 5.2

Current video series available on Citrix TV are:

Hi,

In this post, you can find a tutorial about Citrix Server XenApp 6 installation and configuration.
I hope you find this useful for your job.

In this tutorial, Citrix XenApp 6, a Citrix Web Interface and Citrix License Server will be installed on one server.

Don’t hesitate to comment this for suggestions, problems etc…

Before starting, I suggest you to read System Requirements for XenApp 6 for Windows Server 2008 R2 available at the following link:

http://support.citrix.com/proddocs/index.jsp?topic=/xenapp6-w2k8/ps-system-requirements-w2k8-xa6.html

How to install and configure a Citrix Server XenApp 6: download PDF ! howto_install_configure_xenapp6_server_with_webinterface_license_server

The new XenApp 6 release is now available to download for customers, partners and evaluators alike – and will be offered as a free upgrade to all XenApp and XenDesktop 4 customers with current Subscription Advantage agreements.

XenApp 6 introduces exciting new enhancements for advanced management and scalability, a rich multi-media experience over any network and self-service applications with universal device support from PC to Mac to smartphone. With full support for Windows® Server 2008 R2 and seamless integration with Microsoft App-V, XenApp 6 provides session and application virtualization technologies that make it easy for customers to centrally manage applications using any combination of local and hosted delivery to best fit their unique requirements.

With the release of XenApp 6, the Technology Preview showcasing XenApp on Windows Server 2008 R2 has officially ended. If you are one of the many interesting in evaluating XenApp 6, we encourage you continue your evaluation by downloading our 90-day XenApp 6 trial software.

Alongside XenApp 6, Citrix is releasing to web XenApp 5 Feature Pack 3 for Windows Server 2008 R1 and Windows Server 2003. XenApp 5 Feature Pack 3 brings HDX technology enhancements and application virtualization features to both platforms to offer customers more value in their current environment as they build migration plans for newer platforms and technologies.

Learn more

  • View XenApp 6 Feature Spotlight demo series.
  • Learn more about XenApp 6.