in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

Craig Lussier

Sharing SharePoint, .NET and development experiences

Windows Server 2008 Hyper-V: Overview of hardware/software requirements and VHD conversion for developers

After my post about my home office development environment using Hyper-V, I received comments and some emails regarding requirements, specifications and compatibility with virtual machines from Virtual Server 2005 R2 and Virtual PC 2007. Please note, that my main expertise is development (i.e. I am not a network or hardware guy), so my experience related to using Hyper-V only includes virtualization for development environments. I am going to summarize the high level details one should know about Hyper-V when considering an implementation. I would say that this is more for developers that wish to get up and running with Hyper-V, but this info is applicable to anyone using (or wishing to use) Hyper-V. I am going to write this post as a Q&A.


Q. What is Hyper-V?

A. Hyper-V is a server role within Windows Server 2008. It is a hypervisor-based technology that provides a scalable, reliable, and highly available virtualization platform. Hyper-V is only available on Windows Server 2008 x64 Editions as it requires a 64-bit processor that supports hardware-assisted virtualization and hardware data execution protection.
(parts paraphrased from http://www.microsoft.com/windowsserver2008/en/us/hyperv-faq.aspx)

 

Q. What is Windows hypervisor?

A. A core component of Hyper-V, Windows hypervisor is a thin layer of software between the hardware and the OS that allows multiple operating systems to run, unmodified, on a host computer at the same time. It provides simple partitioning functionality and is responsible for maintaining strong isolation between partitions. It has an inherently secure architecture with minimal attack surface, as it does not contain any third-party device drivers.
(copied from http://www.microsoft.com/windowsserver2008/en/us/hyperv-faq.aspx)

 

Q. What are the general system prerequisites for Hyper-V (software and hardware)?

A. Hyper-V requires Windows Server 2008 x64 (Datacenter, Enterprise or Standard) and an 64-bit processor that supports hardware-assisted virtualization and hardware data execution protection.

 

Q. How do I enable the Hyper-V within a Windows Server 2008 x64 edition?

A. See http://www.microsoft.com/windowsserver2008/en/us/hyperv-install.aspx.



Q. Which operating systems can run as a guest in Hyper-V?

A. See http://www.microsoft.com/windowsserver2008/en/us/hyperv-supported-guest-os.aspx for a listing.

 

Q. Can I run the Hyper-V role on a Server Core installation?

A. Yes, the Hyper-V can be enabled on a Server Core installation. I have yet to do this personally, but there are some brief notes about this at http://www.microsoft.com/windowsserver2008/en/us/hyperv-install.aspx.

 

Q. I have many existing virtual machines in Virtual PC 2007 or Virtual Server 2005 R2. Will they work in Hyper-V?

A. Yes. I have converted my virtual machines to work with Hyper-V, however I have not found it to be completely straight forward and there are things you need to know.

First, some gotchas that I found although I have not done exhaustive testing on this:

  • The virtual machine additions for Virtual PC and Virtual Server 2005 R2 are not compatible with Hyper-V. You will need to uninstall them before using the VHD in Hyper-V.
  • Depending on your version of Windows, you may need to re-activate your Windows OS. I really don't like this but the OS sees hardware changes and I believe this to be the cause. If anyone knows a way around this, I would be grateful.

General Steps to convert a Virtual PC 2007 or Virtual Server 2005 R2 VHD to work in Hyper-V:

  1. First, make sure you have the fully up-to-date RTM version of Hyper-V.
  2. Second, make sure your guest OS in Virtual PC or Virtual Server are fully patched with the latest service pack.
  3. Copy the VHD file to a the location that you'll be running it with Hyper-V.
  4. Open the copied VHD file in Virtual PC or Virtual Server.
  5. Uninstall the Virtual Machine Additions. These are not compatible with Hyper-V and will cause problems.
  6. You may be prompted to Activate windows again. Select ask again later as we will do this when it is running in Hyper-V.
  7. Save the changes to the virtual machine and close Virtual PC or Virtual Server.
  8. Fire up Hyper-V. Create a new virtual machine and attach the existing hard disk.
  9. Install the Integration Components (these have been renamed as they used to be called Virtual Machine Additions)
  10. Reboot the virtual machine in Hyper-V. When it comes back up, all should be well. I've noticed that networking doesn't work until a reboot when Integration Components are installed. 
  11. Re-activate windows if necessary.

 

Q. I have my virtual machines running in Hyper-V, but my laptop, which I need to use sometimes for client presentations, has a 32-bit processor. What can I do?

A. To be honest, I have not tried converting a Hyper-V VHD for use in Virtual PC 2007 or Virtual Server 2005 R2 (will be doing so soon and will update this post with my findings) but I suspect if it is possible you'll have to uninstall the integration components first (similar to converting a VHD for use in Hyper-V from Virtual PC or Virtual Server - see above question). Another thing, that if this does work, it will only work with 32-bit operating systems as Virtual PC 2007 and Virtual Server 2005 R2 only support 32-bit guest operating systems. If anyone has done this, I would be grateful if you could please share your experiences as I need an answer myself. More on this soon when I do the research...

 

Q. Does the virtualization team at Microsoft have a blog?

A. Yes. http://blogs.technet.com/virtualization/

 

Q. Where can I get more information about Hyper-V?

A.

Comments

 

Softweb Solutions said:

Thanks for the very helpful information.

Best Regards

Arpit Kothari

www.softwebsolutions.com

July 8, 2008 5:39 AM
 

Shaik Haji Basha said:

How many guest sessions(OS) can we run on Hyper-V Host Server?

Can we install any other server roles like DC on this Hyper-V host server, if we install does it work properly?

July 24, 2008 6:40 AM
 

Shaik Haji Basha said:

Thanks yaar your information was helpful to me. please provide the below mentioned data to me:

How many Guest Sessions can we run on Hyper-V host server?

can we run any server role like DC,DNS, or anyother server role on the Hyper-V host server?

July 24, 2008 7:17 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

About Craig Lussier

I am an Enterprise Developer/Systems Analyst in Toronto, Ontario, Canada. I have been working with web related technologies since 1995. My professional efforts have been focused on Microsoft and .NET related technologies since 2000. I specialize in SharePoint 2007 and WSS 3.0, ASP.NET web applications, intranets, information management, information architecture and their practical business implementations within an organization. The main purpose of this blog is to discuss SharePoint, WSS and .NET related technologies. I have benefited from the work of the community at large and this is my effort to give back to the community. All opinions/views contained within this blog are solely my own and do not reflect the position of my employer. Any/all code I share (even if written by me) is not supported so please use it at your own risk and discression. If you choose to use any examples contained within my blog, you assume complete responsibility for its implementation and operation within your environment.

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts