Home > Windows Server Tips > Windows Server Monitoring and Management > Configuring a virtual test lab on a budget
Windows Server Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

WINDOWS SERVER MONITORING AND MANAGEMENT

Configuring a virtual test lab on a budget


Gary Olsen, Contributor
08.07.2007
Rating: -4.44- (out of 5)


Expert advice on Active Directory and Group Policy
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


With the IT community buzzing about the reduced number of servers required with virtual machines, it's easy to forget that virtualization can serve as a valuable testing and training tool as well.

Many administrators have to work with a variety of configurations to support customers using Windows NT, Windows 2000 Server, Windows Server 2003, R2 and soon Windows Server 2008. Creating a virtual lab allows you to test these configurations, as well as train on new products like Exchange Server 2007 without buying more hardware.

This eliminates a big investment in hardware. Since these machines are actually just files on the physical disk, you won't be afraid of doing destructive testing because you can just delete the virtual machine file and start a new copy of the virtual machine you've kept. Therefore, you don't have to spend hours reinstalling Windows on computers.

Another advantage of building a virtual test lab involves networking. You can isolate virtual machines in a network so they can talk to each other and the host, but not the outside world. With that isolation, you don't need to worry about security patches, firewalls or antivirus software -- making maintenance of this environment very easy. Of course, you can switch the networking configuration to allow the virtual machine to see the Internet if you need to download something or perform the Windows activation.

Building a virtual test lab consists of the following steps:

Two important decisions to make involve the size of the virtual disk and the memory allocated. Here are my recommendations: The step that a lot of administrators miss is creating the Sysprep image. You can't just open a new virtual machine, install Windows, then make multiple copies of that machine and join them to a domain. Why? Because besides the fact that they would all have the same name and IP address, they would all have the same SID. Sysprep is a utility that strips all of that and ...

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google



RELATED CONTENT
Windows Server Monitoring and Administration
Perfmon made easy with PAL utility
DirectAccess means 'always on' in Windows Server 2008 R2
Top five Server Core management tips for Windows 2008
Top free tools for Windows server administration
Windows Server 2008 Learning Guide
A quick guide to Server Manager for Windows Server 2008
Moving dynamic disks to a new Windows server
A first look at Storage Explorer for Windows Server 2008
Tips for Windows domain controller optimization
Take control of server clusters with Microsoft's ClusDiag tool

Windows Server Monitoring and Management
BitLocker in R2 provides data protection for semi-protected servers
Perfmon made easy with PAL utility
Converting Citrix XenServer source machines to Hyper-V format
Balancing Windows security with reasonable password policies
Windows AppLocker in R2: Turning conventional security wisdom on its head
Top 10 things you don't know about Windows Server 2008 R2
BranchCache makes branch offices feel like home
When to use VM backups versus snapshots in Hyper-V
Installing Server Core for Windows 2008 the easy way
Migrating virtual machines from Microsoft Virtual Server to Hyper-V

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary


effectively neuters the machine.

To create a single installation of the Windows operating system, follow the instructions for your virtualization software to create a new machine. After Windows is installed, you can add applications, tools, network configuration, etc. You can add anything that you want to show up on all instances of this machine.

Sysprep can be a little confusing. Here are the steps to follow when running it. Sysprep for Windows 2000 and 2003, including R2, is located on the server CD in the \Support directory.

  1. With the virtual machine configured the way you want it, load the Windows Server CD (2000 and 2003 are the same). Go to \SUPPORT\TOOLS\DEPLOY.CAB and copy SYSPREP.EXE, SETUPMGR.EXE and SETUPCL.EXE to a directory on the virtual machine: C:\SYSPREP.

  2. Execute SETUPMGR to produce SYSPREP.INF. The Setup Manager wizard will present you with a number of questions. Here are the answers in order:
  3. Put the resultant Sysprep.inf file in C:\SYSPREP. Also, copy it to another directory. If you want to modify it, you can edit the inf file without going through this to generate another one. The Sysprep.inf file in C:\SYSPREP will be destroyed after you do the next step.

  4. Run SYSPREP.EXE
Now you have that neutered image all ready for duplicating. VMware and Virtual Server both create a number of files that are associated with each virtual machine. I recommend zipping them up to keep them organized. Put a copy of the zip file somewhere for safe keeping and then extract copies of it to other directories.

I like to put my Sysprep converted image in C:\Vault and restrict access to read. Then I create C:\Virtual Machines to put the copies in for final installation into a domain. Note that when using VMware, you should create a separate directory for each virtual machine to keep them straight – for example, C:\Virtual Machines\VM1, \VM2, etc. Virtual Server is easy to organize by putting them all in one directory.

Now that you have this under your belt, check back for our next article to learn how to add a Windows Server 2008 virtual machine.

Do you have an Active Directory issue or problem that you'd like Gary to write an article about? Email him at glo11749@yahoo.com. Note: Gary cannot answer each query personally or guarantee that all will be answered. However those queries that have widespread interest or involve common AD issues will be addressed.

Gary Olsen is a systems software engineer for Hewlett-Packard in Global Solutions Engineering. He authored Windows 2000: Active Directory Design and Deployment and co-authored Windows Server 2003 on HP ProLiant Servers. Gary is a Microsoft MVP for Directory Services and formerly for Windows File Systems.


Rate this Tip
To rate tips, you must be a member of SearchWindowsServer.com.
Register now to start rating these tips. Log in if you are already a member.




DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Server Room Design - Planning, Cooling, Maintenance
HomeTopicsBlogsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2004 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts