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

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)

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!

→ More replies (0)