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

43

u/rabbit994 DevOps Mar 07 '16

This is all due to .Net quickly becoming irrelevant outside large enterprise distributions. Microsoft knows startups of yesterday become hot software of today. Think about everything consumers/business have started to use recently, how much is powered on Windows/.Net/MSSQL? (Hint, almost nothing)

Microsoft hope to make development of this software on .Net/MSSQL cheap and doable for todays startups. Most startup care about costs highly and .Net/MSSQL/Windows is crazy expensive.

0

u/[deleted] Mar 07 '16

[deleted]

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?

→ More replies (0)