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.
Comments
Anonymous
June 05, 2008
You've been kicked (a good thing) - Trackback from DotNetKicks.comAnonymous
June 05, 2008
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.Anonymous
June 05, 2008
Debug Setting .NET breakpoints in Windbg for applications that crash on startup Web Javascript HTML ConstructionAnonymous
June 05, 2008
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.Anonymous
June 06, 2008
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.aspxAnonymous
June 06, 2008
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.Anonymous
September 11, 2008
How do you convert a 2003 server physical machine to a virtual machine in Hyper-V?Anonymous
September 11, 2008
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