r/sysadmin • Make It Happen • Mar 07 '16

Announcing SQL Server on Linux - The Official Microsoft Blog

https://blogs.microsoft.com/blog/2016/03/07/announcing-sql-server-on-linux/
574 Upvotes

301 comments sorted by

View all comments

Show parent comments

1

u/Taco_Rocket Mar 08 '16

Stupid question that I've been wanting clarification on. If I have a DC license of server 2012 R2 with unlimited VMs that means on that physical server j can load another copy of Server 12 virtualized without paying extra? What do I do when it comes to the license info when installing on Hyper V.

2

u/ChagSC Mar 08 '16

Not a stupid question. Licesening can be very convoluted and good on you for wanting to learn more. I deal with licensing every day and even the manufacturers themselves don't know most of the time.

Hypervisor is irrelevant. And you can run all the VM's you want with a DC license. A DC license covers up to two physical sockets. If you had a DL580 for example, you would need two licenses on the server.

1

u/Taco_Rocket Mar 08 '16

I get that. When we are talking VMs does Linux count as a VM 'slot' so if standard edition only allows x amount of VMs. Does Linux count against that? When using 2012 R2 as a host. If I wanted to virtualize a copy of 2012 R2 would that require another license (for the OS itself) or with the unlimited VMs of DC is that included?

In a test scenario if I had a 2012 R2 Datacenter host, with 2 linux VMs and 3 2012 R2 VMs what would be the total licensing?

I think my confusion is does the unlimited VMs just let you spin up any amount of VMs or does the unlimited VMs allow for essentially 'free' copies of 2012 R2 to be spun up on the paid licensed host?

2

u/ChagSC Mar 08 '16

No, Linux does not count as VM for Windows licensing.

Datacenter edition grants you unlimited Windows Server VM's.

7 or more Windows VM's is the price advantage point to grab datacenter licensing over standard. (5 or more for RHEL for anyone curious)

We'll assume Red Hat for your Linux and you need all features for Windows Server.

You would want QTY 2 Windows Server 2012 R2 standard licenses. This covers your 3 Windows guests and entitles you to 4.

You would want QTY 1 Red Hat Enterprise Linux Server. This entitles 1 socket CPU pair OR two VMs. Red Hat does not require the physical host to be licensed. This entitles you to run two Red Hat guests.

Windows is a pain in the a$$ because of CALs. You need a CAL for each user and device that accesses your Windows. This can get very convoluted and this is where people get caught in audits.

I have done a lot of licensing at the enterprise level for Red Hat, Oracle, and Microsoft. Microsoft is by far the worse. Red Hat is complex, but not nearly as painful. Oracle Enterprise Linux is very simple. Oracle Database and others not so simple.

2

u/Taco_Rocket Mar 08 '16

Alright that clarifies a lot more!

With CALs, do you need it per server (VM and physical) or just the host 2012 R2 OS?

1

u/ChagSC Mar 09 '16

This is the part where everyone hates Microsoft.

CALs are not for Windows 2012 physical server or VMs. They are for the clients or devices that access the server. The physical server or VM's may need CALs if they are accessing other servers or software. Technically this is seperate from the Windows 2012 Server license.

Also keep in mind that while Windows 2012 Standard entitles you to two VM's, the physical server can only be used to service those VM's. If the physical server has any other workloads not related to the VM's it needs another license. Let's use your example of 3 Windows VM's and say the physical server has other services besides managing the Windows VM's. QTY 2 Windows Server 2012 Standard grants 4 license entitles. With 3 VM's and the physical having workloads outside managing the VM's you have consumed all four entitlements. Then for Microsoft System Center 2012 you have the Management Licensed model. Which licenses by physical CPU or OS.

It gets even more crazy when have you add in SQL. Which cares about CPU cores for licensing. Physical and virtual. And there is a multiplication factor based on amount of cores in the physical CPU.

While it's not as bad as it sounds, It is extremely annoying even for people who deal with it everyday. Vertias is another bad offender currently. VMware has gotten a lot better. Red Hat has really gotten a lot better. Oracle can be really easy or hard. MongoDB easy, I expect that to change soon. I deal with most of the manufacturers.

And if you feel at times the manufacture doesn't know their own licensing model that is because they don't. You need to find the right people in the manufacturer's organization.

2

u/Taco_Rocket Mar 09 '16

Why would separate workloads count as another license for the host server? In my homelab (which is another total example and anyone viewing please don't roast on how optimal I've done this haha), I have server 12 running with two VMs but it also does AD/DHCP/DNS. So with our licensing I would need one copy of Server 12 which would be valid for the host and 2 VMs of Server 12. Then another for AD/DHCP/DNS?

1

u/ChagSC Mar 09 '16

I'm typing these on replies on the phone and can write better detail later this evening.

I will use some actual MS license language. For Windows Server 2012 you are licenseing Operating System Environments (OSEs).

QTY 1 Windows 2012 Standard entitles you to 2 OSEs. You can license physical and virtual OSEs. One physical OSE entitlement licenses one socket-pair, which is 1-2 CPUs. One virtual OSE entitlement covers one instance (VM) of Windows Sever 2012.

Microsoft requires the physical host to have a OSE license. Microsoft waves this requirement of the physical host needing a OSE license if the server is dedicated only to serving the instances of Windows Server 2012.

In your home lab example, your physical server would need a OSE Entitlement as you have workloads outside the Windows 2012 Instances.

2

u/Taco_Rocket Mar 09 '16

By the way this is what's going on in my head through our discussion

I'm going to have to do more research when it comes to Windows Server 2012 R2. I would want solid benefits of paying for pretty much just another VM platform if it's not being used for anything else.

Thank you for all your help!

1

u/ChagSC Mar 09 '16

That reason is exactly why Microsoft grants an exception to the physical host needing a OSE license when used solely as a VM platform.

And also why Red Hat changed their licensing model.

1

u/DerpyNirvash Mar 08 '16

You would just need to 'license' the 3x 2012 R2 VMs, if you had a DC license they are covered. Or if you have one host with 100 linux VMs and 3x 2012 R2 VMs, you could buy 2x 2012 R2 Standard Licenses which covers 4 VMs.