Home > Microsoft Exchange Tips > Exchange Server Administration Tips > Virtualizing Exchange Server 2007 with Microsoft's Hyper-V
Exchange Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 

EXCHANGE SERVER ADMINISTRATION TIPS

Virtualizing Exchange Server 2007 with Microsoft's Hyper-V


Brien Posey
08.13.2008
Rating: --- (out of 5)


Exchange Server tips, tutorials and expert advice
Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us    Add to Google


Virtualization technology promises to alleviate overloaded servers and power supplies. But there are still no documented best practices for successfully virtualizing an Exchange server. In this tip, learn about the steps taken by one pioneer, who virtualized a small Exchange Server environment using Microsoft's Hyper-V.

After experiencing power issues at my home, I had an electrician check to see how much of a load my Exchange servers were pulling. Although the circuits in my server room weren't overloaded, I would need another dedicated circuit if I added a couple more Exchange servers. At that point, I considered server virtualization on my production servers to reduce the line load.

However, it wasn't until I was unable to save a document because the system board in the server had failed that I decided to go forward with virtualizing my servers. Because this particular machine serves as both a file server and an Exchange server, I knew I had to act quickly. Keep in mind, I don't recommend using your Exchange server as a file server, unless you're in a very small office.

Since I suffered a catastrophic hardware failure, I was in a hurry to get back online. As such, I didn't have time to do the proper planning or to research virtualization best practices for Exchange Server 2007. While this article details the steps I took to accomplish Exchange Server 2007 virtualization, there is one caveat. These techniques worked well for me; they may or may not adhere to Microsoft's best practices for virtualizing Exchange Server 2007.

Technically, Microsoft won't officially support Exchange Server 2007 virtualization until after the release of Hyper-V later this year. Additionally, I don't believe there are any best practices available at this time.

The virtualization process

I purchased a computer that was as similar to the one that had crashed, but it had more processing power and memory. While this detail might seem trivial with regard to virtualization, it did make my life easier. Even though I constantly back up my files and Exchange Server information store, I didn't have a full system-state backup of the server that had died. I knew that, if needed, I could perform a fresh Windows installation, install Exchange Server and use a recovery storage group to import my data.

Next, I transplanted my RAID controller and drives from the old server into the new server. Normally, you can't do this unless the hardware is identical. Transplanting all of your drives from another machine generally will result in receiving a blue screen halfway through the boot process. Fortunately, this didn't happen since the hardware was similar enough to boot Windows.

When Windows booted, I received a message stating that substantial hardware changes had occurred and Windows needed to be reactivated within three days. Because I was planning to virtualize the machine, I chose to ignore this activation prompt.

I then verified that Windows Server 2003 Service Pack 2 (SP2) was installed on the server. This step is critical because you won't be able to connect the server to the network unless SP2 is installed after moving the machine to a virtual environment.

Since I was going to store my backup on a network drive, I needed to be able to reach the network. Hyper-V doesn't allow virtual machines to connect to USB devices, so storing a backup on the network may be your best bet.

More on Exchange Server virtualization:
Considerations for virtualizing an Exchange Server environment

Next, I created a full system-state backup of the server. I wasn't quite sure how well the backup would restore to a virtual machine, so I tried to remove as many potential obstacles as I could. Therefore, before I started the backup, I dismounted the Exchange Server database and shut down all Exchange-related services.

When the backup started running, it occurred to me that I was potentially putting a healthy machine at risk. Given the mission-critical nature of an Exchange server, I decided to protect myself in case the virtualization process didn't go well. While the server was being backed up, I bought several hard drives for the new machine. I figured that once the backup completed, I could remove all currently used hard drives and put them on a shelf. That way, if the virtualization didn't work, I would only have to remove the drives from the server, plug the old drives back in and have the system running again in a few minutes.

Note: If you do this, be sure to label the drives. Attaching the drives to the RAID controller in the wrong sequence can corrupt data.

Once the backup completed, I shut down the server, removed the old hard drives and installed the new drives. I then installed a 64-bit copy of Windows Server 2008 and Hyper-V RC1. Hyper-V isn't like Microsoft's previous virtualization products in that it performs virtualization at the hardware level. Therefore, it's critical to verify that your hardware will support Hyper-V before attempting to virtualize your system.

Once the Windows environment was in place, I began creating a virtual machine to act as a replacement for the failed server. There are only a couple of mailboxes on my server, so I allocated just 2 GB of RAM. Keep in mind that Microsoft's Hyper-V allows you to make adjustments later, if necessary.

I also created virtual hard drives to mimic the old server's physical drives. To maintain fault tolerance, the virtual drive containing the Exchange information store must reside on a different physical drive or physical array than the virtual drive that holds the transaction logs.

Microsoft's Hyper-V lets you choose whether you want to create virtual fixed-size hard drives or dynamically expanding virtual hard drives. I chose to use fixed-size virtual hard drives because they tend to perform better than dynamic virtual hard drives. It does, however, take some time to create fixed-size virtual hard drives. Each system is different, but this process took about 20 to 30 minutes for a 200-GB virtual hard drive.

About the author: Brien M. Posey, MCSE, is a five-time recipient of Microsoft's Most Valuable Professional award for his work with Exchange Server, Windows Server, Internet Information Server (IIS), and File Systems and Storage. Brien has served as CIO for a nationwide chain of hospitals and was once responsible for the Department of Information Management at Fort Knox. As a freelance technical writer, Brien has written for Microsoft, TechTarget, CNET, ZDNet, MSD2D, Relevant Technologies and other technology companies. You can visit Brien's personal website at www.brienposey.com.

Do you have comments on this tip? Let us know.

Please let others know how useful this tip was via the rating scale below. Do you know a helpful Exchange Server, Microsoft Outlook or SharePoint tip, timesaver or workaround? Email the editors to talk about writing for SearchExchange.com.

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




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


RELATED CONTENT
Microsoft Exchange Server 2007
Benefits of backing up Exchange Server with Microsoft's DPM 2007
Creating and configuring Exchange Server 2007 mailboxes
How to configure Exchange Server 2007 mailboxes
Setting up Exchange Server 2007 contacts
How to create and configure Exchange Server 2007 distribution groups
Deleting and reconnecting Exchange Server 2007 mailboxes
Creating mail users in Exchange Server 2007
Creating and managing recipients in Exchange Server 2007
Managing Exchange Server 2007 address lists
Exchange Server 2007 replication and database transaction basics
Microsoft Exchange Server 2007 Research

Microsoft Exchange Server Hardware Management
Troubleshooting a 64-bit Exchange Server 2007 installation
How to move Exchange 2000 to new server hardware
Considerations for virtualizing Exchange 2007 mailbox servers
Can't create mailboxes after virtualizing Microsoft Exchange Server
How to virtualize Exchange Server 2003
Three hardware don'ts when optimizing Exchange Server performance
How Microsoft's new support policy for virtualized Exchange will affect you
Why too much memory can hurt Exchange Server 2007 performance
Considerations for virtualizing an Exchange Server environment
Exchange Server 2007 hardware planning for continuous replication
Microsoft Exchange Server Hardware Management Research

Exchange Server Administration Tips
Benefits of backing up Exchange Server with Microsoft's DPM 2007
Exchange Server 2007 replication and database transaction basics
Microsoft Exchange Server 2003 database recovery methods
Automate complex Exchange 2007 Management Shell tasks via scripting
Considerations for virtualizing Exchange 2007 mailbox servers
Extracting Exchange ActiveSync data from IIS log files
How to virtualize Exchange Server 2003
Microsoft Exchange Server mailbox recovery using database portability
Plan an Exchange 2007 standby continuous replication (SCR) deployment
Set up messaging records management (MRM) in Exchange Server 2007

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

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.



Email Server Solutions: Exchange 2007, Exchange 2003, Exchange 2000, SharePoint
HomeNewsTopicsITKnowledge ExchangeTipsAsk the ExpertsMultimediaWhite PapersIT Downloads
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides enterprise IT professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective IT purchase decisions and managing their organizations' IT projects - with its network of technology-specific Web sites, events and magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Reprints  |  Site Map




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