Windows Server 2012 & 2012 R2 Virtualisation Licensing Scenarios

I am not answering any more questions on this post – to be honest, there have been too many for me to have the time to deal with them. Don’t bother asking – I’ll ignore/delete it.  My recommendations are:

  1. Re-read this post if you do not understand it after the first or second reads. To be honest, most of the questions have been from people who are just trying to make things complicated. Just license the hosts for the maximum number of Windows Server VMs that can ever run on that host, even for 1 second. It is that simple!
  2. Ask your LAR/distributor/reseller – that’s their job and that’s why you pay them

This post follows my dissertation on Windows Server 2012 licensing, which is essential reading before proceeding with this post.

[Edit] The below is unchanged with WS2012 R2. The only difference is that WS2012 R2 Datacenter edition (only) includes Automatic Virtual Machine Activation.

I’m putting Hyper-V aside for just a few minutes to talk about how you will license virtualisation of Windows Server 2012 in virtual machines no matter what virtualisation you use, be it vSphere, Hyper-V, XenServer, or whatever tickles your fancy.  BTW, the counting here also applies to:

  • System Center 2012
  • Core Infrastructure Suite (CIS)
  • Enrolment for Core Infrastructure (ECI – minimum of 25 hosts)

Please read this post s-l-o-w-l-y and let it sink in.  Then read it again.  If you have been eating bowls full of VMware FUD then read it a third time – slowly.

FAQ

  • VOSE or virtual operating system environment is a licensing term for virtual machine (VM).  It is used when talking about licensing a VM for Windows Server.
  • When you buy a license for virtualisation you legally buy and assign it to hardware, not to VMs.  The virtualisation rights of Windows Server licenses the VMs on the licensed host for Windows Server.
  • There is no mobility with OEM.
  • You can move a volume license and it’s virtualisation rights once every 90 days.  If you want to use HA (clustering), Live Migration/vMotion, DRS/Dynamic Optimization/PRO, then you need sufficient virtualisation rights on each host to support the maximum number of VMs that is possible on that host, even for 1 second.
  • You cannot split a license or it’s virtualisation rights across hosts.
  • Virtualisation rights are 2 VOSEs for a host licensed by Windows Server 2012 Standard and unlimited VOSEs for a host licensed for Windows Server 2012 Datacenter.
  • Virtualisation rights covers the host for the assigned edition of Windows Server 2012 and lower versions/editions of Windows Server.  It does not include Windows 8/7/Vista.
  • You can assign more than 1 license to a host

In other words, you license a host for the maximum number of Windows Server VMs that it could host.

1 Host, 1 CPU, 2 VMs

image

Here you want to run a single host that has 1 CPU.  The host will run 2 Windows Server virtual machines.  You will assign a single Windows Server 2012 license to this host.  The license covers 2 CPUs (there is only 1) and provides virtualisation rights for 2 virtual operating system environments (VOSEs).  In other words, you get rights to install Windows Server 2012 Standard (or previous versions) in 2 VMs on this host.

1 Host, 2 CPUs, 4 VMs

image

The Standard edition covers 2 VOSEs, but the customer wants 4 VMs running Windows Server Standard 2008 R2.  A single copy of WS2012 Standard will not suffice.  2 copies are bought to provide the 4 (2 * 2 VOSEs) VMs with licensing.

1 Host, 2 CPUs, 10 VMs

image

There are two options; do you go with the Standard or Datacenter editions of Windows Server 2012?

The Standard edition covers 2 VOSEs, but the customer wants 10 VMs running Windows Server Standard 2008 R2. A single copy of WS2012 Standard will not suffice. 5 copies are bought to provide the 10 (5 * 2 VOSEs) VMs with licensing.  Based on USA Open NL pricing the licensing of these VMs will cost $882 * 5 = $4,410.

The Datacenter edition of WS2012 gives unlimited VOSEs and covers 2 CPUs in the host.  This solution will require a single Windows Server 2012 Datacenter license which will cost $4,809.

Decision: If you will not go over 10 VMs on this host then Windows Server 2012 Standard edition is the way to go.  If you estimate that there is a good chance of the VM numbers growing then spend an extra $399 and pick up the easier to account-for Windows Server 2012 Datacenter with it’s unlimited VOSE rights.

10 is the magic number using USA Open NL pricing. Once you reach 10 VOSEs on a 1 or 2 CPU host, you need to consider the Datacenter edition because it is cheaper once you hit 11 VOSEs.

1 Host, 4 CPUs, 4 VMs

image

It’s an unusual configuration but a valid one for the demonstration.  The WS2012 Standard/Datacenter SKUs cover 2 CPUs each.  In this case there are 4 CPUs.  This will require 2 copies of Windows Server 2012 Standard, which also covers the 4 VMs.

Let’s pretend that 300 VMs will run on this host with 4 physical CPUs.  Then we would assign 2 copies of Windows Server Datacenter on it.  2 copies will cover 2 CPUs each (4 CPUs) and unlimited VOSEs.

That Host with 320 Logical Processors – 10 CPUs with 16 Cores with Hyperthreading

image

The maximum specification for Windows Server 2012 Hyper-V is 320 logical processors in the host.  That could be 10 Intel CPUs, each with 16 cores, with Hyperthreading enabled.  We don’t count cores or logical processors when we license.  We count CPUs, sockets, or plain old processors – pick the term you prefer.  There are 10 CPUs/sockets/processors in this server.  That requires 5 copies of either Windows Server 2012 Standard or Datacenter, depending on the required number of VOSEs.

Clusters

Let’s move on to the clusters, where people usually get things wrong because they don’t understand (or don’t want to understand) the mobility rights.  VOSEs licensed by OEM cannot move.  VOSEs licensed by VL can move once every 90 days.  The correct solution is to license each host for the maximum number of VOSEs that it can have for even one second.  And when I say “correct” I mean legal.  Software Asset Management professionals (auditors) are not stupid and the “tricks” I hear people proposing are neither original or unknown to these auditors.

Reminder: This applies even to you non-Hyper-V folks.

2 Hosts, 1 CPU each, 4 VMs

 

 

 

image

Don’t get fooled!  This is not one host with 3 VMs and 1 host with 1 VM.  This is 2 hosts, each of which can have up to 4 VMs.  In the past we would have used Enterprise edition on each host.  That has been replaced by Windows Server 2012 Standard edition, that now has all the features and scalability of the Datacenter edition.

Take each host and size it for 4 VOSEs.  That means we need to assign 2 copies of Windows Server 2012 Standard edition to each host.  That’s 4 copies of WS2012 Standard.

2 Hosts, 2 CPUs each, 10 VMs

image

10 VMs with 2 hosts means that it is possible to have all 10 VMs on a single host.  You have two options to license each host for up to 10 VOSEs.

Firstly you could license each of the hosts with 5 copies of Windows Server 2012 Standard.  That will give you 10 (5 * 2) VOSEs.  This requires 10 (5 * 2 hosts ) copies of Standard at a cost of $8,820 using USA Open NL.

Alternatively you could license each host with 1 copy of Windows Server 2012 Datacenter, at a cost of $9,618.  The extra $798 will allow you to burst beyond 10 VOSEs to unlimited VOSEs.  Switching to licensing hosts using the Datacenter edition means we don’t have to count VOSEs and we have unrestricted mobility between hosts.

2 Hosts, 2 CPUs each, 20 VMs

image

We have exceed the magic number of 10, and now it is cheaper to license with the Datacenter edition with it’s unlimited VOSEs per host.  Each host has 2 CPUs, so each host requires 1 copy of Datacenter.  There are 2 hosts so we require 2 copies of Windows Server 2012 Datacenter.

You could add more hosts to this cluster and each could have unlimited VMs.  As long as the hosts have 1 or 2 CPUs each, each additional host requires only 1 copy of Windows Server 2012 Datacenter to license it for unlimited installs of Windows Server for the VMs on that host.

Lots of Hosts, Lots of VMs, 4 CPUs per Host

image

The magic number of 10 VOSEs is a dot in the rear view mirror.  We now have lots of hosts with lots of VMs flying all over the place.  Each host has 4 CPUs.  To license the VOSEs on each host, we will require licensing for 4 CPUs.  This will require 2 copies of Windows Server 2012 Datacenter per host, each covering 2 CPUs.

Live Migration Outside the Cluster

And new for WS2012 thanks to Live Migration living outside the cluster: you must ensure that the destination host is adequately licensed for VOSEs to accommodate the new VM. If this is an infrequent move then you could avail of the VL 90 day mobility right to reassign a license, ensuring the the old host is sufficiently licensed for remaining VOSEs and physical CPUs.

Hyper-V Server 2012

Hyper-V Server has no virtualisation rights and includes no free licensing for VOSEs.  Therefore it is irrelevant in this conversation.

Economically Speaking – Why Hyper-V Makes Sense

If you buy Windows Server licensing for a host to license your VMs, then you are a tickbox (or PowerShell cmdlet) and a reboot away from having Hyper-V.  Buying another product is just more money spent.  And let’s be honest, Windows Server 2012 Hyper-V is not what you might have used/looked at before.

23 thoughts on “Windows Server 2012 & 2012 R2 Virtualisation Licensing Scenarios”

  1. You state that RDS CAL’s do not change except that the MS document lists RDS as supported on Foundation 2012 which was not the case for Foundation 2008 R2.

  2. Hi Aidan

    Thank for your long awaited license information for 2012, I think its quite positive with enterprise going out and the other changes, although the death of the SBS server is bad news for us, but as you said it was to be expected considering the focus on office 365 etc.

    I do have a question for you though: Hyper-V replica.

    How does that factor into the licensing picture, since its a completely new features there’s pretty much no information regarding this that I can find.

    We have hosting facilities for spla customers, but our on-premises clients typically are not paying for spla licenses since they have their own on-premises licenses etc.

    So what if we want to offer them Hyper-v replication to our hosting center? What would be possible scenarios for this?

    I guess in a non multi-tenant enviroment its simpler as you probably just have to treat the hyper-v replica destination as another cluster node having “neough” licenses to cover all potential vm’s running on it.

    And if the replicating vm’s are never brought online do they still need licenses??

    As I see it Hyper-V replica is the most confusing part of the new 2012 licensing scheme.

    So I was wondering if you had any information or was planning on posting about it 🙂

    Best regards

    Jonas A. Larsen

    1. Hi Jonas,

      A very good question. I don’t know. I think we will have to wait for the SPLA version of the product usage rights document to be updated, and then consult your SPLA reseller. Until then, it is pure speculation.

  3. Very good post. I just have one question. In the 2 server scenario, with shared storage between hosts, each host still needs to be licensed to handle 10 VMs each? What happens on the 2nd server if not sufficiently licensed? Does an error message popup? Will the software refuse to run the servers until licensing is resolved?

    1. A) Storage is irrelevant to the licensing of Windows Server in this scenario
      B) You’re not licensing VMs; you’re licensing VMs to run Windows Server

      You license a host to run the maximum number of VMs with Windows Server as it guest OS that can run on that host. Hyper-V is not going to stop you from running VMs. You could be running any OS in the VM. It’s up to you to license Windows Server legally.

  4. A great post, this really confirms my own reading.

    From what I can see here, Microsoft are greatly increasing the cost for companys to introduce a Virtual Cluster. For companies with 1 physical box, the licensing is cheaper, 2 boxes it is the same and 3 or more boxes increasing more expensive.

    For example, Lets say that a customer has 8 V-OSE’s.

    In Server 2008 they would license the Operating systems and have 8 licenses.
    In server 2012 they would need.
    1 Physical box = 4 licenses
    2 Physical Boxes = 8 Licenses
    3 Physical Boxes = 12 Licenses
    4 Physical boxes = 16 Licenses

    Or am I wrong?

  5. Thanks Aidan for this great explanation.

    I have two further question:

    1)
    With Windows Server 2008 R2 Datacenter we got told that the physical host needs at least 2 Processors installed that it’s eligible for this kind of licensing, which would mean that if you have a physical host with 20 VM’s, you need at least 5 Enterprise or 20 Standard Licenses, Datacenter is no option.

    Has this changed with Server 2012 that you are allowed to use hosts with 1 Processor with datacenter licensing? According to Wikipedia, it’s not, but I’m not sure if this relects the truth…
    http://en.wikipedia.org/wiki/Windows_Server_2012#Editions

    2)
    Which edition would you install? We have a cluster with ~300 VM’s, and with Server 2008 we always installed the Enterprise Edition. Now with 2012, there are no limitations anymore, so I see only one reason why to install the Standard-Edition: you “can” license your host with Standard if you have less than 10 VM’s or a lot of “old” licenses in your SA.

    1. Klaus,

      You should read my post again. There is nothing, no where that is legitimate, that declares that you must have 2 physical processors to run Datacenter. You just license 2 processors. In the past, you bought 2 copies of Datecenter edition. Now, you buy 1 copy of Datacenter that covers 2 CPUs in the host, and it costs the same as buying 2 of the old Datacenter licenses.

  6. Great write up!

    This helps clear up some of the confusion, and better yet, the graphics you put together help me to explain it to my clients visually. Thanks!

  7. I am having an on-going discussion regarding the licensing for server 2012 datacenter edition in a failover cluster.
    We have been offered a solution by a vendor who r selling OEM licenses with the physical hosts. We will have 12 virtual machines in total and each host has a single processor.
    Going by ur article, OEM will just not cut it. I have been trying to find similar information like urs and cannot do so. What is ur source? It is a very good article.

    1. OEM would be OK. I’d always recommend attaching SA on it within the purchase window.

      I work for a Microsoft Value Added Distributor on the techie side and licensing is our biz.

  8. Thank you for this post.

    Please clarify something for me.

    We currently use Server standard 2003 on all physical servers.
    We have CALs for 50 users licensed for server 2003.
    I just bought a new physical server, and a server2012 standard open license.
    From you post, it seems that:
    – I can install WS2012 on the new server
    – and run 2 VMs, each with WS2003 (exercising downgrade rights)
    – Do I need CALs for WS2012? (I already have CALs for WS2003)

    Thanks,
    Bledi

    1. You only buy CALs when your users/devices are directly accessing authenticated services running on that OS. In this case, if you only use WS2012 for Hyper-V then you can continue to use your legacy CALs.

  9. How could anyone get mixed up with this Post. This is exactly what I was looking for. A simple, Easily understood description of the licencing for 2012. Thanks Aidan.

  10. Thank you Aidan Finn, I got it the First-Time-Around… Exceptionally clear and answered all my questions, so don’t fret, I have none for you! 🙂

    Don

Comments are closed.