Skip to content
Features

Deploying a Windows 2003 based network for small business: Part II

Part two in our series on building a Windows 2003 based network for the small …

Nerio Musa – | 0
Story text

A comprehensive guide to creating a virtual lab

Last week we discussed the overall topology of the network we are building for our small business client. We also successfully installed Windows 2003 in preparation for creating a global catalogue server. This week we will lay the groundwork for configuring a primary internal DNS server properly for our small business, by setting up a virtual lab to work with.

While a screenshot-based walkthrough is nice to have as a reference, there is no better way to learn than to do the actual thing. Understandably not everybody has multiple servers available at home to play with, but using virtual machines we can simulate the entire environment on a single beefy workstation.

For all these walkthroughs I actually used a 45-day trial version of Microsoft?s Virtual PC 2004. This software allows you to emulate various virtual machines on a single PC, all running at once assuming you have enough horsepower and RAM. You can download and install a trial version of Virtual PC 2004 here.

The workstation running our virtual environment should have at least 1GB of RAM and about 2GB of hard drive space for each virtual machine. Ideally you will also have a speedy P4 or equivalent CPU, but I have personally found Virtual PC 2004 to run smoothly on a dual P3 1GHz machine.

Our initial environment will consist of 4 virtual machines running Windows 2003 as the base OS. We will discuss how to configure Virtual PC 2004 and install all the virtual machines below.

When you start Virtual PC 2004 for the first time after an install you will see the following window. This console will list all your virtual machines and allow you to start them, remove them, and adjust their emulated hardware settings. First we will need to create a new virtual machine. You can do that by clicking new.

When you click new, it launches the New Virtual Machine Wizard which will allow us to create a virtual machine file and then adjust the settings to our requirements.

We will soon be uploading all the virtual images for our lab environment and that will be available as a subscriber-only download. You can use these existing virtual images instead of creating new virtual machines by running the New Virtual Machine Wizard as well. However the scope of this article is to create new machines from scratch. Another article at a later date will discuss how to use the premade virtual images.

Select the Create New Virtual Machine radio button and click Next.

Virtual machine set-up (continued)

Enter the path and file name of the new virtual machine you want to create. In this case we will be creating a machine called GC2k3 which will be our global catalogue server.

Next, select the operating system for the new virtual machine. In our case we will select Windows 2003.

Since we will be running 4 virtual machines simultaneously eventually, we need to be careful as to how much RAM each machine will use. Change the recommended setting to 128MB for each machine to conserve memory.

Now create a new virtual hard disk for our global catalogue server.

Select the path where the new hard disk will be located.

Verify the summary and click finish to create the new virtual global catalogue machine.

?

Virtual machine network configuration

Once your new virtual machine is created, it will be visible in the Virtual PC console as shown.

Click on settings to configure the networking options. Select networking in the left panel, and configure it to Local Only in the right hand panel. Other options to use NAT, bridged, etc., are available as well, but we will be using a local only network.

After you change the settings, start the new virtual machine from the console. Of course you will not be able to boot into Windows 2003 since no operating system has been installed yet. We need to mount a bootable Windows 2003 ISO image. A trial version of Microsoft Windows 2003 can be found here for download:

http://www.microsoft.com/windowsserver2003/evaluation/trial/evalkit.mspx#XSLTsection124121120120

Once you have a valid bootable trial or properly-licensed Windows 2003 ISO image, we can mount it by going to CD on the top Virtual PC menu bar, and select Mount ISO Image. Enter the path to the ISO image and then restart the virtual machine. You will now be able to install Windows 2003 from the bootable ISO image.

Finishing up

Once you have a functioning Windows 2003 base virtual image, install the Virtual machine additions by going to Action on the top menu bar and then install virtual machine additions. This will provide enhanced functionality on your virtual machine like the ability to share folders with your desktop workstation, better graphics, better screenshot abilities, etc.

You can use the same procedure as outline in the steps above to create your other virtual machines. Alternatively, once you have a base install of Windows 2003, you can simply copy the virtual hard drive and config file to another folder and use that image and modify it to serve as the base install for your next virtual machine.

One caveat is that you will have to edit the Virtual PC config file for that machine. It should be located in the same folder as the virtual hard drive as shown.

Open up the config file with notepad and reset the Ethernet MAC address of the virtual machine. We need to do this because if we are using the same base image for all our virtual machines, they will all have the same MAC address since the assigned MAC address is configured in the plaintext config file. We need to erase the existing MAC address by highlighting it as shown and then deleting it. The next time the virtual machine is started, it will be assigned a different MAC address automatically and your network will no longer go haywire.

Please remember that even though this is a lab environment, all of Microsoft?s licensing requirements still apply. Use only legal or trial software and ensure you have the proper numbers of licenses. All the software we will be using in our environment is available in trial versions. The list below is what we will need.

  • Microsoft Virtual PC 2004 trial
  • Microsoft Windows 2003 trial
  • Microsoft Exchange 2003 trial

  • Microsoft ISA Server 2000 trial

Alternatively if you are a consultant or have your own business, Microsoft offers something called the Microsoft Action Pack. You can get access to most of Microsoft?s products and use them in a nonproduction environment for less than US$300. More information about Microsoft Action Pack for customers in the U.S. can be found here.

You can now configure your own lab at home without having to spend lots of money on hardware. This allows you to learn with a hands-on approach while keeping our articles as a handy reference guide. Additionally when sending a proposal to your clients, burn the virtual images onto a DVD and let your customers evaluate your proposals in a simulated lab environment. This approach will go a long way with helping you close the sale of your consulting services.

With the next part we will continue on with configuring our lab environment by preparing the domain for an Exchange 2003 server. Happy virtual computing!

Previous articles in this series

Part I: Network and hardware requirements, hardware and installation

Revision History

Date Version Changes
05/04/2004 1.0 Release
05/05/2004 1.1 Changed reference to first
article on page 1
0 Comments