Learning the Basics of Citrix XenApp 5 Feature Pack 3 for Windows Server 2003 and XenServer 5.6 Part 3 of 12

Install Server 2003 R2

In Part 2, you successfully:

  1. Installed XenServer,
  2. Installed XenCenter,
  3. Added your XenServer host to XenCenter,
  4. Activated XenServer, and then
  5. Performed additional optional configuration steps.

In this Part, you will learn to create a Virtual Machine (VM) optimized for XenApp and install Windows Server 2003 R2 Standard x86.

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.

Create CIFS ISO Library

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).

Figure 3‑1

Select Windows File Sharing (CIFS) under ISO library and click Next (Figure 3-2).

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.

Figure 3‑3

The ISO Library Storage Repository is added to the XenServer host (Figure 3-4).

Figure 3‑4

Create New VM

Click New VM on the toolbar (Figure 3-5).

Figure 3‑5

Select Citrix XenApp on Windows Server 2003 (32-bit) and click Next (Figure 3-6).

Figure 3‑6

Type in a Name for the VM, an optional Description and click Next (Figure 3-7).

Figure 3‑7

Select Install from DVD drive:, click the dropdown box, select your Server 2003 ISO file and click Next (Figure 3-8).

Figure 3‑8

With only one XenServer available, click Next to place the new VM on XenServer1 (Figure 3-9).

Figure 3‑9

Change the Number of vCPUs to 2 (Figure 3-10).

Change the Memory to 4096 (or the maximum you can set if you do not have 4096 available for Guests).

Why 4GB of RAM for this VM?  From my experience, Server 2003, with Terminal Services in Application Server mode, runs best in a virtual environment with 768MB of RAM.  You will also be installing:

  • Citrix License Management Console which uses Java
  • Web Interface
  • Delivery Services Console (formerly the Access Management Console)
  • Advanced Configuration (formerly the Presentation Server Console)
  • Access data store database
  • Citrix Web Client

and you will be using Internet Explorer to test running a published application.  Most of these will be open at the same time so the more RAM assigned to this VM the better.

Click Next.

Figure 3‑10

Click Properties (Figure 3-11) so the disk size can be changed from 8GB to 16GB.

Figure 3‑11

Change the Size (MB) to 16384 and Click OK (Figure 3-12).

Figure 3‑12

Click Next (Figure 3-13).

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).

Figure 3‑14

Leave Start VM automatically checked and click Finish (Figure 3-15).

Figure 3‑15

You may want to enlarge XenCenter so the Windows setup process is more readable.

 

Install Windows Server 2003 R2 x86

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).

Figure 3‑16

Click into the VM Console and press Enter to setup Windows (Figure 3-17).

Figure 3‑17

Press F8 to agree to the Windows Licensing Agreement (Figure 3-18).

Figure 3‑18

Press Enter to create the hard disk partition (Figure 3-19).

Figure 3‑19

Press Enter to format the partition with the NTFS file system (Figure 3-20).

Figure 3‑20

If needed, customize your regional and language settings and click Next (Figure 3-21).

Figure 3‑21

Enter your Name and Organization and click Next (Figure 3-22).

Figure 3‑22

Enter your Product Key and click Next (Figure 3-23).

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.

Figure 3‑24

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.

Figure 3‑25

Enter the correct Date & Time, Time Zone and click Next (Figure 3-26).

Figure 3‑26

Click Next (Figure 3-27).

Figure 3‑27

Type in a workgroup name or click Next to accept the default workgroup name (Figure 3-28).

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).

Figure 3‑29

Simply type in the password and press Enter.

Figure 3‑30

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.

Figure 3‑31

Again, click the “X” in the upper left corner of the barely visible Windows Setup title bar (Figure 3-32).

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.

Figure 3‑33

Press Shift+Tab and click Yes on the security warning (Figure 3-34).

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).

Figure 3‑35

 

Install XenTools

Click VM on the toolbar and click Install XenServer Tools (Figure 3-36).

Figure 3‑36

Click Install XenServer Tools on the warning popup (Figure 3-37).

Figure 3‑37

Click the box for the text, which you cannot see, I accept the terms in the License Agreement and press Alt+N (Figure 3-38).  The Next button disappears when the checkbox is clicked.

Figure 3‑38

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.

Figure 3‑39

Press Enter to Reboot now (Figure 3-40).

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”.

Activate Windows

Click the yellow Display Settings balloon (Figure 3-41).

Figure 3‑41

Select In the future, do not show me this dialog box and click Yes (Figure 3-42).

Figure 3‑42

Click Yes to accept the current display resolution (Figure 3-43).

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.

Figure 3‑44

Select Yes, let’s activate Windows over the Internet now and click Next (Figure 3-45).

Figure 3‑45

Select No, I don’t want to register now, let’s just activate Windows and click Next (Figure 3-46).

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.

Figure 3‑47

Adjust Display Settings

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).

Figure 3‑48

Click the Settings tab, change the Screen resolution to at least 1024 by 768 pixels and click Apply (Figure 3-49).

Figure 3‑49

Click Yes on the Monitor Settings popup to keep the new display settings (Figure 3-50).

Figure 3‑50

Click the Advanced button (Figure 3-51).

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).

Figure 3‑52

Click OK to exit the Advanced settings dialog and click OK to exit the Display Properties dialog.

Install Volume Snapshot Provider

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 Files\Citrix\XenTools\install-XenProvider.cmd” and press Enter (Figure 3-53).

Figure 3‑53

The VSS provider is installed (Figure 3-54).

Figure 3‑54

You have now successfully created your VM and installed Windows Server 2003 R2 Standard x86.

 

Create Part 3 Snapshot

To create the Snapshot for this Part, right-click the VM and select Take Snapshot… (Figure 3-55).

Figure 3‑55

  1. Enter a Name,
  2. Optionally enter a Description,
  3. Select Quiesce the VM before taking the snapshot, and then
  4. Click Take Snapshot (Figure 3-56).

Figure 3‑56

Click on the Snapshots tab to see the Snapshot (Figure 3-57).

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.

, , , , , ,

About Carl Webster

Webster is a Sr. Solutions Architect for Choice Solutions, LLC and specializes in Citrix, Active Directory and Technical Documentation. Webster has been working with Citrix products for many years starting with Multi-User OS/2 in 1990.

View all posts by Carl Webster

No comments yet.

Leave a Reply