Académique Documents
Professionnel Documents
Culture Documents
completely intact, unaltered and delivered via this PDF file. You may also republish excerpts as long as they are accompanied by an attribution link back to http://www.xenappblog.com. This eBook contains affiliate links. Enjoy.
Copyright 2010 Trond Eirik Haavarstein. Some rights reserved.
Table of Contents
Introduction......................................................................................................................................... 4 Configure lab on Rackspace Cloud ...................................................................................................... 4 Introduction to Rackspace............................................................................................................... 4 Getting started with Rackspace Cloud ............................................................................................ 4 Sign in to your account .................................................................................................................... 5 Setting up your iPhone/iPad with the Rackspace Cloud App .......................................................... 8 Some Rackspace Cloud App Screenshots ........................................................................................ 9 Configure lab on Citrix XenServer ....................................................................................................... 9 How to Install Citrix XenServer from USB ....................................................................................... 9 Install Citrix XenServer 5.5 ............................................................................................................ 10 Install Citrix XenCenter 5.5 ............................................................................................................ 13 Update XenServer & XenCenter .................................................................................................... 15 Configure ISO repository ............................................................................................................... 18 Create a XenServer Windows 2008 x32 template......................................................................... 20 Citrix Lab Configuration Information................................................................................................. 27 Configure Domain Controller DC01 ................................................................................................ 28 Install Active Directory .................................................................................................................. 28 Install DHCP Server ........................................................................................................................ 33 Create File Share and System Environment Variable .................................................................... 37 Install Remote Desktop Licensing Pre Reqs for Citrix Licensing / Web Interface ........................ 46 Install Citrix License Server ............................................................................................................ 47 Install Citrix Web Interface ............................................................................................................ 50 Install Microsoft SQL Server Express ............................................................................................. 52 Configure Terminal Server XA01 .................................................................................................... 53 Install Microsoft Terminal Services ............................................................................................... 53 Install and Configure Com+ Network Access................................................................................. 59 Optimize Virtual Machine for Citrix XenApp ................................................................................. 59 Install Citrix XenApp 50 for Windows 2008 x32 ............................................................................ 60 Install Citrix Profile Management .................................................................................................. 69 Install free Core Applications on the Citrix XenApp Server ........................................................... 70 Publish Applications with Citrix Access Management Console ..................................................... 70 Configure Citrix Web Interface - DC01 .............................................................................................. 75 Configure Group Policies DC01....................................................................................................... 78 http://www.xenappblog.com Follow us on Twitter Facebook - YouTube Page 2
Configure Group Policy Central Store ........................................................................................... 78 Import Group Policy from backup ................................................................................................. 79 Create Active Directory test users ................................................................................................. 83 How to Clone a Citrix Server.............................................................................................................. 84 Online Resources used in this lab...................................................................................................... 86 Acknowledgements ........................................................................................................................... 87
Page 3
Introduction
The content in this guide assumes that the reader is familiar with Citrix and Microsoft technology, and is planning or evaluating the use of Citrix XenApp on Terminal Services. A picture speaks a thousand words and this guide uses mainly picture to take you through the steps to setup your lab environment. Please note that this guide is provided as is and that using this is at your own risk.
Getting started with Rackspace Cloud Head over to www.RackSpace.com and Click Order Now in the Cloud Servers section.
Select Cloud Server and fill in your desire username & password and billing information.
Page 4
After you have placed your order youll receive a phone call within 15 minutes to verify your account. Once the account has been verified youll receive an email from Rackspace Cloud.
Select the Windows tab and the image you would want to provision.
Page 5
Page 6
Page 7
To enable API access youll need to find the API key from the Account page. Select Show Key I recommend copy & pasting the API key into a mail and sending it to an email account you can access from your iPhone / iPad. Its pretty long so its much easier to copy & paste it into the application.
Page 8
You can even create new virtual machines from the application.
To install XenServer you will need to enable Virtualization support in BIOS as well as setting the USB drive as the first boot device or simply use the proper hotkey to select boot device.
Page 9
Page 10
Page 11
Page 12
Install Citrix XenCenter 5.5 Download the latest version of Citrix XenCenter from http://www.citrix.com/xenserver/download
Page 13
Page 14
Update XenServer & XenCenter From the XenCenter menu select Help Check for Updates
Download and install available updates. To install XenServer updates simply double click the .xsupdate file.
Page 15
When the patching is finished you will need to reboot your XenServer. Select the Console tab and type xsconsole
Page 16
Page 17
Press F8 to reboot
Configure ISO repository From XenCenter select Storage New Storage Repository Windows File Sharing (CIFS)
Page 18
You now have access to the ISO share from all your Virtual Machines. The ISO share is not part of this Hands-On Guide setup, but you could create a share on your local computer.
Page 19
Create a XenServer Windows 2008 x32 template From the Citrix XenCenter Console select VM New Windows Server 2008
Page 20
Page 21
Page 22
Page 23
Page 24
Page 25
Download and install Windows 2008 Service Pack 2 and all available Windows Updates. It will require a couple of reboots to get all the updates installed. We are now ready to convert this Virtual Machine to template. Start - Run Sysprep
After the machine has shutdown, right click the VM and select Convert to Template.
Page 26
Now you have a Windows 2008 template. To create a new machine simply double click the template and the new VM wizard will appear.
Windows 2008 x32 10.0.10.11 Terminal Services / Citrix XenApp 5.0 FP2
Windows 2008 x32 10.0.10.12 Terminal Services / Citrix XenApp 5.0 FP2
Page 27
Click View Network Connections and Properties on your network card to set your IP address
Page 28
Page 29
Page 30
Page 31
Page 32
Page 33
Page 34
Page 35
Page 36
Create File Share and System Environment Variable Start Administrative Tools Share and Storage Management Create two shares, one called XA (XenApp) and UserHome. Select Provision Share and create C:\XA
Page 37
Click Advanced and select Enable access-based enumeration and disable caching
Page 38
Page 39
Page 40
Select Advanced
Page 41
Add Authenticate User and select Edit Set as show below and change Apply to : This Folder Only
Page 42
Click Advanced and select Enable access-based enumeration and disable caching
Page 43
Remove Everyone and set Administrators and Authenticated Users to Full Control
Page 44
We are now going to make a System Environment Variable for the share we just created. Start Server Manager Change System Properties Advanced Environment Variables
Now you always have easy access to your XenApp share and makes scripting much easier.
Page 45
Download the Core Applications ScriptFrameWork from http://www.xenappblog.com/downloads and extract into the Applications folder. Follow the instructions in each \Source folder to download the source files for each application.
Go to www.mycitrix.com and log in with your account to get access to XenApp 5.0 media under the Downloads section. Select Citrix XenApp XenApp 5.0 Feature Pack 2 Platinum Edition
Download and copy the content of XA50W2K8.iso to %XA%\Applications\XA50WS08ENFP2. Then extract the content of XA50W2K8FP2.zip and overwrite existing files in %XA%\Applications\XA50WS08ENFP2 Install Remote Desktop Licensing Pre Reqs for Citrix Licensing / Web Interface Start Run Cmd Copy and paste into Command prompt : ServerManagerCmd.exe -i TS-Licensing ServerManagerCmd.exe -i Web-WebServer ServerManagerCmd.exe -i Web-Metabase ServerManagerCmd.exe -i Web-Asp-Net ServerManagerCmd.exe -i Web-Windows-Auth ServerManagerCmd.exe -i Web-WMI ServerManagerCmd.exe -i Web-Client-Auth ServerManagerCmd.exe -i Web-Lgcy-Scripting ServerManagerCmd.exe -i Web-Lgcy-Mgmt-Console ServerManagerCmd.exe -i Application-Server
Page 46
Install Citrix License Server Start Run - %XA%\Applications\Sun Java 1.6.0.16\Scripts\Install.cmd Start Run - %XA%\Applications\XA50WS08ENFP2\Licensing\CTX_Licensing.msi
Page 47
Page 48
Page 49
Install Citrix Web Interface Start Run - %XA%\Applications\XA50WS08ENFP2\Support\JSharp20_SE\vjredist.exe Start Run - %XA%\Applications\XA50WS08ENFP2\Web Interface\WebInterface.exe
Page 50
Page 51
Page 52
Click View Network Connections and Properties on your network card to set your IP address
Page 53
Page 54
Click Configure IE ESC in Server Manager and set to off for both Administrators and Users
Page 55
Page 56
Page 57
Page 58
Install and Configure Com+ Network Access Start Run Cmd Copy and paste into Command prompt : ServerManagerCmd.exe -i Application-Server ServerManagerCmd.exe -i AS-Ent-Services Start Programs Administrative Tools - Computer Management Local Users & Groups Groups Open Distributed COM Users Properties and add Domain Admins
Optimize Virtual Machine for Citrix XenApp From XenCenter select Properties on the Virtual Machine XA01
Page 59
Install Citrix XenApp 50 for Windows 2008 x32 Start Server Manager Change System Properties Advanced Environment Variables
Page 60
Start Run - %XA%\Applications\Sun Java 1.6.0.16\Scripts\Install.cmd Start Run - %XA%\Applications\XA50WS08ENFP2\Citrix Receiver and Plug-ins\Windows\Online Plug-in\CitrixOnlinePluginFull.exe
Page 61
Page 62
Page 63
Type DC01
Page 64
Page 65
Page 66
Page 67
Page 68
Restart the server Install Citrix Profile Management Start Run - %XA%\Applications\XA50WS08ENFP2\Profile Management\profilemgt2.1.0_x86.msi
Page 69
Install free Core Applications on the Citrix XenApp Server Start Run - %XA%\Applications\Adobe Flash Player 10.0.32.18\Scripts\Install.cmd Start Run - %XA%\Applications\Adobe ShockWave Player 11.0\Scripts\Install.cmd Start Run - %XA%\Applications\CutePDF Writer 2.71\Scripts\Install.cmd Start Run - %XA%\Applications\Foxit Reader 3.0\Scripts\Install.cmd Start Run - %XA%\Applications\Microsoft Silverlight 20\Scripts\Install.cmd Start Run - %XA%\Applications\Mozilla FireFox 3.5.3\Scripts\Install.cmd
Publish Applications with Citrix Access Management Console Start - Programs Citrix Management Consoles - Access Management Console
Page 70
Page 71
Page 72
Page 73
Page 74
Page 75
Page 76
Page 77
Page 78
Once this has been completed, the GPMC on Windows Vista and Windows Server 2008 machines will immediately begin using the templates within the central store.
Import Group Policy from backup Start Programs Administrative Tools Active Directory Users and Computers Create two Organizational Units : Servers and XA50WS08
Page 79
Download and extract XenApp 5.0 Server Tuning Policy from http://www.xenappblog.com/downloads and extract it to %XA%\Group Policy Start Programs Administrative Tools Group Policy Management Select Create a GPO in this domain, and Link it here
Page 80
Select Details and set GPO Status to User configuration settings disabled
Page 81
Create and link a new policy with User Configuration Disabled. Configure the policy as shown below :
Page 82
The create home folder for the user and set permissions
Page 83
Check the permissions on User1s home folder to verify that the permissions are set correctly
Page 84
Select Generalize
Page 85
Change the IP address Join the CTXlab.local domain Move the Computer object to the proper OU Restart the server
Page 86
Acknowledgements
In principle, this guide should be about 10 - 15 pages but ended up at 87. I had so much stuff to put in, but I really had to stop now to get the guide distributed. If this guide gets popular we would probably see an expanded payable version in the future with more Citrix products, Best Practices and deployment scripts. I would really appreciate your feedback, please send me and email: feedback@xenappblog.com
Thanks
Page 87