Hyper-V part 2

So I have installed a few different Virtual Machines(VMs) for Hyper-V and I am really liking it so far.  I was very happy to see that I could create a new VM and point it to an existing .vhd file that I had used with Virtual PC or Virtual Server in the past and it worked just fine.  This is a huge time saver if you have been using virtualization in the past.

Hyper-V and ASP.NET

So I think this is going to be useful for ASP.NET in two main places.  Although it will be helpful in others as well, these two are going to be the big wins that you will get by using Hyper-V.

Support

First it will be useful for support and we will be able to reproduce problems easier (Especially being able to convert a physical machine to a virtual machine).  This will allow support to see issues instead of having to troubleshoot things remotely.  And if you have ever tried to troubleshoot something remotely, you understand how much better it is when you can see the problem yourself instead of over the phone.

Testing

The other place is going to be with testing.  You will be able to setup your whole system and test and make sure your deployment is ready to go before you actually send it to the production machine.  You can also test things like load balancing, without the need of having multiple machines.  Just create a few VMs that each hold the web server and point your load balancer to those.  The other really useful feature is that you can test how RAM and other things affect performance.  When you have a VM, you can change how much RAM it uses.  So you can run your web site under 2 GB of RAM and see how it performs, and then switch to 4 GB or 8 GB and run the same tests.

This will change things.  Because normally you have to rely on tests that others have done to see how RAM and other things affect performance.  But if you look closely at any of those tests, they always say that your results may vary as it depends on the hardware, what your web site does, etc.  So this will give you a true test to see how it will affect things and if you should invest in the extra hardware.

Miscellaneous other stuff

The other thing that I have noticed is that the snapshots seem to be working very well.  This allows you to basically have a backup of the system that you can rollback to at any time.  Which is very useful if you are testing some changes to your site and when done, want to put it back to a known state.

kick it on DotNetKicks.com

Published 05 June 08 09:58 by Tom
Filed under: , ,

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# DotNetKicks.com said on June 5, 2008 9:58 AM:

You've been kicked (a good thing) - Trackback from DotNetKicks.com

# Rick said on June 5, 2008 6:34 PM:

I'm struggling to see the benefits over the existing non hyper-v VM servers I already use to do those things, or even the VMs I use for pure development scenarios.

Any pointers / hints as to what is different? The whole thing seems to me to be like a timewarp to 2 years ago.

# gOODiDEA.NET said on June 5, 2008 6:55 PM:

Debug Setting .NET breakpoints in Windbg for applications that crash on startup Web Javascript HTML Construction

# John said on June 5, 2008 9:43 PM:

Hi,

I just bought a Quad xeon server with 8mb memory. I am planning to install Windows 2008 Web Server but according to hyper-v release notes  only Windows Server 2008 Enterprise or Windows Server 2008 Datacenter supports hyper-v.

http://technet2.microsoft.com/windowsserver2008/en/library/beb365a3-9e35-488a-9fbe-618702d748451033.mspx?mfr=true

Can you confirm that Windows 2008 Web server support hyper-v? Thank you.

# Tom said on June 6, 2008 11:27 AM:

Rick,

One of the things is security, check out:

http://blogs.technet.com/virtualization/archive/2008/04/07/isolation-of-vms.aspx

You can also look at this video:

http://www.microsoft.com/heroeshappenhere/videos/server/1023_Microsoft_ServerVirtualization.htm

Also, check out the videos here:

http://blogs.technet.com/virtualization/pages/videos.aspx

There is also a great write-up of how MSDN and Technet are now running on Hyper-V here:

http://blogs.technet.com/virtualization/archive/2008/05/20/msdn-and-technet-powered-by-hyper-v.aspx

# Tom said on June 6, 2008 11:37 AM:

John,

It is not supported on the Web Edition.  Take a look at:

http://www.microsoft.com/windowsserver2008/en/us/compare-features.aspx

It is availabe on the Enterprise, Standard, and Datacenter editions only.

# Monte said on September 11, 2008 7:54 PM:

How do you convert a 2003 server physical machine to a virtual machine in Hyper-V?

# Tom said on September 11, 2008 10:15 PM:

Monte,

There are many different tools that will do P2V conversions.  The one we have is:

http://www.microsoft.com/systemcenter/virtualmachinemanager/en/us/overview.aspx

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required

Search

This Blog

Syndication

Page view tracker