Building better businesses… with Technology
16 Jul
After many trial and error runs, I’ve finally been able to reduce my fully updated Windows XP SP2 Virtual Machine to a rather lean 802 MB (uncompressed) 276 MB (compressed). WOW!!
 In order to get the XP VM at a reasonable size, follow these steps:
*You must be using a Dynamically Expanding VHD, I’ve not tested the other formats VPC supports!
This entire process could literally take a couple hours to 10 minutes, depending on the size of your vhd.
 Tips:
**UPDATE**
“What does the pre-compactor do for the VHD?”
To understand how the pre-compactor works, you need to understand how a standard hard drive works!
When a hard drive saves data to the disk, it attempts to place all the data in a contiguous form. If data is deleted, that leaves a blank hole on the disk where data used to be stored. Now, for example, you install a program that takes up a large portion of your hard disk, the hard drive will fill in data where you previously deleted thus the new data will be fragmented or scattered throughout the various holes on the disk!
In a typical hard drive, when data is deleted the hard drive “un-links” the data from the OS so you cannot access it, but it is technically still written on the hard drive until it is overwritten by new data. This is why there are data recovery specialist in the world!
The same is true in a virtual environment! Since your virtual hard disk is continuously expanding, it sees this “un-linked” data as good data and keeps it stored in the VHD file which is really just wasted space! The pre-compactor program finds these data chunks and permanently deletes them by writing zeros in place of that data. The VHD compactor is able to then remove zero-ed data from your VHD file, thus reducing the size of the VHD!
“What is the whole purpose of compacting your VHD??”
Well, it really depends on what you’re doing with your Virtual Machine! It all boils down to efficiency when sending the VHD across
In our environment, we use VPC as a testing tool. When we need a fresh install of XP to test a new solution we grab our VHD from the network, load it in VM, and test away.
Unfortunately, installing a fresh XP each time you want to test takes a little while… It is far more efficient to stage a fresh XP and store it on the network, to be downloaded whenever needed. Changes can be made on an “Undo Disk”, which is a great feature of VPC 2007, thereby always maintaining a fresh XP VHD!
13 Feb
I was recently speaking with a few clients who were both complaining about slow performance under Microsoft Virtual Server.
After reviewing their setups, I realized they missed a few common optimizations.
As with any virtual server enviornment, make sure your host is tweaked and optimized before you blame virtualization.
There are easy best-practices which we have been following for years which are easily the most overlooked items. You’ll have the fastest Virtual Server if you follow these recommendations.
Every device in your Virtual Server that has a firmware needs to be verified that its running that latest (stable) version provided by your vendor.
If you have a whitebox or other non-big-3 server (HP, IBM, Dell) than this can take some work.
But get this done. It helps so much.
Years ago we found this out by seeing frequently corrupted virtual disk images. Luckily Microsoft Virtual Server has stablized a lot since then and now its just a performance drainer.
More info and gory details at: http://support.microsoft.com/kb/888750
If you’ve added your disks as IDE already, the following steps should get you converted:
12 Feb
I’ve been looking for a way to convert images made for VMWare over to Microsoft Virtual Server or Virtual PC. I finally found something: http://vmtoolkit.com/files/folders/converters/entry8.aspx. Sweet!
One caveat - this doesn’t work with Linux VMWare images. Darn.
Please Microsoft, release the Linux compatible version of Virtual Server!! I’m running the beta but until its released, none of the linux folks will take Virtual Server seriously
Sharepoint Apple TotalCare Web Development Wireless Issues Network Security QuickBooks iPhone Hosting Jing Microsoft Office Windows Vista Toys & Gadgets Software Office Communicator Random Cool Things Cisco Virtualization Exchange UC/VoIP Hardware Mobility Uncategorized Tips