Learning the Basics of Citrix XenApp 5 Feature Pack 3 for Windows Server 2003 and XenServer 5.6 Part 3 of 12
This 12-part series is now available as a book in print, download, Kindle and iBook formats.
To simplify this learning process, you will take most of the XenServer VM creation defaults and make only minimal configuration changes to Windows Server 2003 R2. Some of the VM creation options you have may be different than what I have because of possible hardware differences between our two lab server setups. First, make sure you have a Windows Server 2003 R2 Product Key and ISO image file accessible.
Let’s get started.
When you completed Part 2, you were in XenCenter with your XenServer host already connected and running. First, XenServer needs to know where the ISO files are located.
Right-click XenServer1 and select New Storage… (Figure 3-1).
Select Windows File Sharing (CIFS) under ISO library and click Next (Figure 3-2).
Type in a Name for the ISO Library and the path to the location of the ISO files. If the ISO Library location needs login credentials, select Use different user name and provide the User name and Password. Click Finish (Figure 3-3).
Note: All ISO files must be in the root folder of the Window’s share. XenServer does not search sub-folders for additional ISO files.
The ISO Library Storage Repository is added to the XenServer host (Figure 3-4).
Click New VM on the toolbar (Figure 3-5).
Select Citrix XenApp on Windows Server 2003 (32-bit) and click Next (Figure 3-6).
Type in a Name for the VM, an optional Description and click Next (Figure 3-7).
Select Install from DVD drive:, click the dropdown box, select your Server 2003 ISO file and click Next (Figure 3-8).
With only one XenServer available, click Next to place the new VM on XenServer1 (Figure 3-9).
Change Number of vCPUs to 2, Memory to no more than 4096 and click Next (Figure 3-10).
Click Properties (Figure 3-11) so the disk size can be changed from 8GB to 16GB.
Change the Size (MB) to 16384 and Click OK (Figure 3-12).
Click Next (Figure 3-13).
Note: If you have multiple network interfaces and you chose to not remove the management interface from being automatically available to VMs, click that interface and click Delete.
Click Next (Figure 3-14).
Leave Start the new VM automatically checked and click Finish (Figure 3-15).
You may want to enlarge XenCenter so the Windows setup process is more readable.
In the Server View, click on the new Citrix XenApp 5 on Server 2003 VM, click the Console tab and also select Scale (Figure 3-16).
Click into the VM Console and press Enter to setup Windows (Figure 3-17).
Press F8 to agree to the Windows Licensing Agreement (Figure 3-18).
Press Enter to create the hard disk partition (Figure 3-19).
Press Enter to format the partition with the NTFS file system (Figure 3-20).
If needed, customize your regional and language settings and click Next (Figure 3-21).
Enter your Name and Organization and click Next (Figure 3-22).
Enter your Product Key and click Next (Figure 3-23).
Select either Per server or Per Device or Per User and click Next (Figure 3-24).
Note: The Licensing Mode selected here has nothing to do with either Terminal Server or Citrix licensing.
For the Computer name type in citrixone, enter and confirm the Administrator password and click Next (Figure 3-25).
Note: The Citrix license server name is CaSe SeNsiTive and must match the name entered when the license file was generated in Part 1.
Enter the correct Date & Time, Time Zone and click Next (Figure 3-26).
Click Next (Figure 3-27).
Type in a workgroup name or click Next to accept the default workgroup name (Figure 3-28).
The Windows installation continues. When the VM restarts, do not be alarmed at what you will see. There is a video bug that affects only new VMs created with Windows Server 2003 x86. Click the Send Ctrl+Alt+Del button or press Ctrl+Alt+Insert and logon (Figures 3-29 and 3-30).
Simply type in the password and press Enter.
Click the “X” in the upper left corner of the barely visible Windows Setup title bar (Figure 3-31). This will start to cancel the CD 2 installation. For this Server 2003 R2 installation, CD 2 is not needed.
Again, click the “X” in the upper left corner of the barely visible Windows Setup title bar (Figure 3-32).
Scroll down and click Finish to close the Windows Server Post-Setup Security Updates screen (Figure 3-33). Windows Updates will be installed in Part 4 after all the necessary prerequisites have been installed first.
Press Shift+Tab and click Yes on the security warning (Figure 3-34).
Scroll down and select Don’t display this page at logon and click the “X” in the upper right corner to close the Manage Your Server window (Figure 3-35).
Click VM on the toolbar and click Install XenServer Tools (Figure 3-36).
Click Install XenServer Tools on the warning popup (Figure 3-37).
Click the box for the text, that you cannot see, I accept the terms in the License Agreement and press Alt+N (Figure 3-38). Tthe Next button disappears when the checkbox is clicked.
You may change the Destination Folder or press Enter to accept the default location (Figure 3-39).
Warning: If you click into the Destination Folder input box, the colors will change to black text on a black background making it impossible to see the text entered.
Press Enter to Reboot now (Figure 3-40).
When the VM restarts, click the Send Ctrl+Alt+Del button and logon to the server (Figures 3-29 and 3-30). Once XenTools is installed, the video bug is “fixed”.
Click the yellow Display Settings balloon (Figure 3-41).
Select In the future, do not show me this dialog box and click Yes (Figure 3-42).
Click Yes to accept the current display resolution (Figure 3-43).
If you have a retail version of Windows Server 2003 R2, you will notice the Windows Activation keys in the systray in the lower right corner (Figure 3-44). Click the Keys to begin the Windows Activation process.
Select Yes, let’s activate Windows over the Internet now and click Next (Figure 3-45).
Select No, I don’t want to register now, let’s just activate Windows and click Next (Figure 3-46).
You should see the Thank You! screen. If you see any activation error screens, correct the errors and complete the Windows Activation process. Your copy of Windows Server 2003 R2 is successfully activated. Click OK (Figure 3-47).
Note: This also verifies that the NIC dedicated for VM traffic works and is able to reach the Internet.
Citrix recommends a screen resolution of at least 1024 by 768 for the management consoles. Hardware video acceleration should also be enabled for the best video performance in your VM.
Click Start -> Control Panel -> Display (Figure 3-48).
Click the Settings tab, change the Screen resolution to at least 1024 by 768 pixels and click Apply (Figure 3-49).
Click Yes on the Monitor Settings popup to keep the new display settings (Figure 3-50).
Click the Advanced button (Figure 3-51).
Click the Troubleshoot tab, slide the Hardware acceleration slider all the way to the right towards Full and click Apply (Figure 3-52).
Click OK to exit the Advanced settings dialog and click OK to exit the Display Properties dialog.
In order to take snapshots after each Part, the XenServer Tools Volume Snapshot Provider (VSS) must be enabled. The VSS provider is installed with the XenServer tools but it is not enabled by default. Some Storage Area Networks and Network Attached Storage companies provide their own VSS tools and utilities. For this book, we are using local storage for the VMs. In order to provide for a proper snapshot, the XenServer VSS provider must be enabled. The XenServer VSS provider is used to quiesce the guest file system in preparation for a VM snapshot. With the VSS provider disabled, the VM snapshots could be in an inconsistent state and unusable.
Click Start -> Run and type in “C:Program FilesCitrixXenToolsinstall-XenProvider.cmd”and press Enter (Figure 3-53).
The VSS provider is installed (Figure 3-54).
You have now successfully created your VM and installed Windows Server 2003 R2 Standard x86.
To create the Snapshot for this Part, right-click the VM and select Take Snapshot… (Figure 3-55).
Click on the Snapshots tab to see the Snapshot (Figure 3-57).
Click the Console tab to return to the Windows desktop.
Note: On my computer, there are video anomalies when switching from the Snapshot tab to the Console tab. The only way to resolve this issue is to reinstall XenTools after every snapshot is complete.
In Part 4, you will install the Windows Server 2003 prerequisites for XenApp 5, the License Server and Web Interface and all Windows security updates.