VMware Cloud Community
whitetr6
Contributor
Contributor

Licensing MS SQL Server on VMware

Can someone help me wade through all the crap and get to the bottom line: If I have a dual quad-core server running ESX, and I build a SQL Server on it licensed by processor, and that guest system has 2 VPUs (equivalent to 2 cores or half of one physical proc), do I need 1 SQL license, or 2?

Guess what...I have received BOTH answers from Microsoft (i.e. conflicting answers).

Thanks for any help,

Mark

0 Kudos
9 Replies
Dave_Mishchenko
Immortal
Immortal

Your discussion has been moved to the Virtual Machine and Guest OS forum.

Dave Mishchenko

VMware Communities User Moderator

0 Kudos
RParker
Immortal
Immortal

That's because it depends on your SQL version. SQL 2005 still requires a license PER instance. SQL 2008 you can run as many Virtual instances as you want with 1 license, provided they are on the SAME hardware.

That's the answer, and since Microsoft pretty much left themselves hanging with SQL on Hyper-V, they can't retract it for VM Ware, so it works the same way.

0 Kudos
whitetr6
Contributor
Contributor

Wow, so that's yet another new answer. At least it's the most economical I've heard so far. Do you know of anywhere that is in writing from Microsoft?

Thanks again

0 Kudos
weinstein5
Immortal
Immortal

Microsoft’s old licensing model did require buying SQL/Exchange licenses for every ESX server in the cluster but in 09/08 they changed the licensing – you know can license the software by CPU for the cluster – check out - http://www.vmware.com/solutions/whitepapers/new_msoft_policies.html - it has links to the Microsoft documentation

Do not know if this a third or fourth answer -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
msemon1
Expert
Expert

Reading this doc it appears that with SQL 2008 you don't have to pay for multiple SQL instances as with SQL 2005, however, you still must pay for a SQL License for each vCPU for SQL 2005 or SQL 2008.

How are you licensing per cluster as opposed to per vCPU?

Mike

0 Kudos
weinstein5
Immortal
Immortal

you would license it per VM and the number of vCPUs the VM is configured with - so if your running 2 dual vCPU VM hosting SQL Server on a 5 node cluster you would only need to buy 2 2-cpu SQL licenses and not a license for each node of the cluster -

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful

If you find this or any other answer useful please consider awarding points by marking the answer correct or helpful
0 Kudos
whitetr6
Contributor
Contributor

Today I came across this, which has given the most clear answer so far.

Thank you all for your input on this very confusing issue

Mark

0 Kudos
01Ryan10
Contributor
Contributor

This applies to Microsoft SQL 2008, not sure about previous versions.

The formula below applies to processor licensing...

  1. of virtual processors in your VM where SQL 2008 is installed / # of cores per processor (regardless of dual or single processor) * # of threads per processor = # of processor licenses you'll need for one installation of 2008 SQL

Example....

SQL 2008 installed on Windows 2008 in a VM. The VM is hosted by a dual quad core xeon with hyper threading enabled (VMware detects as 16 processors).

I have allocated 8 virtual processors in the SQL VM / 4 cores per processor * 2 threads per processor = ( 8 / 4 * 2 = 1). So I need a single processor license.

You can find a lot more on this subject at the following link, and then download the "SQL Server Licensing Guide.pdf" document.

0 Kudos
ealaqqad
Enthusiast
Enthusiast

Well, the licensing of SQL in virtualization enviornment will depend on the way you are purchasing licenses is it processor based or instanse based as Microsoft is offering both. A good explanation of both for sql 2005 & sql 2008 as well a link to where it pointed out on Microsoft website can be found on the following post:

Be Smart Not A Retard & Save huge on Microsoft Licensing with Virtualization

I hope this help some one, if it does please reward points.

Enjoy,

Eiad Al-Aqqad

System X & Storage Technical Specialist

Founder of http://www.VirtualizationTeam.com

Regards, Eiad Al-Aqqad Technology Consultant @ VMware b: http://www.VirtualizationTeam.com b: http://www.TSMGuru.com
0 Kudos