• Learning the Basics of Citrix XenApp 5 for Windows Server 2003 and XenServer 5.5 (Part 5 of 10)

    February 18, 2010

    XenApp, XenApp 5 for Server 2003

    In Part 4 of this 10-part series, you learned how to install the Windows Server 2003 prerequisites for XenApp 5, the License Server and Web Interface and all Windows security updates.  In Part 5 of this article, you will learn how to install XenApp 5 for Server 2003 Feature Pack 2 – Platinum Edition and your Citrix product license.
    When you finished Part 4, you had just verified there were no additional Windows Updates available and exited Internet Explorer.  This left you at the server’s desktop.
    Note: Most people believe that XenApp can only be installed on a network that uses either Active Directory or eDirectory.  That is not true.  XenApp can be installed on a stand-alone workgroup computer, as well as UNIX versions for Solaris, AIX and HP-UX.
    To start the installation of XenApp 5, the ISO file downloaded in Part 1 needs to be copied to the ISO Storage Repository created in Part 3.  Once the file is copied, change the VM’s DVD Drive to the XenApp 5 ISO file (Figure 1).

    Figure 1

    The XenApp 5 installation starts.  Click Install XenApp (Figure 2).

    Figure 2

    Click Install Server-Hosted Apps (Figure 3).

    Figure 3

    Click I accept the license agreement and then click Next (Figure 4).

    Figure 4

    Click XenApp Platinum Edition and then click Next (Figure 5).

    Figure 5

    Citrix does not recommend that the License Management Console and the Web Interface be installed on the same server.  If you do install them both on the same server, then the Web Interface must be installed first and then the Citrix License components.  The Citrix installer will install Web Interface first and then the licensing components.  This allows you to install both components on a single server.  However, Best Practice is to install the Citrix Licensing on a server NOT in the XenApp Farm and to install the Web Interface on a separate server that is not a domain member in the DMZ.  Since this learning server is not a production server, you can safely install all XenApp components on one server.
    Check the following installation options (Figures 6 and 7) and then click Next.
    –    XenApp
    –    Management Consoles
    o    Delivery Services Console
    o    XenApp Advanced Configuration
    –    Web Interface
    –    Citrix plug-ins
    o    Online plug-in
    –    Citrix Licensing
    o    License Server
    o    License Management Console
    Note: Hotfix Rollup Pack 5 is not being installed at this time so that you can learn how to update a XenApp server in Part 6.  The rest of the installation options will be covered in a future Learning series.
    Note: If you do not see the option for the Web Interface, that means IIS and ASP.NET have not been installed.  Please cancel this installation, return back to Part 4 and make sure you follow all the steps to install the prerequisites.

    Figure 6
    Figure 7

    Click Next to accept the default location for the product files (Figure 8).

    Figure 8

    You can select whether to create a new farm or join an existing farm.  You will be creating a new farm for this Learning article.
    Note:  What is a Farm?  A Farm is a group of servers running XenApp that can be managed as a unit, enabling the administrator to configure features and settings for the entire farm rather than being required to configure each server individually.  All the servers in a farm share a single data store.
    Note: What is a data store?  The data store provides a repository of persistent information about the farm that each server can reference, including the following:
    –    Farm configuration information
    –    Published Application configurations
    –    Server configurations
    –    XenApp administrator accounts
    –    Printers
    –    Printer drivers
    –    Policies
    –    Resource Manager metrics
    –    Load Evaluators
    –    Folders
    –    Installation Manager groups
    –    Installation Manager packages
    Click Create new farm, type in Learning for the Farm name and then click Next (Figure 9).

    Figure 9

    You will use the default database of Access and keep the default zone name.  There are several databases that can be used for the Farm Data Store but the Access database requires no preinstall configuration on your part.  The databases available for selection are:
    –    Access
    –    SQL Server Express
    –    SQL Server
    –    Oracle
    –    DB2
    The Zone name is simply a descriptive name for the zone.  By default XenApp uses the Subnet ID.  In XenApp 5 for Server 2008, the default Zone name is “Default Zone”.
    Note: What is a Zone?  A Zone is a logical grouping of XenApp servers that share a common zone data collector.  Zones allow the efficient collection of dynamic farm information.  Each zone in a farm has exactly one data collector.  All of the member servers in a particular zone communicate their dynamic information to the data collector for their zone. The data collector then shares this information with all other data collectors in the farm.
    Note: What is a zone data collector?  A zone data collector is a server that stores and manages dynamic information about the servers in a zone, including:
    –    Published Applications usage
    –    Server load
    –    User sessions
    –    Online servers
    –    Connected sessions
    –    Disconnected sessions
    –    Load balancing information
    Click Next to accept the defaults of using an Access Database and the default zone name (Figure 10).

    Figure 10

    Click Next to accept the default Administrator account as the initial XenApp Farm Administrator and your server’s name, CITRIXONE, as the Domain (Figure 11).
    Note: Until additional users are given the right to be a Farm Administrator, you must login to the server using this account.

    Figure 11

    For this Learning series, you do not need to enable IMA encryption.  Since the data store is located on this XenApp server, there is no network traffic to encrypt.
    Click Next (Figure 12).

    Figure 12

    Click Configure license server at a later time and then click Next (Figure 13).
    Note: The License Server components have not been install at this point so there is no License Server to contact.  If you enter citrixone as the name for the License Server and click Next, you will receive an error message saying the License Server CITRIXONE could not be contacted.

    Figure 13

    Shadowing can be a useful tool for user collaboration, training, troubleshooting and monitoring. This capability is useful for supervisors, help desk personnel, teachers, and anyone else who may need to examine another user’s session.  During Setup, you can limit or disable shadowing.  You can disable shadowing of ICA sessions on all servers in a farm if, for example, legal requirements prohibit shadowing of user’s sessions.  Or, you may want to disable shadowing on servers that host sensitive applications such as Human Resources or Payroll.
    The decision made on this screen cannot be changed without reinstalling XenApp.  This is from page 66 of the XenApp 4.5 with Feature Release 1 (AKA XenApp 5.0 on Server 2003) Administrator’s Guide:
    Important: Shadowing restrictions are permanent. If you disable shadowing or
    enable shadowing but disable certain shadowing features during Setup, you
    cannot change the restrictions later. Any user policies you create to enable user-to-
    user shadowing are subject to the restrictions you place on shadowing during
    Setup. Do not disable shadowing as a substitute for user- and group-specific
    connection policies.
    Prohibit shadowing of user sessions on this server. Select this option to
    permanently disable shadowing of user sessions on the server. If you disable
    shadowing during Setup, you cannot enable it using other Citrix Presentation
    Server configuration utilities or by creating connection policies.
    Click Next to accept the default of allowing shadowing (Figure 14).

    Figure 14

    Click Enable virtual scripts to continue (you cannot click Next unless you do so) and then click Next to share the XML Port with IIS (Figure 15).

    Figure 15

    There are three main options and one sub-option for adding users to the Remote Desktop Users Group.
    –    Add the Authenticated Users now.  Authenticated Users includes all users and computers whose identities have been authenticated by Windows.
    –    Add the list of users from the Users group now.  The Users group is a built-in default group.  Members of this group can perform common tasks, such as running applications, using local and network printers, and locking the server.
    –    Skip this step and add users later.  Allows you to manually add user to the Remote Desktop Users Group at a later time.
    –    Add Anonymous users also.  If checked will create 15 Anonymous user accounts named Anon000 through Anon014 and place them in the Anonymous Users Group.  This group is then added to the Remote Desktop Users Group.
    Note: What is the Remote Desktop Users Group?  The Remote Desktop Users group allows the same access as the Users group, with the additional ability to connect remotely to the XenApp server. By using this group, you save administrative resources by not having to set up these rights for each user individually.

    Click Add the Authenticated Users now and then click Next (Figure 16).
    Note:  Even if you uncheck Add Anonymous users also before you click Add the Authenticated Users now, the 15 anonymous user accounts are still created.

    Figure 16

    Click Next on the Server URL screen (Figure 17).

    Figure 17

    Click Next to accept the default location for storing the Citrix license files (Figure 18).

    Figure 18

    Click Next to accept the default ports the license server will use (Figure 19).

    Figure 19

    Click Allow setup to restart the web server to continue and then click Next (Figure 20).

    Figure 20

    Click Copy plug-in packages to Web Interface install folder and then click Next (Figure 21).

    Figure 21

    Click Next to start the installation (Figure 22).

    Figure 22

    The XenApp installation starts (Figure 23).  Notice the Web Interface is installed before the License Server.

    Figure 23

    Click Yes to restart your VM (figure 24).

    Figure 24

    You have now successfully installed XenApp 5 for Server 2003.  Now the Citrix license file needs to be installed and the License Server name added to the farm.

    When the VM restarts, you will receive an error message that the license server cannot be found.  Click OK to bypass the error (Figure 25).

    Figure 25

    Login to the VM and click OK to dismiss the online plug-in error (Figure 26).
    Note: If you have multiple user accounts, you must login using the account used for the XenApp installation.  Until additional user accounts are given the right to be Farm Administrators, only the account used for the installation can complete the rest of the installation steps.

    Figure 26

    Click Start -> All Programs -> Citrix -> Management Consoles -> License Management Console (Figure 27).

    Figure 27

    Login with the User name of Administrator and the password you created and press Enter (Figure 28).
    Note: Only the account used for the XenApp installation has rights to the License Management Console until additional user accounts are added to the license console.

    Figure 28

    Click on Configure License Server (Figure 29).

    Figure 29

    Click Copy license file to this license server (Figure 30).

    Figure 30

    Click Browse (Figure 31).

    Figure 31

    Browse to your license file and click Open (Figure 32).

    Figure 32

    Click Upload (Figure 33).

    Figure 33

    Your license file is now installed.  Exit Internet Explorer.
    Click Start -> All Programs -> Citrix -> Management Consoles -> Delivery Services Console (Figure 34).

    Figure 34

    Click Next (Figure 35).

    Figure 35

    Verify that Configuration Tools and XenApp are selected and then click Next (Figure 36).

    Figure 36

    Click Add Local Computer and then click Next (Figure 37).

    Figure 37

    Click Next (Figure 38).

    Figure 38

    Click Finish (Figure 39).

    Figure 39

    Click the farm Learning in the left column (Figure 40).

    Figure 40

    In the middle column under Common Tasks, click Modify farm properties and then click Modify license server properties (Figure 41).

    Figure 41

    Enter citrixone for the Name and then click Apply (Figure 42).

    Figure 42

    Click OK to exit the Learning Farm Properties and then exit the Delivery Services Console by clicking the “X” in the upper right corner (Figure 43).

    Figure 43

    You have now successfully installed your license file and configured your farm with your license server.
    In Part 6, you will backup the data store, update the Java Runtime Environment, install the Microsoft Visual C++ 2005 SP1 Redistributable Package and install Hotfix Rollup Pack 5.


    About Carl Webster

    Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

    View all posts by Carl Webster

    No comments yet.

    Leave a Reply