How to setup & install XenApp 6.5 Enterprise and StoreFront 2.1 for testing

How to setup & install XenApp 6.5 Enterprise and StoreFront 2.1 for testing

I’m going to walk you through the process of installing Citrix XenApp 6.5 Enterprise Edition and StoreFront 2.1 as we run it in our test lab for SMS2. Please note this is not a production deployment – it’s simply what we’re running as a quick and easy installation for demonstration and testing purposes.

For our testing setup we run two XenApp 6.5 servers fronted by two Storefront 2.1 servers running on the local LAN, and connected to a single domain controller.

xenapp-storefront-setup

XenApp 6.5 will virtualize applications and use Active Directory on the domain controller to authenticate users, check which applications they are authorized to use, and provide access to those applications.

Storefront provides an interface for users to see a list of the applications they are allowed to use, select the applications, and will store application subscriptions along with which applications a user regularly uses and should see when they login to Storefront.

Our usual testing environment looks like this:

  • Active Directory runs on a Windows Server 2012 server called DC1
  • XenApp 6.5 is hosted on two Windows 2008 R2 servers called XenApp1 and XenApp2.
  • Storefront 2.1 runs on two Windows 2008 R2 servers StoreFront1 and StoreFront2
  • XenApp 6.5 and Microsoft®’s Remote Desktop Services (for which licenses are required) need to talk to a license server. Our license servers are installed on DC1.

 

Getting Started – Setting up the Domain Controller

We start with the Domain Controller (DC1) server, which will handle our licenses. We need to setup the Remote Desktop Services Licensing Server and Citrix License Server

We start by loading the Add Roles and Features Wizard.

 

add roles and features

Select the “Role-Base or feature-based installation” option.

add roles and features2

Select the current server.

add roles and features3

Next select Remote Desktop Services, then Next.

add roles and features4

Choose “Add Features” on the dialog box that appears.

add roles and features5

Click Next on the Remote Desktop Services Page to select the Role Services.

add roles and features6

Select only “Remote Desktop Licensing” and then click next.

add roles and features7

Click Add Features when prompted to install Web Server IIS

add roles and features8

Select “restart the destination server automatically if required”.  If the Windows Server 2012 DVD is not in the drive, enter alternate path to location of the installation files (“Specify an alternative source path”).

add roles and features9

You’ll be asked if you want to allow for automatic restarts, select Yes. This allows for a more automated install; once the installation is complete your server will restart automatically.

add roles and features10

 

Getting Started – Setting up the Citrix Licensing Server

Once the server reboots after the Remote Desktop Services Licensing Server installation, insert the XenApp 6.5 installation disc. The installation wizard should start automatically.

Start by selecting “Manually install components”.

citrix xenapp install

Select Common Components, then Citrix Licensing on the following screen.

citrix xenapp install2citrix xenapp install3

We’re keeping things simple, so we’ve left the installation directory (Destination Folder) unchanged. Click ‘Install’ to continue.

citrix xenapp install4

Once the installation completes, click on ‘Finish’. This will complete the installation and automatically launch the License Server Configuration Tool.

Create a password for the admin user and then click on ‘OK’ to continue.

citrix xenapp install5

Now we need to install the license file. Download your unique licensing file from the mycitrix.com portal. Once you have it, move (or copy) the file (which ends in “.lic”) into “Program Files (x86)\Citrix\Licensing\MyFiles\” (assuming you used the default installation directories). Once you’ve done that restart the licensing service.

citrix xenapp install7

Now we are done with the Citrix Licensing Server and Remote Desktop Licensing Installation.

 

Installing XenApp

XenApp 6.5 requires the Remote Desktop Services Session Host Role and .Net Framework 4.5 to be installed. Citrix’s setup wizard will install these automatically.

After inserting the XenApp 6.5 installation disc select a setup wizard will appear, select Install XenApp Server.

citrix xenapp install8

The wizard prompts to install .Net 3.5 SP1.  Click OK to accept

citrix xenapp install9

After .Net Framework 3.5 SP1 is installed click on Add Server Roles

citrix xenapp install10

The XenApp Server Roles Wizard starts.  Click On Enterprise Edition to begin the install of XenApp 6.5 Enterprise

citrix xenapp install11

Accept the License Agreement and click next

citrix xenapp install12

Under “Common Roles” select XenApp and click next. Leave the default subcompents as they are, then click next.

citrix xenapp install14citrix xenapp install13

Click Next again, then click Install to begin.

citrix xenapp install15 citrix xenapp install16

Once the prerequisites are installed, you’ll have to restart the server.

citrix xenapp install17

citrix xenapp install18

At the Server Role Manager click on Reboot then select yes for the server to reboot.

citrix xenapp install19citrix xenapp install20

 

 

 

 

 

 

 

 

 

 

After the server boots up, restart the XenApp installation wizard.  The Wizard will automatically detect that it had not finished installing.  Click on “Resume Install”.

citrix xenapp install21citrix xenapp install22

 

On the next screen click Install to resume the installation

citrix xenapp install23

The installation will now complete.  Click Finish once done.

citrix xenapp install24 citrix xenapp install25

 

At the Server Manager Windows, click on Specify Licensing in the middle of the dialogue box

citrix xenapp install26

Select  “Connect to an existing license server” and enter dc1.wrightccs.local (or whatever your licensing server’s address may be) then click on test connection. Once verified click on Next.

citrix xenapp install27

Once license configuration is done, you are taken back to XenApp Server Role Manager.  Select Configure to begin configuring XenApp.

citrix xenapp install28

Click on create new farm. We shall call our farm XenApp and the first administrator will be the current user (administrator) who is performing the install.

citrix xenapp install30citrix xenapp install29

XenApp information is store in a SQL database. For testing we use a SQL Express.

citrix xenapp install31

After entering database information setup your license mode to match the licenses installed on our license server (DC1).

citrix xenapp install32

Keep the defaults selected.

citrix xenapp install33citrix xenapp install34citrix xenapp install35citrix xenapp install36

A restart is required after the installation of XenApp completes.  Click on reboot, and click on yes at the prompt that pops up to restart the server.

citrix xenapp install37citrix xenapp installx

Repeat the same steps for XenApp2 (the second XenApp server), but at the XenApp configuration select “Add this server to an existing server farm”.

For XenApp Database select “Existing Microsoft SQL Server Express Database”

citrix xenapp installxxcitrix xenapp install40

 

XenApp1 should appear in the dropdown box.  Select it the click next.  Verify the same credentials entered last time.

citrix xenapp install42 citrix xenapp install43

Take the default settings on the next three screens and select Apply.

citrix xenapp install44citrix xenapp install45citrix xenapp install46

Reboot the server after installation completes

citrix xenapp install47

citrix xenapp install48citrix xenapp install49citrix xenapp install50

 

 

 

 

 

 

 

Once we’ve install XenApp, we need to give it some applications to use. We do this through Citrix AppCenter.

Open Citrix AppCenter.

citrix xenapp install51

Disable Authenticate Signature Checking

citrix xenapp install52

Click next on configure and discovery wizard. Select XenApp and leave Single Sign-on Unchecked.

citrix xenapp install53citrix xenapp install54

Add the local server on the next screen, then click next.  Let the discovery run then click finish

citrix xenapp install55citrix xenapp install56

A message pops up saying no applications are installed.  Click OK

citrix xenapp install57

Select the Applications branch under the XenApp Farm, then click Publish application in the actions pane.

citrix xenapp install58

Click Next on the Publish Application Welcome Screen

citrix xenapp install59

Type Notepad for Display name the click next

citrix xenapp install60

Leave the default Application as type of application to publish. Server application type is installed application.  Click Next

citrix xenapp install61

Under Command line browse to location of notepad.exe then click next.

citrix xenapp install62

Add the servers that will publish this application, in this case XenApp1 and XenApp2.

citrix xenapp install63

Add the users who are allowed to view and launch this application.  In our case all Domain Users are allowed to launch this application.

citrix xenapp install64

We leave the default icon unchanged and click next.

citrix xenapp install65

Leave the defaults and click Finish.

citrix xenapp install66

Notepad now appears in the list of published applications.

citrix xenapp install67

 

Installation and Configuration of StoreFront 2.1

You will need the latest release of StoreFront, download the latest version from http://www.citrix.com/downloads/storefront-web-interface/product-software.html

Run the installation file after download and accept the license agreement, click next, and on the following screen click Install to begin the install of StoreFront

storefront setupstorefront setup1

Click Finish once the install completes

storefront setup2storefront setup3

At the storefront management console opens after the installation completes.

storefront setup5

StoreFront will be reconfigured for multiple servers.  For this first blog, we will configure one server. The URL of the current storefront server in this case is http://storefront1.wrightccs.local

storefront setup6

Let the StoreFront deployment run

storefront setup7

We will enter XenApp for the Store Name

storefront setup8

On the Delivery Controller Screen select the Type as XenApp, then add the servers XenApp1.Writghtcss.local, and XenApp2.Wrightcss.local.

Transport type is http on port 80.

storefront setup9

Then click next

storefront setup10

Select None for Remote Access type for now.  Then click create to begin the creation of the store.

storefront setup11

storefront setup12

Note the website URL.  In this case http://storefront1.wrightccs.local/XenAppWeb

storefront setup13

Open IIS and go to the default website. Double click on “http redirect”

storefront setup14

Check the checkbox for Redirect requests to the destination http://storefront1.wrightccs.local/citrix/xenappweb  (the URL you noted before in storefront)

Select “redirect request to exact destination (instead of relative destination)” and “Only redirect requests to content in the directory (not subdirectories)”

storefront setup15

Deselect http redirect for AGServices, aspnet_client, and Citrix Branches.

storefront setup16

Configuration for Storefront1 is now complete.

Test the configuration by opening a browser on Storefront1 and entering localhost in the address bar.  Should redirect to http://storefront1.wrightccs.local/Citrix/XenAppWeb.

Enter credentials for administrator

storefront setup17

Add applications by clicking on the + sign

storefront setup18

The application we published is under All apps (Notepad)

storefront setup19

Applications that are ticked are added to the desktop and can be launched.

storefront setup20

This completes our simple testing and development lab.

Leave a Comment

Comment (required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>

Name (required)
Email (required)