In this article I will run through installing Citrix XenApp 6 on a Windows 2008 R2 server. You do not need to install any specific pre-requisite software (e.g. .net or the remote desktop services role) as the installation will add this for you. The install is pretty straight forward but I have a few recommended pre-requisites:-
- Do not join servers running XenApp 6 for Windows Server 2008 R2 to a deployment with servers running previous versions of XenApp.
- Do not install Windows 2008 R2 SP1. At the time of writing Citrix XenApp 6 does not play nice with Windows 2008 R2 SP1. I have seen problems with the IMA and MFCOM service not starting. Until Citrix release an update I do not recommend installing XenApp6 on Windows 2008 R2 SP1. If you have SP1 installed I recommend uninstalling it.
- If this is a new farm, create a SQL database on a separate non citrix server. This means that if you need to replace the citrix server you don’t need to change this component. I recommend using a SQL 2005, 2008 or 2008R2 database.
If you have installed SQL Express make sure the TCP/IP protocol is enabled in SQL server configuration manager.
- If you are installing a new instance of SQL make sure the windows firewall is setup to all SQL through. You can allow sql using the below command
netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = SUBNET profile = CURRENT
- Again if this is a new farm install the citrix licensing component on a separate non citrix server for the same reason. You can install the licensing component from the setup installation files/DVD and choosing individual server components. Make a note of the Citrix licensing admin account and password. You can either use the citrix trial licenses, or download your licenses from your mycitrix account.
- I also like to create a citrix DNS record for use on the internal domain. This makes it easier to change the citrix server used by client in future
Step 1 Installation
Download and start the installation choosing the components you want to install.
Reboot when prompted. Note that installing the remote desktop services role will chance the type of remote desktop connection allowed. If you are connected remotely you may want to change this before rebooting to stop you being locked out form the server.
Reboot and when the server comes back up restart the setup.
Once the installation has completed you should get the below screen. Click on configure to configure the individual components.
Step 2 Configure XenApp component
Choose whether to join an existing form or create a new farm. If you installed the licensing and database on another server you need to specify those servers here.
I recommend changing the XML port to 8080
You can specify the online plug-in details if desired
Click next and finish. Reboot the server if prompted.
Step 3 Configure Web Interface Services Site
Create a services site:
Accept the defaults and click finish. You will be prompted to configure the site.
Enter the farm name you specified earlier along with the citrix servers. Note we changed the XML port to 8080
Select the types of resources (in most cases this is online). Click next and finish.
You may want to change the authentication method used by the pnagent (i.e. the citrix receiver). You can set that here.
You should now be able to log in using the citrix receiver. Right click on the receiver icon in the bottom right hand corner
Step 4 Configure Web Interface Web Site
You may also want to create a Web site.
I like to set the web interface as the default webpage on IIS.
Click next, next and finish. Again you will be prompted to configure the site.
Add the farm name and the servers used. If you changed the XML port earlier then change it here also.
Specify the desired authentication and click next. Choose the remaining desired options and click finish.