• subscribe
April 19, 2007 12:00 AM

Licensing Answers

SQL Server Pro
InstantDoc ID #95622

Some of the most exciting developments in IT technology today are in processors and virtualization. Processor technology has been advancing faster than ever before. The advent of 64-bit x64 technology has been followed quickly by dual-core CPUs, quadcore CPUs, and integrated virtualization capabilities at the CPU level. Virtualization has also been rapidly evolving. Not so long ago, all of the major virtualization products were high-priced offerings from Microsoft and VMware. Now, both of Microsoft's virtualization products, Virtual PC 2007 and Virtual Server 2005 R2, are free.

With the rapidly growing adoption of advanced processor and virtualization technologies, chances are that your business is either already using or is preparing to use one or both of these technologies. As you prepare to use either multicore CPUs or virtualization, you must be aware of the licensing ramifications for the OSs that support them and applications such as SQL Server 2005.

Licensing can be confusing for SQL Server users because SQL Server is licensed per CPU. Both multicore processors and virtualization affect the number of processors, albeit in different ways. With multicore technology, Microsoft's position is that you need to license according to socket, not according to the number of processing cores. In other words, if you've just purchased a new quad-core server that has a single quad-core CPU, then you'd buy one license for one CPU, not four. (The CPU might have four processing cores, but there's just one socket on the motherboard. So for SQL Server, you'd license a single CPU.) Similarly, if you purchase a dual-processor quad-core server that has two quad-core processors, you'd need a two-processor license.

Virtualization raises similar questions. What are the licensing requirements if you buy a powerful 8-way server that's intended for server consolidation, then you install four guest virtual machines (VMs), each running a different SQL Server instance? Do you need to license the SQL Server instances as having eight CPUs? The answer is no. The SQL Server instances that run in the guest VMs are licensed according to the number of virtual processors that are configured in the VM, not the number of CPUs that are available in the host. Therefore, if you configure each of your four guest VMs with a single virtual CPU, they'd each use a single CPU license. If one of the VMs needed additional processing power and you configured it to use two virtual CPUs, the SQL Server instance running on that VM would need to be licensed for two CPUs. The important thing to remember is that when running on a VM, SQL Server is licensed according to the CPUs in the VM. It doesn't matter how many CPUs are in the physical host.

With SP2, SQL Server 2005 Enterprise Edition now offers unlimited licensing of virtual SQL Server 2005 instances. And Microsoft's recent virtualization licensing changes enable Windows Server 2003 R2 Enterprise Edition to run four active virtual Windows Instances and Windows Server 2003 R2 Datacenter, which allows an unlimited number of active Windows instances. These changes could be beneficial and cost-effective for customers who are considering virtualization technology. If you have any questions about SQL Server or virtualization, be sure to visit our forums at http://forums.windowsitpro.com/web/forum/default.aspx



ARTICLE TOOLS

Comments
  • Casper42
    4 years ago
    Mar 31, 2008

    How does Clustering affect SQL Server Licensing?

    For instance, I want to create a large 2 node SQL Cluster with multiple Cluster Nodes.

    So Machine A and Machine B lets say are both Quad CPU boxes.
    I want to create SQLNODE1 that will be Active on A and passive on B
    Then I want to create SQLNODE2 that will be Active on B and Passive on A
    SQLNODE3 would be Active/Passive
    SQLNODE4 would be Passive/Active
    etc etc
    And of course depending on the load, I may end up with 3 nodes being Active on A and only 1 node being Active on B.

    Does each node require a license for 4 CPUs since it can access 4 at a time (the other 4 on the other server are only used in case of failure or fail over).

    But if so, doesnt that mean I will need 16 CPU licenses when in fact I only have 8 sockets?

    Any insight here would be helpful. I cant seem to find anything on the net that covers this with specifics.

    Thanks,
    Casper42

  • dsheth
    5 years ago
    Sep 28, 2007

    Hi Michael,

    Just wanted to make sure I understand the terminology first. Please confirm:
    • single quad-core processor implies 1 CPU
    • 2-way quad core implies 2 CPU’s
    • 4-way dual core implies 4 CPU’s etc…

    I am interested in performance benchmarks to draw comparison between 2-way quad core versus 4-way dual core servers for SQL server deployments. Any pointers would be highly appreciated.

    Thanks, D

  • Joseph
    5 years ago
    Jul 05, 2007

    "It would be nice if the silly hover-over advertisements could be disabled for logged-in subscribers"

    DITTO!
    Joe Evans

  • STEVEN
    5 years ago
    Jun 18, 2007

    Michael,

    In your article you make the comment:

    "Similarly, if you purchase a dual-processor quad-core server that has two quad-core processors, you'd need a two-processor license."

    I would like to get some clarification regarding the "two-processor license". Is there such a thing as single license that will cover two processors? Or are you simply referring to a "standard" license, and not "per processor"? Where I work, we have an exceptionally nice licensing agreement with Microsoft, and as a consequence our licenses are next to nothing compared to what the rest of the world pays. So, my question really isn't from a cost-motivation, as much as it is simply for clarification. We typically buy "per processor" licenses simply to avoid the hassle of buying and keeping up with CALs. On those machines with multiple processors, we simply buy multiple "per processor" licenses. So m question again is there such a thing as a "two-processor, per processor" license?

    Best,
    B.

  • PAUL
    5 years ago
    May 08, 2007

    It would be nice if the silly hover-over advertisements could be disabled for logged-in subscribers.

    Thanks - Paul Novelli

You must log on before posting a comment.

Are you a new visitor? Register Here
  • SP1?
    I know there is a SP1 for SQL 2008 R2 available....and there is a "feature pack" as well... ...
  • SQL database mirroring
    I have SQL Server 2008 R2 Enterprise 64bit on Windows 2008 R2 Enterprise 64bit.  Each SQL Server has...
  • Dell Compellent Disk Drive
    Does anybody has experience with Dell Compellent Disk Drive? Basically, this system manages all disk...
  • Sql server performance tuning
    I need to find a tool that help me to optimize sql server,queries,improve the performance and solve ...