SQL Server: cores, CALs and virtual machines
SQL Server is usually the most expensive line on a server licensing bill, and the one where the choice of model changes the total the most. Start by deciding how you count, then count.
Per core or Server + CAL?
Per core licensing covers the server for any number of users. You license every physical core, with a minimum of four per processor. Server + CAL is available for Standard edition only: one license per server, plus a client access license for every user or device that reaches it. It is often cheaper for a small, known group of users and more expensive once the audience is large or hard to count.
Does access through an application count?
Yes. If people or devices reach SQL Server through a web application, a reporting tool or a middleware layer, each of them still needs a CAL under the Server + CAL model. Putting something in front of the database does not reduce the count.
What changes in a virtual machine?
You can license the virtual cores assigned to each machine, with a minimum of four core licenses per machine. For current versions this option requires active Software Assurance or subscription licenses. Enterprise edition with Software Assurance on every physical core of a host allows unlimited virtual machines on that host, which is usually the better answer for a dense cluster.
What about failover and test servers?
Passive failover replicas can generally be covered by the primary server's licenses when those licenses have Software Assurance. Developer edition is free for development and test use, but not for anything that serves production data.
Where teams get caught
- Standard edition licensed by server with CALs counted for the IT team only, when the whole company uses the application on top.
- Virtual machines licensed by virtual core after Software Assurance has been allowed to lapse.
- Enterprise edition installed where Standard would do, because it was the image that was to hand.