Hyper-V: They've gone plaid!

Published 25 July 08 10:02 AM | Adam Singer 

The title is a reference to "Spaceballs", of course.

Recently, I've been doing all of my development on a machine that doesn't exist. This both amuses me greatly and increases my productivity.

In case you haven't figured it out yet, I'm using a Hyper-V guest OS as a development machine with the host running Windows Server 2008 x64. The machine has two harddrives, one of which has two partitions (OS and programs on one, vhd files and other persistent data on the other), and the other of which is actually offline from the perspective of the host OS.

Instead, my development guest machine has complete control of this second drive and uses it as my version control enlistment store. That means that every time I roll back to my earlier snapshot of that machine to install the latest pre-release development tools and reattach the drive its contents match what TFS says it should have and I don't need to run a complete force get.

The host has 2 processors so I've set my development guest to have two as well (otherwise building would be slower). I haven't noticed any performance degradation in terms of TFS operations, build time, etc. on the dev box and have seen significant improvements in the time it takes me to get up to the latest dogfood bits (yum yum). In addition, while the dev box is getting prepared I can still be checking e-mail, the Visual Studio Team System forums, or other similar work on my host OS.

I've been running this configuration since a little before the Hyper-V RC was released and am very content. I've also spent a good deal of time testing TFS configurations on Hyper-V and am very pleased with the snapshotting functionality in particular. If you haven't installed the RTM version, do it now!

Comments

# a-foton » Hyper-V: They’ve gone plaid! said on July 25, 2008 10:28 AM:

PingBack from http://blog.a-foton.ru/2008/07/hyper-v-theyve-gone-plaid/

# Chris said on July 25, 2008 11:44 AM:

That is very interesting... I haven't played with Hyper-V yet but do all of my dev on VM's, so i'm unsure of how straight forward it is to set this up. My question (from not knowing enough about Hyper-V) is can we develop on dual monitors on the guest VM? Or is dual monitors only available for the host?

# Adam Singer said on July 25, 2008 2:00 PM:

Hi Chris-

The best option I've heard is to run mstsc with the "/span" parameter to connect to your guest machine. I haven't heard of built-in support in the Hyper-V connection window, though.

Hope this helps- Adam

# Adam Singer said on July 31, 2008 5:52 AM:

Apparently, if there's one thing that can get me blogging up a storm it's Hyper-V. I just can't get enough!

New Comments to this post are disabled

About Adam Singer

Faster than a speeding batch file, stronger than a well coded C# library, Adam is often seen testing those dark, dank quagmires of features where few tread and even fewer return. And he does so with a signature chipper attitude not sold in stores.

Search

This Blog

Syndication

Page view tracker