After you install Microsoft Virtual Server 2005 Release 2 (R2) on your test system,
you'll need to perform some preliminary configuration steps: creating virtual
machines (VMs) and virtual hard disks. Once you've set up your virtual environment,
you can install whatever OSs you choose on the test system. Here, I explain how
I accomplished both sets of tasks—which I needed to do before I could install
Exchange Server 2007 Beta 1 on my test machine.
Creating VMs and Virtual Hard Disks
To create your VMs, first go to the Virtual Server Administration Web site,
which resides on whatever machine you installed Virtual Server 2005 on. Resist
the temptation to click Create under Virtual Machines; you’ll want to
create and configure your virtual network(s) and virtual hard disk(s) first.
Instead, under Virtual Networks, point to Configure, and click Internal Network.
From there, click the Network Settings link and make sure you set Physical network
adapter to None (Guests Only). Now as long as you connect your VMs to this virtual
network, as Web Figure 1 shows, they'll be isolated
from your production network.
While you’re configuring the Internal Network, click the DHCP Server
link and disable it. You’ll be creating VMs in a few minutes, one of which
will be running the DHCP service. Now that your virtual network is ready, you
can create some virtual hard disks. Under Virtual Disks, point to Create, then
click Fixed Size Virtual Hard Disk. Although creating a dynamically expanding
virtual hard disk is faster in the short term (i.e., it takes less time to create),
a virtual hard disk with its space already allocated performs faster because
no resources are wasted expanding the virtual hard disk on the fly.
Type the path and name for your virtual hard disk. I make my virtual disks
16GB, but you can make them any size you want within the limitations of the
OS that you’ll install on your VM. Remember that you’ll be creating
quite a few of these disks, so size them appropriately; you don’t want
to run out of disk space. I name my virtual hard disks according to the machine
role—for example, DC for a domain controller (DC), EXCH for Exchange—but
you can name them whatever you want. Once you’re satisfied with your selections,
click the Create button.
Virtual Server can create multiple virtual hard disks in the background, so
repeat the previous procedure above until all your virtual hard disks are ready
to go. The creation process can take some time depending on your hardware; creating
a 16GB virtual hard disk on my system took 10 to 15 minutes. Now’s a good
time for that caffeine fix.
Once all your virtual hard disks are ready, click the Create link under Virtual
Machines. Give the new VM a name; I always name mine the same as its respective
virtual hard disk. Allocate as much RAM to the VM as you think you’ll
need. I used 512MB for each of my VMs and got decent performance from them.
Under Virtual Hard Disk, select the option to use an existing virtual hard disk,
and specify the corresponding .vhd file you created earlier (the .vhd file "contains"
the virtual hard disk). Pick SCSI (not IDE) from the Bus drop-down menu; your
virtual hard disk will perform faster over a SCSI connection. Finally, under
Virtual network adapter, make sure your new VM is connected to the Internal
Network. Finally, click Create. Creating your VM will take only a few seconds,
regardless of what hardware your test machine is using.
Repeat this process for each of your virtual hard disks, and you’ll
soon have several newly minted VMs ready to go. If you’re making a duplicate
of my test system, you’ll need four VMs total. Again, each one should
have a 16GB virtual hard disk, 512MB of RAM, and be connected to the virtual
network called Internal Network. My VMs are
? DC for Active Directory (AD)—that is, the DC created earlier
? EXCH for Exchange 2007
? XP1 for Microsoft Outlook Web Access (OWA) and Microsoft Office Outlook
2007
? XP2 for OWA and Microsoft Office Outlook 2003
Figure 1 in the main article shows
the layout of my test environment.
Installing Windows 2003
If you’ve ever dreamed about installing Windows multiple times in the
same day exactly the same way, your dream has come true. Put your Windows Server
2003 Release 2 (R2) CD-ROM in the test machine’s drive, fire up the Virtual
Machine Remote Control client (VMRC), and click the machine on which you want
to start the installation.
The first time you start a VM is kind of neat. You’ll see POST messages,
such as the amount of RAM installed and SCSI BIOS messages, just as you would
on a "real" computer. Shortly thereafter, Windows Setup starts. You
can install the OS on more than one VM at a time; in the VMRC, just click any
other VM you want to start. Although installing the OS on multiple VMs simultaneously
will make the installations crawl, you can start as many as you need and do
something else during the installations.
Installing Windows Server is the same installation procedure you're used to.
I set both DC and EXCH to be licensed per-user (10 connections) and removed
the Network Load Balancing (NLB) driver during Setup. My test network address
is 192.168.100.0/24, so I gave DC an IP of 192.168.100.1 with no default gateway
and EXCH an IP of 192.168.100.2 with a default gateway of 192.168.100.1. After
you complete Windows Setup, you’ll be prompted for the Windows 2003 R2
Additions CD-ROM. Insert it and install the R2 components.
You’ll notice at this point that performance (e.g., screen resolution,
mouse "capture," overall system responsiveness) is rather poor, so
you’ll want to install the VM Additions now. The VM Additions are a component
of Virtual Server 2005 R2 that adds special drivers and software to a VM to
enhance its performance and manageability. Not only will this make the VM faster
by a factor of 10, but the Additions will give you the ability to set higher
screen resolutions and color depths and avoid the pain of having to Alt+Click
to get your mouse cursor out of the VM and back onto your local machine. Specifically,
the Additions let you simply move your mouse into and out of the VMRC window
as though it were a regular Windows application. Without the Additions, you
have to click in the VMRC window to "capture" the mouse cursor, then
press Alt+Click to "uncapture" the mouse cursor and use it outside
of the VMRC window.
To install the VM Additions, from the Virtual Server Administration Web site,
under Virtual Machines, point to Configure, then click the machine you want
to install the VM Additions on. Then click the Virtual Machine Additions link,
select the Install Virtual Machine Additions check box, and click OK. The installer
should start automatically on your VM.
After you’ve installed the VM Additions and rebooted your VM (required),
I highly recommend that you copy the \i386 directory from the Windows 2003 R2
CD-ROM to the virtual hard disk. Having the \i386 directory on the virtual hard
disk will be a huge timesaver, since you’ll need it to install additional
Windows components in the next step and later on as well.
Sammyc53 July 27, 2006 (Article Rating: