| Citrix XenApp 5: Installation on Windows Server 2008 - Member Server |
| Written by Administrator |
| Tuesday, 19 May 2009 14:48 |
|
In this article we are going to install Citrix XenApp 5 on a Windows Server 2008 machine. We are going to create a scripting set that will join this server tho the already created farm in article "xxxxx".
Installing Citrix XenApp 5 in the Member role Pre requirements for Citrix XenApp 5 on Windows 2008 Server are:
So before we can install Citrix XenApp 5 on Windows Server 2008 we need to install the pre-requirements. For installation of Windows Server 2008 roles and features we can use the command line utility of Windows Server 2008 called "Servermanagercmd". Therefore we need to create the following scripts;
1. Installing the Pre-requirements In this section we will create the scripts that will install the pre-requirements for Citrix XenApp 5 on Windows Server 2008. Store these scripts on a centralized network location so you can run these scripts from any server that is going to be installed. Feel free to join any of the scripts together to generate one single script but remember that some components needs a restart!. Most of the pre-requirement script are already created earlier and when stored on a central location can be easily used here.
Windows Server 2008 role "Application Server" Create and store the following script on a centralized network location, for example, called "Install_W2K8_R_ApplicationServer.CMD".
After the installation of the server role "Application Server" you will need to reboot the server.
Windows Server 2008 application server feature "COM Network Access" Create and store the following script on a centralized network location, for example, called "Install_W2K8_F_COMNetworkAccess.CMD".
Windows Server 2008 role "Terminal Server" Create and store the following script on a centralized network location, for example, called "Install_W2K8_R_TerminalServer.CMD".
After installing the Windows Server 2008 role "Terminal Server" you need to reboot the server.
Visual C 2005 SP1 To install "Visual C 2005 SP1" we first need to download the source files from the Microsoft website. please use the link "Download". Store the downloaded file on a network location that can be accessed from any server needing the installation. Create and store the following script in the same location:
/q for quiet mode.
J# 2.0 SE To install the J# 2.0 SE use the source from the Citrix XenApp installation media. In the folder "Support\JSharp20_SE" you will find the sourcefile. As we are going to use a network location for the installation files of Citrix XenApp 5 now would be a good time to copy the installation media to this network location and create and store the following script in the source folder of J# 2.0 SE:
/q for quiet mode.
Citrix "XenApp Plugin for Hosted Apps" To install the Citrix XenApp Plugin for Hosted app we can also use the the network location of the installation media for Citrix XenApp 5. In the subfolder "Clients\ICA32" we can find the installation source for the Plugin. Create and store the follwoing script in the folder:
Switches used:
Microsoft Hotfix Installation To install the required hotfixes we first need to request and download them. Use the links "Kb949528" and "Kb949914". Download and store the hotfixes in a centralized network location and create the following script to install them. Please note that we use the "WUSA.exe" for hotfix installation:
Switches used: /Quiet for silent installation /Norestart to supress any reboot that might occur After the installation of the hotfixes the server needs to be rebooted.
2. Installing Citrix XenApp 5 for Windows Server 2008 Now that we have installed all the pre-requirements of Citrix XenApp 5 on Windows Server 2008 we can start creating the scripts and files needed for installing Citrix XenApp 5. As we are going to perform a silent installation we will need a preconfigured "MF20.dsn" file that will allow us to connect to the previously created farm.
Create a silent DSN file Use a pre-configured ".DSN" file to be able to connect to the MS SQL 2005 database. Create a .DSN file and name it MF20.DSN. This is a pre-request for a silent installation of Citrix XenApp 5. Store the file on a network location to be accessed from any server to be installed with Citrix XenApp 5. Preferably in the root of the Citrix XenApp 5 installation source created earlier. The same fil can be used to install an "Member Server".
Installation Citrix XenApp 5 for Windows Server 2008 Create and store the following script in the folder for Citrix XenApp 5 installation source. In the same location the silent DSN file will have to be present. Name the file, for example, Install_CTX_5_W2K8_Join.CMD MSIEXEC /I %~dp0mps.msi INSTALLDIR="%PROGRAMFILES%\Citrix" CTX_MF_FARM_SELECTION=Join CTX_MF_ZONE_NAME=%ZoneName% CTX_MF_CREATE_FARM_DB_CHOICE=Thirdparty CTX_MF_JOIN_FARM_DB_CHOICE=Direct CTX_MF_ODBC_USER_NAME=%SQL_User% CTX_ODBC_PASSWORD=%SQL_User_Password% CTX_MF_ODBC_RE_ENTERED_PASSWORD=%SQL_User_Password% CTX_MF_SILENT_DSNFILE=%~dp0MF20.dsn CTX_MF_SELECTED_DRIVER_NAME="SQL Server" CTX_MF_XML_CHOICE=Seperate CTX_MF_XML_PORT_NUMBER=80 CTX_MF_LIC_CHOICE_FOR_JOIN_OR_UPGRADE=UseFarmSettings CTX_MF_SHADOWING_CHOICE=Yes CTX_MF_SHADOW_PROHIBIT_NO_NOTIFICATION=No CTX_MF_SHADOW_PROHIBIT_NO_LOGGING=No CTX_MF_SHADOW_PROHIBIT_REMOTE_ICA=No CTX_MF_CREATE_REMOTE_DESKTOP_USERS=DoNothing CTX_MF_ADD_ANON_USERS=No CTX_MF_SERVER_TYPE=P CTX_MF_ZONE_NAME=%ZoneName% /QN Switches used:
This concludes the installation of the Citrix XenApp 5 role Member Server. |
Comments