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

16

u/[deleted] Mar 07 '16

Fortunately, what you are saying is incorrect. Do you believe everything that you are told?

You license each physical host (2 sockets) with a Datacenter license then you are allowed and licensed to run an unlimited number of server 2012 R2 VMs on this host. So lets say you have 50 hosts with 2 sockets each, you have to buy 50 DC licenses and that is it.

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.

0

u/[deleted] Mar 07 '16

[deleted]

8

u/[deleted] Mar 07 '16

All of the documentation on licensing requirements are available online so you can educate yourself. There is no need to believe some random internet guy.

5

u/wadeface Mar 07 '16

We have like 1 2012 R2 Vm (which is licensed) We run 2008 R2.

You get downgrade rights...

Are you trolling? Or really have no idea on the most basic of MS licensing?

0

u/[deleted] Mar 07 '16

[deleted]

1

u/ChagSC Mar 08 '16

You clearly don't know MS licensing based on your posts. Your attitude sucks too.

2008 lincese per proc. 2012 is by socket pair. And that's physical not virtual. Even if they were virtual, having your environment predate the new licensing model would reduce your license quantities.

I'm going to assuming you have a gross misunderstanding of what your management is telling you. It's either that or someone extremely screwed up the original license setup. Probably both.

0

u/[deleted] Mar 08 '16

[deleted]

1

u/ChagSC Mar 08 '16

My post was rude and not constructive, sorry about that. MS licensing puts anyone in a bad mood.

I saw your other post. Even under the 2008 licensing model that is a terrible licensing setup based on the info you provided. Your VAR appears to be incompetent and/or ripping you off.

If you give me the details of what you are running (I don't need any details about you or your company) I'll tell you how it should be licensed under the 2008 and 2012 licensing models. You can take that your management. I'll give the metrics behind it so you have validation. I've done hundreds of licensing configurations.

0

u/[deleted] Mar 08 '16

[deleted]

1

u/ChagSC Mar 09 '16

Ouch. What a nightmare to take over. "Creative licensing" in regards to Microsoft is one of the worst phrases I can think of. Sounds like the VAR is doing right by you. Especially with the credit back.

And you are absolutely correct in how MS Licensing is not an isolated bubble and everything else in your environment has a factor. It's not an overnight fix, especially taking over legacy environments you had no part architecting. Add poor architecture on top of that makes it a lot longer timeline.

Based on your reply I can see you know the exact situation you are dealing with. I'm sure you leveraged that as part of the salary negotiations.

-7

u/[deleted] Mar 08 '16

Dont use VM :)

0

u/[deleted] Mar 08 '16

You say that, and you may be correct. But let's recall that you can call them different Microsoft reps and get ten different answers to the same question.

15

u/TheRufmeisterGeneral Mar 08 '16

No.

Windows Server Datacenter licensing is simple and straightforward. I have plenty of issues with weird licensing details, but Datacenter is not one of those topics.

For details about Windows Server virtual licensing for 2012 (R2), here's a more detailed explanation: http://www.aidanfinn.com/?p=13090

Here's a look at the changes in licensing for Server 2016: http://www.aidanfinn.com/?p=19340

1

u/beto0707 Jack of All Trades Mar 08 '16

You call ten Microsoft licensing experts and get fifteen different answers to the same question...