November 2008 MVUG meeting announced

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Those who attended the first Microsoft Virtualization User Group (MVUG) meeting in September will probably appreciate the quality of the event that Patrick Lownds and Matthew Millers put together with guest speakers from Microsoft (Justin Zarb, Matt McSpirit and James O’Neill) presenting on the various elements of the Microsoft Virtualization line-up (which reminds me… I must finish up that series of blog posts…).

The next event has just been announced for the evening of 10 November (at Microsoft in Reading) with presentations on Virtualization Solution Accelerators and System Center Data Protection Manager 2007 (i.e. backing up a virtualised environment) – register for the physical event – or catch the event virtually via LiveMeeting.

Some more useful Hyper-V links

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Regular readers will have realised by now that the frequency of posts on this blog is almost inversely proportional to the amount of my spare time that the day job eats up and, after a period of intense blogging when I had a fairly light workload, the last couple of weeks have left little time for writing (although James Bannan and I did finally record the pilot episode of our new podcast last night… watch this space for more information).

In the absence of my planned post continuing the series on Microsoft Virtualization and looking at application virtualisation (which will make an appearance, just maybe not until next week), here are a few Hyper-V links that might come in useful (supplementing the original list of Hyper-V links I published back in July):

Windows Server 2008 Hyper-V vs. Hyper-V Server 2008

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Last summer, I wrote a post to help people understand the various versions of Hyper-V and now that Hyper-V Server has been launched, it’s got even more confusing.

The following table is lifted from the Microsoft website and should help to clear up which version of Hyper-V Server or Windows Server with the Hyper-V role enabled will allow various functionality:

Requirement Hyper-V Server 2008 Windows Server 2008 Standard Edition Windows Server 2008 Enterprise Edition Windows Server 2008 Datacenter Edition
Server consolidation Yes Yes Yes Yes
Test and development Yes Yes Yes Yes
Mixed operating system virtualisation (Windows and Linux) Yes Yes Yes Yes
Local Graphical User Interface Yes Yes Yes
High availability clustering Yes Yes
Quick migration Yes Yes
Large memory support (host >32GB RAM) Yes Yes
Support for >4 processors (host) Yes Yes
Ability to add further server roles Yes Yes Yes
Virtualisation rights (per assigned server license) Each guest should be licensed independently of the host 1 physical and 1 virtual 1 physical and 4 virtual 1 physical and unlimited virtual

Hyper-V Server has RTMed – SCVMM due by the end of the month

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’ve just heard that Microsoft Hyper-V Server – the free version of Hyper-V with no reliance on Windows has shipped. Hyper-V Server will be available for download later today from the Microsoft website.

For more information about Hyper-V Server, check out the blog post I wrote a few days ago on host virtualisation using Microsoft Virtualization technologies.

System Center Virtual Machine Manager 2008 has not been released yet but Microsoft do say that it will be ready by the end of October (they had previously indicated that it would ship within 30 days of the Microsoft Virtualization launch last month).

Microsoft Virtualization: part 2 (host virtualisation)

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Earlier this evening I kicked off a series of posts on the various technologies that are collectively known as Microsoft Virtualization and the first area I’m going to examine is that of server, or host, virtualisation.

Whilst competitors like VMware have been working in the x86 virtualisation space since 1998, Microsoft got into virtualisation through acquisition of Connectix in 2003. Connectix had a product called Virtual PC and, whilst the Mac version was dropped just as MacOS X started to grow in popularity (with its place in the market taken by Parallels Desktop for Mac and VMware Fusion), there have been two incarnations of Virtual PC for Windows under Microsoft ownership – Virtual PC 2004 and Virtual PC 2007.

Virtual PC provides a host virtualisation capability (cf. VMware Workstation) but is aimed at desktop virtualisation (the subject for a future post). It does have a bastard stepchild (my words, albeit based on the inference of a Microsoft employee) called Virtual Server, which uses the same virtual machine and virtual hard disk technology but is implemented to run as a service rather than as an application (comparable with VMware Server) with a web management interface (which I find clunky – as Microsoft’s Matt McSpirit once described it, it’s a bit like Marmite – you either love it or hate it).

Virtual Server ran its course and the latest version is Virtual Server 2005 R2 SP1. The main problem with Virtual Server is the hosted architecture, whereby the virtualisation stack runs on top of a full operating system and involves very inefficient context switches between user and kernel mode in order to access the server hardware – that and the fact that it only supports 32-bit guest operating systems.

With the launch of Windows Server 2008, came a beta of Hyper-V – which, in my view, is the first enterprise-ready virtualisation product that Microsoft has released. The final product shipped on 26 June 2008 (as Microsoft’s James O’Neill pointed out, the last product to ship under Bill Gates’ tenure as a full-time Microsoft employee) and provides a solid and performant hypervisor-based virtualisation platform within the Windows Server 2008 operating system. Unlike the monolithic hypervisor in VMware ESX which includes device drivers for a limited set of supported hardware, Hyper-V uses a microkernalised model, with a high performance VMbus for communication between guest (child) VMs and the host (parent) partition, which uses the same device drivers as Windows Server 2008 to communicate with the hardware. At the time of writing, there are 419 server models certified for Hyper-V in the Windows Server Catalog.

Architecturally, Hyper-V has almost nothing in common with Virtual PC and Virtual Server, although it does use the same virtual hard disk (.VHD) format and virtual machines can be migrated from the legacy platforms to Hyper-V (although, once the VM additions have been removed and replaced with the Hyper-V integration components, they cannot be taken back into a Virtual PC/Virtual Server environment). Available only in 64-bit editions of Windows Server 2008, Hyper-V makes use of hardware assisted virtualisation as well as security features to protect against buffer overflow attacks.

I’ve written extensively about Hyper-V on this blog but the main posts I would highlight for information on Hyper-V are:

Whilst Hyper-V is a remarkably solid product, to some extent the virtualisation market is moving on from host virtualisation (although it is an enabler for various related technologies) and there are those who are wary of it because it’s from Microsoft and its a version 1 product. Then there are those who highlight it’s supposed weaknesses… mostly FUD from VMware (for example, a few days back a colleague told me that he couldn’t implement Hyper-V in an enterprise environment because it doesn’t support failover – a completely incorrect statement).

When configured to use Windows Server 2008’s failover clustering technologies, Hyper-V can save the state of a virtual machine and restart it on another node, using a technology known as quick migration. Live migration (where the contents of memory are copied on the fly, resulting in seamless failover between cluster nodes in a similar manner to VMware VMotion) is a feature that was removed from the first release of Hyper-V. Whilst this has attracted much comment, many organisations who are using virtualisation in a production environment will only fail virtual machines over in a controlled manner – although there will be some exceptions where live migration is required. Nevertheless, at the recent Microsoft Virtualization launch event, Microsoft demonstrated live migration and said it will be in the next release of Hyper-V.

Memory management is another area that has attracted attention – VMware’s ESX product has the ability to overcommit memory as well as to transparently share pages of memory. Hyper-V does not offer this and Microsoft has openly criticised memory overcommitment because the operating system things it is managing memory paging, meanwhile the virtual memory manager is swapping pages to disk whilst transparent page sharing breaks fundamental rules of isolation between virtual machines.

Even so, quoting from Steven Bink’s interview with Bob Muglia, Vice President of Microsoft’s Server and Tools division:

“We talked about VMware ESX and its features like shared memory between VMs, ‘we definitely need to put that in our product’. Later he said it will be in the next release – like hot add memory, disk and NICs will be and live migration of course, which didn’t make it in this release.”

[some minor edits made for the purposes of grammar]

Based on the comments that have been made elsewhere about shared memory management, this should probably be read as “we need something like that” and not “we need to do what VMware has done”.

Then there is scalabilty. At launch, Microsoft cited 4-core, 4-way servers as the sweet spot for virtualisation, with up to 16 cores supported, running up to 128 virtual machines. Now that Intel has lauched it’s new 6-core Xeon 7400 processors (codenamed Dunnington), an update has been released to allow Hyper-V to support 24 cores (and 192 VMs), as described in Microsoft knowledge base article 956710. Given the speed in which that update was released, I’d expect to see similar improvements in line with processor technology enhancements.

One thing is for sure, Microsoft will make some significant improvements in the next full release of Hyper-V. At the Microsoft Virtualization launch, as he demonstrated live migration, Bob Muglia spoke of the new features in the next release of Windows Server 2008, and Hyper-V (which I interpreted as meaning that Hyper-V v2 will be included in Windows Server 2008 R2currently scheduled for release in early 2010). Muglia continued by saying that:

“There’s actually quite a few new features there which we’ll talk about both at the upcoming PDC (Professional Developer’s Conference) in late October, as well as at WinHEC which is the first week of November. We’ll go into a lot of detail on Server 2008 R2 at that time.”

In the meantime, there is a new development – the standalone Hyper-V Server. Originally positioned as a $28 product for the OEM and enterprise channels, this will now be a free of charge download and is due to be released within 30 days of the Microsoft Virtualization launch (so, any day now).

As detailed in the video above, Hyper-V Server is a “bare-metal” virtualisation product and is not a Windows product (do the marketing people at Microsoft really think that Microsoft Hyper-V Server will not be confused with the Hyper-V role in Microsoft Windows Server?).

With just a command line interface (as in server core installations of Windows Server 2008), it includes a configuration utility for basic setup tasks like renaming the computer, joining a domain, updating network settings, etc. but is intended to be remotely managed using the Hyper-V Manager MMC on Windows Server 2008 or Windows Vista SP1, or with System Center Virtual Machine Manager (SCVMM) 2008.

Whilst it looks similar to server core and uses some Windows features (e.g. the same driver model and update mechanism) it has a single role – Microsoft Hyper-V and does not support features in Windows Server 2008 Enterprise Edition like failover clustering (so no quick migration) although the virtual machines can be moved to Windows Server 2008 Hyper-V if required at a later date. Hyper-V Server is also limited to 4 CPU sockets and 32GB of memory (as for Windows Server 2008 Standard Edition). I’m told that Hyper-V Server has a 100MB memory footprint and uses around 1TB of disk (which sounds a lot for a hypervisor – we’ll see when I get my hands on it in a few days time).

Unlike Windows Server 2008 Standard, Enterprise and Datacenter Editions, Hyper-V Server will not require client access licenses (although the virtual machine workloads may) and it does not include any virtualisation rights.

That just about covers Microsoft’s host virtualisation products. The next post in this series will look at various options for desktop virtualisation. In the meantime, I’ll be spending the day at VMware’s Virtualisation Forum in London, to see what’s happening on their side of the fence.

Enabling sleep/hibernation mode on a server with the Hyper-V role enabled

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

One of the problems with running Hyper-V on the notebook PC that I use for work is a lack of hibernation/sleep support. Mark Harrison has posted a partial solution which allows him to hibernate/sleep until he starts running virtual machines:

By setting the Hypervisor/Virtual Machine Support Driver to manual startup (editing the Start key at HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\hvboot to a value of 3), Mark found that Hyper-V can be left installed but not running, then net start hvboot can be used when Hyper-V is required. From this point on, sleep/hibernation will be unavailable (until the computer is restarted).

Unfortunately the main VM I run is the one with the (32-bit only) VPN connection to work that I use to access all of my corporate applications (which I need to access on a daily basis) so this solution doesn’t help me much, but I thought it might be useful to others.

Some key messages from Microsoft’s virtualisation launch yesterday

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I watched yesterday’s Microsoft virtualisation webcasts with interest and, excited as I am to know that I will finally get my hands on Hyper-V Server and SCVMM 2008 in the coming weeks (and to get confirmation that live migration will be in the next release of Hyper-V), there wasn’t a lot else there that was new on the virtualisation front. Even so, I don’t want to downplay the message – Microsoft does have an excellent story to tell around its virtualisation products – and I was interested in how this fits into the overall “big picture” for IT.

Gartner’s VP and Chief of Research for Infrastructure and Operations, Tom Bittman, presented a really interesting slot about how virtualisation is just one part of a much larger transformation of the way that IT is delivered to business customers (I’ll cover off the rest of Bittman’s presentation in a separate post).

Of course, Bittman was speaking at a Microsoft event and so it should come as no surprise that his view is not dissimilar to Microsoft’s view of dynamic computing, which has two major streams: the dynamic data centre; and user-centric computing – i.e. becoming less concerned with managing devices and more concerned about providing a seamless user experience (leading into predictable demonstrations of desktop, presentation and application virtualisation – Microsoft is a software company after all).

There were some interesting messages in the technology pitch though:

“If you know Windows, you know virtualization.”

This was stated several times, first by Bob Kelly, Corporate Vice President, Servers and Tools Business at Microsoft but also by other speakers. It’s clearly something that Microsoft wants to highlight – i.e. it’s not necessary to spend thousands training people on specialist virtualisation products – Hyper-V is built into Windows Server 2008 and System Center Virtual Machine Manager uses a familiar Windows interface.

“Having a complete management solution is really critical, and with System Center, our customers are able to manage the physical environment, the virtual environment, as well as their applications in a fully integrated way. That’s an offering put together that nobody else in the industry really provides.”

[Bob Muglia, Senior Vice President, Server and Tools Business at Microsoft]

This should not be underestimated. There may be other products that perform various technical elements of a virtualisation solution in a more functional manner, but management is critical to the success of any virtualisation implementation – and I do not know of any other vendor who can manage physical and virtual machines in one place.

I nearly laughed loud when Bob Muglia said:

“There is no magic in VMotion, it’s just a feature and we’ll have that feature in the next release of Hyper-V and Windows Server 2008.”

[Bob Muglia, Senior Vice President, Server and Tools Business at Microsoft]

i.e. we’ve got it working now – so stop slating Hyper-V because it doesn’t do live migration… it can, it will (but is it really that important?).

Even Kevin Turner’s CxO-level presentation was interesting (there will be another post following on that one too) and I was interested to see the slide about the relative costs of Microsoft and VMware virtualisation (based on pricing from the web).

Microsoft slide showing VMware solutions as 3x more expensive

Take it with a pinch of salt, given the source, but it is still a big difference. VMware will point out that software cost is minimal given the overall cost of the solution (and they are correct) but if the low-cost solution also provides a holistic view for management whilst the IT organisation is under pressure to become more efficient and effective at the same time as reducing costs, adapting to changing business demands and providing a dynamic IT service that is better aligned with business needs… I know which one I’d choose.

Microsoft virtualisation news

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

Some time back, there was talk of System Center Virtual Machine Manager 2008 (then called SCVMM vNext) shipping within 90 days of Hyper-V. This link was later denied, or at least downplayed (depending upon who you spoke to at Microsoft) but it seems that SCVMM 2008 is expected to ship in September… that’s ooh… about 90 days after Hyper-V. Of course, speculating on product release dates is always a risky business, but Rakesh Malhotra should know (he runs the SCVMM program management team).

On a related note, he also explains why SCVMM requires virtual center in order to integrate with VMware ESX (a question I asked a few days back after the release of the VMware Infrastructure Toolkit for Windows v1.0 (PowerShell cmdlets for VI).

Last, but not least, a Microsoft Virtualization User Group has been formed and have an inaugural meeting planned at Microsoft’s London (Victoria) offices on 24 September.

Upgrading Hyper-V (pre-release to RTM)

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

A few nights ago, I finally got around to upgrading my own Hyper-V installation from release candidate 1 to the RTM version. I’d already updated the notebook PC that I use for work but I’d forgotten about the server at home – it was working well (and if it ain’t broke…). What follows explains the process for upgrading a server that is already running a pre-release version of Hyper-V to the RTM code:

  1. On the parent partition, run the 64-bit version of Microsoft update 950050. This will update the Hyper-V components and will require a restart. After the restart, the version of Hyper-V Manager should be 6.0.6001.18016.
    About dialog from RTM Version of Hyper-V Manager
  2. On each virtual machine, upgrade the integration components ICs – also known as integration services). To do this:
    • Connect to a VM using the Virtual Machine Connection (VMC) tool and log on.
    • Cancel the Found New Hardware Wizard and select Insert Integration Services Setup Disk from the Action menu in the VMC tool.
    • A previous version of the Hyper-V integration services should be detected. Click OK to upgrade.
      Upgrade prompt for Hyper-V integration services
    • When the integration services have been upgraded, restart the virtual machine.
    • Following the restart, there should be no new hardware detected and all synthetic devices (e.g. the Microsoft Virtual Machine Bus Network Adapter) should be at version 6.0.6001.18016.
      Device driver dialog for RTM Version of a Hyper-V synthetic device

The process is time consuming and it does involve restarting every computer in the virtualised infrastructure, which should not be surprising as it also involves some pretty deep changes in the operating system (this upgrade is also from a pre-release version of Hyper-V, which implies it’s not running a production workload).

Hyper-V! Which version?

This content is 16 years old. I don't routinely update old blog posts as they are only intended to represent a view at a particular point in time. Please be warned that the information here may be out of date.

I’ve written a lot about Hyper-V on this blog (some would say too much – I was recently accused of having lost all objectivity) but I’m going to carry on regardless. What I’ll try to do is steer clear of the arguments about how it competes with alternative technologies and stick to technical details. After all, this blog’s not really about news and comment – it’s supposed to be technical.

John Howard published a detailed blog post when Hyper-V RTMed but I’ve spent a fair amount of time recently clearing up confusion about the various versions of Hyper-V, so I’ll try and clarify things here:

Hopefully, that explains the various software products that include the Hyper-V branding or are in some way related to Hyper-V.