Supported Hosts Revisited

In a recent article I posted a list of hypervisors that are supported by System Center 2012 (See http://garvis.ca/2013/01/28/system-center-vmm-supported-hosts/).  I have since been informed that although this list of hosts may work, the only supported hosts are indeed as listed in the TechNet article.  ESXi 5.0 is not supported, nor is ESX or ESXi 4.0.

I apologize for this error.  I have used and managed these environments from System Center and I assumed that they were supported.

Thanks to Robert Larson for the clarification!

M

System Center VMM Supported Hosts

When I was asked in class recently what type of virtualization hosts are supported by System Center 2012 though Virtual Machine Manager I readily answered off the top of my head.  Unfortunately one of my students went on-line to search for confirmation of this, and came up with a TechNet article that gave a conflicting answer (http://technet.microsoft.com/library/gg697603.aspx).

While it does conflict with my answer, I have tried all of the environments that I listed and they all work just fine.  So here is my list of supported hosts in System Center 2012 SP1.

Hyper-V:

  • Windows Server 2012 (full installation, Server Core, or MinShell)
  • Windows Server 2008 R2 (full installation or Server Core)

vSphere:

  • ESXi 5.1
  • ESXi 5.0
  • ESX 4.1
  • ESXi 4.1
  • ESX 4.0
  • ESXi 4.0

Citrix:

  • XenServer 6.1
  • XenServer 6.0
  • Citrix XenServer – Microsoft System Center Integration Pack
    I hope this clears the air…

Hyper-V on the Client: How to install the hypervisor on Windows 8

For four years people have known me as the Hyper-V guy, and of course my interest in Microsoft virtualization dates back to 2004.  However I am also known as a Windows client guy – my MVP Award category is Windows Expert (IT Pro).  So what could be better than combining the two?  Microsoft has given me the high-tech equivalent to Reese’s Peanut Butter Cups!

Of course, we all know how to install Hyper-V in Windows Server… just use the Add Roles Wizard.  As that is not an option in the client, it is slightly different.  Here you go, step by step:

  • SNAGHTML4b439You need to open the Windows Features screen.  There are two ways to do that.  The first is from the Control Panel, click on Programs and then Turn Windows features on or off.  For those of us who like to use the direct commands you can click Windows Key-R to open the Run box, and then type appwiz.cplThis will open the Programs and Features window.  the option to Turn Windows features on or off is in the navigation pane.

In previous versions of Windows you could manage remote Hyper-V instances by downloading the Remote Server Administration Tools (RSAT) from Microsoft.  Since Hyper-V is now included in the operating system, so are the management tools.  From this screen we see that we have the option to simply install the Hyper-V Management Tools and you are off to the races – nothing has changed.  (the two sub-options are Hyper-V GUI Management Tools and Hyper-V Module for Windows PowerShell)

  • Once you select the Hyper-V Platform Windows will check to make sure your system supports it – of course, it is a 64-bit only option, and virtualization has to be enabled in the BIOS – and then installs the role.  It only takes a few seconds, and then you will get the screen asking you to reboot.

As it is in Server, installing Hyper-V requires multiple reboots (see my article titled ‘Layer 1 or Layer 2 Hypervisor? A common misconception of Hyper-V, and a brief explanation of the Parent Partition’) but because of the greatly improved boot time of Windows 8 that takes less than a minute (even in my Multi-OS, Boot-to-VHD system).  Once you are back in, the Metro Start screen has two new tiles:

image

As you see, the Hyper-V Manager and the Hyper-V Virtual Machine Connection tool are there and ready to go.  You can start creating and booting up VMs, as well as connecting to VMs both locally and remotely.

Remember, if you are going to manage or connect to remote systems, you will have a much better experience with domain-joined clients.  The security is still managed by certificates.

Now that we’ve got Hyper-V in the client, what are you waiting for people? Virtualize!

Layer 1 or Layer 2 Hypervisor? A common misconception of Hyper-V, and a brief explanation of the Parent Partition

In the world of Server Virtualization, there are two types of hypervisors: Layer 2 hypervisors are installed as an application (or service) on an existing operating system (such as Microsoft Windows).  Layer 1 hypervisors are in and of themselves operating systems that are installed on the ‘bare metal’ – directly on the hardware.

The hypervisor is the virtualization layer – the platform on which the virtual servers are hosted.  Because all operating systems require resources (some more than others) it is axiomatic that the Layer 1 Hypervisors – those that are themselves thin operating systems – are going to be more efficient than the Layer 2 Hypervisors, which have to first allow the parent operating system to take the resources that it requires, and then meter our the available resources to its applications and services as it sees fit.

It used to be easy enough to know which virtualization platforms were which, based on how you installed them.  So when Microsoft released Hyper-V as a role on Windows Server 2008 (and all subsequent versions) it was an easy mistake to make that it, as was its predecessors, a Layer 2 Hypervisor.  However that assumption is wrong.

As with all other Roles on Windows Server, Hyper-V is installed by first installing the operating system, then adding the role.  it requires a total of 10 clicks, two reboots, and it is done.

Two reboots… that is a bit unusual, isn’t it?  Usually Roles either do not require a reboot, or occasionally a single reboot.  Only when you install multiple roles would you need to reboot multiple times, and even then only occasionally.  So why does Hyper-V require two?

The following is going to feel, for a couple of paragraphs, as if I accidentally cut and pasted a completely irrelevant article below.  Please read on, I will tie it all together in a few paragraphs!

If you have ever been to downtown Montreal you may have seen Christ Church Cathedral.  According to the church’s website the building was completed in 1859, and consecrated in 1867 (not sure why the 8 year lag… but then, I am not entirely sure why a building needs to be consecrated).  In other words, it recently celebrated its 150th birthday… and despite the efforts of the best architects (Frank Wills, Thomas S. Scott) and masons, older buildings tend to require a certain level of care to maintain.  They may have built them well back then, but ask any Egyptologist to confirm that the pyramids are crumbling… slowly.

Now, the following story is my interpretation of a historical discussion that I have no insight into.  The facts are there, but the story behind it is simply pure guesswork.  In the mid-1980s the church (which it should be mentioned is also the home of the Anglican Diocese of Montreal) evaluated its resources and holdings and determined that financially they were lacking.  Their most prominent holding – the plot of land on which the church was built – was worth millions (at the heart of downtown Montreal, in the booming building economy of the 1980s), and they needed a way to leverage that if they were to remain (or return to) financially healthy. 

The board called for ideas of how to leverage the property… remember, this was before Matt Groening gave us the idea to commercialize the church.  Some of the ideas were certainly money-makers, but unrealistic.

Chapter_house

  1. They could tear down the church and build a commercial property.  Unfortunately, this would essentially eliminate the point of the church… couldn’t do that!
  2. They could build OVER the church… however there were several issues with that, not the least of which that building over an architectural wonder like the cathedral would mean masking its true beauty.  However from a more practical standpoint, building onto a building that old would have all sorts of concerns, some of them involve the scary words ‘building could fall down.’
  3. The strangest idea is what they actually ended up doing… they dug under the church, essentially putting the building on stilts, and built an underground shopping mall, which today is known as Promenades de la Cathedrale.  It is a multi-level mall with over fifty stores and a food court, along with underground parking.  It is an architectural feat that must have taken a year to design and longer to plan.  The steeple of the cathedral, however, is no higher than it was in 1867, and the project was executed successfully with movements never exceeding 3/16” inch.
  4. Union_ave2

Hyper-V installs in much the same way.  It lifts the base operating system up off the bare-metal, injects the thin-layer hypervisor onto the bare-metal hardware, and instead of placing the original back where it was, it condenses it into what I call a para-virtual machine, and creates the Parent Partition, which is a concept unique to Microsoft.  The Parent Partition is the ‘first among equals’ which controls the drivers, and allows the administrator to use the console rather than remoting into the system.  It does not use a .vhd (virtual hard drive) for storage, but rather writes directly to the hard drive.  There is no way to differentiate it from a non-virtual machine… except that the system boots to Hyper-V and then loads the Parent Partition.

The hypervisor loads in Ring –1… there are no hooks into it for any external code – it is purely written by Microsoft and read-only.  However on top of that the virtual machines (or Child Partitions) are all created equally… or at least three of the four types have equal access to the distribution of resources, with the fourth type (the Parent Partition) being the only partition that can reserve its own resources off the top – by default 20% of the CPU and 2GB of memory, but those numbers are adjustable.

One primary difference between the Parent Partition and the Child partitions is seen in the following graphics.  In the first graphic (Image1) we see the Device Manager for the Parent Partition.  The expanded information is what you would expect – HP LOGICAL VOLUME denotes the HP RAID Array, the Display Adapter is ATI, there are two HP NC371i Multifunction Gigabit NICs, and the iLO Management Controller driver.  The second graphic (Image2) is a similar screenshot from an operating system running in a Child Partition on the same physical box.  It is the same ACPI x64-based PC… and it even has the same Dual-Core AMD Opteron™ Processor 8220 SE CPUs… it just has fewer of them (while Hyper-V allows us to assign up to four virtual CPUs to a VM, this one only has two).  Where the Parent Partition has HP LOGICAN VOLUMES, ATI ES1000 video, and HP NC371i network adapters, the corresponding drivers for the Child Partition are MSFT Virtual Disk Devices, Microsoft Virtual Machine Bus Video Device, and Microsoft Virtual Machine Bus Network Adapters.  While they have similar performance to the physical, the virtual partition has virtual hardware, unlike the para-virtual machine, which has physical hardware… sort of.

Image1: Device Manager, Parent PartitionImage2: Device Manager, Child Partition

Because the actual drivers for the physical hardware run in the Parent Partition, it also has a feature called the ‘Virtual Service Provider (VSP).’ The VSP communicates with the feature in the Child Partitions called the ‘Virtual Service Client (VSC).’ This is how the virtual machines can perform as well as their virtual counterparts, with the limitations of their virtual hardware only being how many of the resources are allocated to (or shared with) the VM.

Because of how the hypervisors differ, ESX (and ESXi) does not have a Parent Partition… their ‘operating system’ is their hypervisor.  With Microsoft Windows the hypervisor kernel is still Windows, so it works differently.  However, benchmark performance tests of both prove that there is slight to no difference in performance between ESX and Hyper-V**, whether testing against the full installation of Windows Server, Server Core, or Hyper-V Server.

Incidentally, I mentioned earlier that there are three types of Child Partitions… while this is true, the only differentiator is the operating system installed in the Child Partition… so the three types are:

  • Child Partition with Hyper-V supported OS
  • Child Partition with a non-supported (Legacy) version of Windows (or non-supported x86 OS)
  • Child Partition with a supported Xen-Enabled Linux Kernel (SLES, RHEL, CentOS)

Where VMware claims to support many more versions of many more operating systems than Hyper-V does, Microsoft is more realistic.  For example, Microsoft wrote Windows NT, but stopped supporting it years ago.  It, like any other x86 operating system, will install in a Hyper-V virtual machine, it will not have Integration Components.  You could will not be able to fully leverage the gigabit Ethernet adapter or high resolution video… but if you are still running NT chances are you didn’t have that anyways.  Microsoft also recognizes that it would be impossible to support many Linux builds, especially the ones that are primarily supported by community.  On the other hand, the three kernels that are supported account for well over 90% of Linux in professional datacenters. Chances are there will be more kernels supported in the future… but the majority are covered currently.

If your operating system of choice is Linux, then vSphere may be your best bet.  However, if you run a Windows-centric datacenter, but happen to have a number of Linux machines that you need to run, then Hyper-V with System Center is definitely for you… especially since you now understand why Hyper-V is really a Layer 1 Hypervisor, despite what some may claim!

**Although I have performed these tests, the End User License Agreement of vSphere 4.0, 4.1, and 5.0 all prohibit the publication of these benchmarks, and I would be stripped of my VMware certifications and subject myself to legal action if I did.  Solution… build them for yourself Smile

Creating a Virtual Machine from VM Templates and ISOs using System Center (Video)

If you are starting to use System Center Essentials (or, for that matter, System Center Virtual Machine Manager) to manage your virtual environment, then you can save a lot of time creating virtual machines by using VM Templates to build and configure the virtual machines, and ISO files stored in Virtual Machine Libraries to deploy the operating system.  This video goes through these processes to show you how, without any customization or scripts, you can simplify your life.

I should mention that I did not deploy this virtual machine into a cluster, which would be slightly different.  At a certain point I make mention that I am making my life easier by not attaching the new virtual machine to a virtual network.  This is because I have added the the non-clustered host that I deploy to as a host in System Center Essentials, but the virtual networking was configured in the host itself and has not yet been configured in SCE.

I have cut several minutes of ‘hurry up and wait’ time – watching the progress bar – from the video.  You will still be watching for a minute, as the seven steps required to create and deploy the new VM are completed.  Know that this is not real time!

Gartner agrees with me… Hyper-V is for real!

In September Microsoft Canada contracted me as a Virtual Partner Technology Advisor, tasking me with evangelizing Microsoft virtualization solutions.  One of the reasons I was such a good fit for the role is that I am very familiar with both Microsoft’s and VMware’s server virtualization solutions – I teach and consult on both platforms.  I am a VMware Certified Professional (VCP 4) as well as a Microsoft Certified IT Professional (MCITP) Virtualization Administrator.

For the past ten months I have (in an official capacity) espoused the benefits of Hyper-V and the Microsoft Server Virtualization Solutions.  I have visited over thirty partners and given a dozen or more presentations to user groups; I have taught at least five full classes of 10215A to partners and end users alike, and I continually hear the same question from IT Pros and users alike: ‘What you are telling us and showing us is nice, but can Microsoft really compete head to head with VMware for market dominance?  Are they really a legitimate player in the virtualization space that has for so many years been dominated by a single player?

My answer has been yes every time, and each time Microsoft releases new versions of Hyper-V – first 2008 R2, then this past winter Service Pack 1 – they come closer to technological parity.  The closer they come to being an equivalent technology (and they are now closer than ever!) the more the deciding factor is going to start coming down to price… and man, does Microsoft ever win in that category!

Of course it is easy to see me as biased, but I’m sure we all agree that Gartner is unbiased.  According to their latest (June 30, 2011) Magic Quadrant for x86 Server Virtualization Infrastructure, Microsoft has firmly taken a position in the Leaders square.  For years VMware alone occupied that coveted position (based on rankings along the X-axis of completeness of vision, and the Y-axis of ability to execute).  VMware (who it should be noted are still the leaders)  has Microsoft and then Citrix nipping at its heels.

According to the report:

Citrix and Microsoft have joined VMware in the Leaders Quadrant by increasing vision and execution respectively. Although market share leader VMware continues to set the standard in products and the pace in terms of strategy, Microsoft has increased its market share (especially among midmarket customers new to virtualization), and Citrix is leveraging its desktop virtualization strengths and its free XenServer offering to expand its server virtualization share. The road map from virtualization to cloud computing is rapidly evolving, and executing will be very important during the next year as this market continues to rapidly evolve and grow.

Interestingly one of the factors that many of the companies I have spoken to with regard to this choice – price, and the ability to make a profit off the solution – is called out in the report as both a key strength and a weakness ‘…when it comes to influencing the channel to promote its product, rather than its competition.’  Because Hyper-V is a free product (or, more accurately, is a component of a product that the client is already buying), there is nothing more to sell… the partners cannot mark up another product. 

One of the points listed in the Gartner report under ‘Cautions’ is the ‘Hypervisor dependence on a running copy of Windows as a parent operating system’ can also be viewed as a strength, because of the sheer amount of different hardware types supported, ranging from high-end server farms used in the enterprise to laptops and white-boxes that IT Pros, enthusiasts, and students may have in their basement as learning platforms.  For a recent presentation I was forced to downgrade my VMware hypervisor to an older version simply because ESX 4.1 was not supported and would not even install on my demo box. To quote the report:

The most significant hypervisor difference continues to be Microsoft’s reliance on a parent operating system on each virtualization host — which carries the benefit of a proven driver architecture, but the burden of potentially more planned downtime for patching and maintenance (however, Microsoft’s patch record to date for its parent operating system has been good).

All in all, I think it is going to be hard for VMware to remain the industry leader for long.  Let me be clear: they make great products.  Whatever my beef may be with the company, I don’t have a bad word to say against their server virtualization technology.  However with Microsoft catching up as fast as they are (System Center Virtual Machine Manager (VMM) 2012 is currently in beta) it is hard to see VMware remaining the industry leader for too much longer without coming up with something so dramatically new and unique as to vault them once again ahead of all other players.

I look forward to seeing vSphere 5 (possibly being released as early as July 12th); from what I have read mostly through unsanctioned sites it will be VERY interesting to see.  However I still don’t see it being worth the price difference. 

One thing’s for sure… it will be an interesting couple of years in the virtualization space!

Uninstall the VMM Agent from Server Core

I found myself with a weird problem this morning.

Most of the time I manage my virtualization environment with System Center Virtual Machine Manager.  However because of a client project I have re-implemented System Center Essentials 2010, which has most of the VMM components that I use integrated into it. 

In order to add virtualization hosts to SCE you have to ‘Designate a Host’.  I clicked on that and selected my HP ProLiant hosts.  Unfortunately it took a couple of seconds before reporting an error that said that an incompatible VMM Agent was already installed on the box.

With System Center Virtual Machine Manager 2008R2, when adding hosts you have the ability to take over hosts that had previously been members of other VMM environments.  However I expect that also applies to compatible agents.  It didn’t take long to figure out I needed to uninstall the VMM Agent from my existing hosts manually.

My ProLiant ML-350 has a full install of Windows Server 2008 R2.  My ProLiant DL-585 has a Server Core install, which means uninstalling the agent has to be done manually.  It looks a lot harder than it has to be… on my server it is:

MsiExec.exe /I {049FF35D-4F8D-4DA0-A9EF-D7142186DBDF}

No problem, huh?  Of course that GUID is unique to each installation.  Fortunately there’s a great ‘cheat’ that is going to make your life easier.

1) Launch the Registry Editor, and navigate to HKLM-SOFTWARE-Microsoft-Windowsimage

2) Find the term System Center Virtual Machine Manager.  You will have to find the right one – there will be several instances of it.  One of them will have on the same key a String called Uninstall String.  Open that up, and select the entire string.

3) Paste the entire string into the command prompt and press Enter.

Wait a minute or two… but that’s it!  There’s nothing left to do.  It’s that simple.  Now I am able to Designate my Host without a problem, and System Center Essentials will install its own VMM agent.

Happy virtualizing, and have a great week-end! -M

%d bloggers like this: