• contact@the-chronic.eu
  • World Wide

SQL Server 2017 Licensing Guide

SQL Server 2017 Licensing Overview

This licensing guide is for people who want to gain a basic understanding of how Microsoft® SQL Server® 2017 database software is licensed through Microsoft Volume Licensing programs. This guide does not supersede or replace any of the legal documentation covering SQL Server 2017 use rights. Specific product license terms are defined in the product Software License Terms—or in the case of Microsoft Volume Licensing—in the Microsoft Volume Licensing agreement under which the software was acquired and/or the Microsoft Volume Licensing Product Terms. This licensing guide is not a legal use rights document. Program specifications and business rules are subject to change.

SQL Server 2017 Editions

SQL Server 2017 is offered in two main editions to accommodate the unique feature, performance and price requirements of organizations and individuals:
• Enterprise Edition is ideal for applications requiring mission critical in-memory performance, security and high availability.
• Standard Edition delivers fully featured database capabilities for mid-tier applications and data marts.
The editions are offered in a straightforward, tiered model that creates greater consistency across the product editions, features and licensing. Enterprise Edition includes all the capabilities available in SQL Server 2017.
Through a consistent programming interface across all editions, it is easier than ever for developers and partners to build and upgrade applications that take advantage of advanced performance, security, and data mart or data warehouse features – regardless of scale, from Express to Enterprise.
SQL Server Standard Edition sets the bar for rich programming capabilities, security innovations, and fast performance for mid-tier applications and data marts. SQL Server Standard Edition can easily be upgraded to Enterprise Edition as workloads scale or for mission critical workloads without requiring an application re-write. Enterprise Edition continues to deliver the highest levels of mission critical scalability, availability, and performance as well as maximum virtualization rights with Software Assurance.
SQL Server 2017 now brings the performance and security of SQL Server to the Linux platform. Customers will have the option to deploy on Windows or Linux platforms through a single license construct. The SQL Server 2017 license provides flexibility to deploy across these platforms, and as your needs change over time you will have the licensing to enable changes in deployment patterns.

 SQL Server 2017 Editions_1

Other specialty editions of SQL Server 2017 include Developer Edition, which is licensed for non-production use; the freely downloadable and distributable Express Edition, and the next generation SQL Server Parallel Data Warehouse, which is available as a component of the Analytics Platform System integrated appliance offering. Note that SQL Server Parallel Data Warehouse is enabled through SQL Server Enterprise (covered later in this document).
With SQL Server 2017, the Web Edition remains available only under the Microsoft Services Provider License Agreement (SPLA).

 SQL Server 2017 Editions_2

SQL Server 2017 licensing and Software Assurance

Software Assurance (SA) for Volume Licensing helps boost IT productivity by enabling customers to get the most from Microsoft software products. SA benefits—including 24×7 support, deployment planning services, user and technical training, and the latest software releases and unique technologies—are combined in one cost-effective program.
For SQL Server, using these benefits can help customers improve productivity and help IT efficiently deploy and manage SQL Server software. As hardware capacity and licensing needs expand, SQL Server customers with SA coverage can enjoy the benefit of adding incremental licenses without worrying about the software version licensed. Software licenses and use rights are version-specific and as such, licenses for different software versions cannot be combined when licensing a single operating system environment. As a benefit of having access to the latest version of SQL Server software, SA customers licensed under the core licensing model (for example) can easily combine current version core licenses with future version core licenses, without the need to track or otherwise reassign covered licenses based on software version alone.
Note: All licenses must be covered with SA and product use rights do not change when using downgrade rights to deploy prior software versions.

SQL Server 2017 licensing and Software Assurance

For example, by combining SQL Enterprise Edition with the benefits provided through SA, customers unlock the full power of SQL Server:
• Stay current with all SQL Server features
• Access an unlimited number of virtual machines
• Modernize to the cloud with existing licenses
• Take advantage of high availability scenarios at no additional licensing cost
• Extend your data estate through advanced analytics on Hadoop with Machine Learning Server for Hadoop
• Generate data visualizations on premises with Power BI Report Server
Refer to the Volume Licensing Product Terms for more details on these benefits and additional license grants available to SQL Server customers with SA, including any additional terms and conditions that may apply.

How SQL Server 2017 licenses are sold

SQL Server 2017 software licenses are sold through channels designed to meet the unique needs of customers. These sales channels include online retailers offering full packaged product (FPP) licenses of SQL Server software, Original Equipment Manufacturers (OEMs) offering pre-installed licenses with their hardware systems, as well as Licensing Solutions Partners (LSPs) and Enterprise Software Advisors (ESAs) offering SQL Server software through Microsoft Volume Licensing programs for end-customer organizations.
For customers with as few as five users, Microsoft offers licensing programs to help reduce administrative overhead and software management costs, while enabling product licensing on an ongoing basis at a considerable discount. The various licensing options enable customers to choose the program that works best for their management and operational needs.
• Comprehensive programs that offer Software Assurance as a fixed benefit include the Open Value (OV), Open Value Subscription (OVS), Enterprise Agreement (EA), Enterprise Subscription Agreement (EAS) and the Server and Cloud Enrollment (SCE).
• Transactional programs include Open and the Microsoft Products and Services Agreement (MPSA).

Server and Cloud Enrollment

The Server and Cloud Enrollment (SCE) is an enrollment under the Microsoft Enterprise Agreement that enables highly committed customers to standardize broadly on one or more key server and cloud technologies from Microsoft. In exchange for making an installed base-wide commitment to one or more components of the Server and Cloud Enrollment, customers receive the best pricing and terms, plus other benefits, including cloud-optimized licensing options and simplified license management.
Microsoft also offers programs that can meet the specific needs of organizations that partner with Microsoft to provide additional software and services, such as the Microsoft Independent Software Vendor (ISV) Royalty Licensing Program and the Microsoft Services Provider License Agreement (SPLA).

How SQL Server 2017 licenses are sold

SQL Server 2017 licensing models

With SQL Server 2017, Microsoft offers a variety of licensing options aligned with how customers typically purchase specific workloads. The Server+CAL licensing model provides the option to license users and/or devices and then have low-cost access to incremental SQL Server deployments. For customers who cannot count users or require premium database capabilities, Microsoft licenses SQL Server in a core-based licensing model. Core-based licensing gives customers a more precise measure of computing power and a more consistent licensing metric, regardless of whether solutions are deployed on physical on-premises servers, or in virtual or cloud environments.

SQL Server 2017 licensing models

SQL Server 2017 licensing – core-based licensing

Under the Per Core licensing model, each server running SQL Server 2017 software or any of its components (such as Reporting Services or Integration Services) must be assigned an appropriate number of SQL Server 2017 core licenses. The number of core licenses needed, depends on whether customers are licensing the physical server or individual virtual operating system environments (OSEs).
Unlike the Server+CAL licensing model, the Per Core model allows access for an unlimited number of users or devices to connect from either inside or outside an organization’s firewall. With the Per Core model, customers do not need to purchase additional client access licenses (CALs) to access the SQL Server software.

SQL Server 2017 core-based  licensing_1
SQL Server 2017 core-based  licensing_2

How to license SQL Server 2017 using the Per Core licensing model

When running SQL Server in a physical OSE, all physical cores on the server must be licensed. Software partitioning does not reduce the number of core licenses required, except when licensing individual virtual machines (VMs). A minimum of four core licenses is required for each physical processor on the server.
To determine and acquire the correct number of core licenses needed, customers must:

SQL Server 2017 core-based  licensing_3

The Per Core licensing model is appropriate when:
• Deploying the SQL Server 2017 Enterprise Edition (including using the SQL Server Parallel Data Warehouse deployment option) or SQL Server 2017 Web Edition software.
• Deploying internet or extranet workloads, systems that integrate with external-facing workloads (even if external data goes through one or more other systems), or when the number of users/devices cannot be counted easily.
• Implementing centralized deployments that span across a large number of direct and/or indirect users/devices.
• The total licensing costs for licensing SQL Server 2017 Standard Edition software are lower than those incurred using the Server+CAL licensing model.
Note: The use of hyper-threading technology does not affect the number of core licenses required when running SQL Server software in a physical OSE.

SQL Server 2017 licensing – Server+CAL licensing

When licensing the SQL Server 2017 Standard Edition software under the Server+CAL model, customers purchase a server license for each server, and a client access license (CAL) for each device (Device CAL) and/or user (User CAL) accessing SQL Server or any of its components. A CAL is not software; it is a license granting users and devices access to the SQL Server software.

SQL Server 2017 Server+CAL licensing

How to License SQL Server 2017 Using the Server+CAL Licensing Model
Under the Server+CAL licensing model, each operating system environment (OSE) running SQL Server 2017 software or any of its components must have a SQL Server 2017 server license assigned to the physical server hosting the OSE. Each server license allows customers to run any number of SQL Server instances in a single OSE, either physical or virtual.
Note: Running SQL Server software on different hardware partitions or blades requires separate software licenses. Hardware partitions and blades are considered to be separate servers for licensing purposes and SQL Server software licenses cannot be assigned to more than one server at any time.
To access a licensed SQL Server, each user or device must have a SQL Server CAL that is the same version or newer than the SQL Server software version being accessed. For example, to access a server running SQL Server 2017 software, a user needs a SQL Server 2017 CAL.
Note: Devices not operated by humans require device CALs, even when connecting to SQL Server indirectly. For human operated devices such as PCs or hand-held terminals, a user CAL or device CAL can be used.
While being version-specific, each SQL Server 2017 CAL provides access to 1) any number of current and/or prior version licensed SQL Server instances in a customer’s organization, and 2) current or previous product editions, including legacy SQL Business Intelligence, SQL Server Enterprise, SQL Server Workgroup and SQL Server for Small Business edition servers.
Note: The use of hardware or software that reduces the number of devices or users that directly access or use the software (multiplexing/pooling) does not reduce the number of CALs required. For details on how to license SQL Server in a multiplexed application environment, refer to the Advanced licensing scenarios section of this guide.
The Server+CAL licensing model is appropriate when:
• Deploying SQL Server 2017 Standard Edition software in scenarios where customers can easily count users/devices and the total licensing costs are lower than using the Per Core licensing model.
• Accessing multiple SQL Server databases and/or planning to scale out the use of SQL Server by adding new Standard Edition servers over time. Once customers have purchased the necessary CALs, additional server licenses are only needed for new server system deployments.
• Accessing legacy Enterprise or Business Intelligence edition servers in the Server+CAL licensing model. For more detailed information on this topic, refer to the Additional product information section of this guide.

SQL Server 2017 Licensing components

SQL Server software includes a range of licensed server components, including but not limited to the SQL Server Database Engine (DB), SQL Server Machine Learning Services, Machine Learning Server Standalone, Master Data Services (MDS), Analysis Services (AS), Integration Services (IS), Reporting Services (RS), and Data Quality Services (DQS). In addition, a number of management components, such as client applications and tools used for creating or working with analytical data, are provided. For more details on the software components specifically included with SQL Server 2017, visit https://docs.microsoft.com/en-us/sql/sql-server/editions-and-components-of-sql-server-2017
The software components of a single SQL Server 2017 license cannot be separated. Any OSE running any of the licensed components of SQL Server 2017, requires a license. For example, if the SQL Server DB is deployed in one OSE and SQL Server RS is deployed in another, both OSEs must be fully licensed for SQL Server 2017 accordingly.
Management tools and other software identified as additional or supplemental software—such as product documentation, client connectivity tools, software add-ins, and Software Development Kits (SDKs)—can generally be distributed and run on any number of devices for use with a licensed instance of SQL Server software. Refer to the Volume Licensing Product Terms for the list of additional software components provided with SQL Server 2017.

SQL Server 2017 licensing in a virtualized environment

Microsoft SQL Server is increasingly being deployed in virtualized environments, which enable running instances of SQL Server concurrently in separate virtual OSEs (or virtual machines).
SQL Server 2017 offers expanded virtualization rights, options and benefits to provide greater flexibility for customers deploying in virtual environments. When deploying SQL Server 2017 software in virtualized environments, customers have the choice to license either individual virtual machines as needed, or to license for maximum virtualization in highly virtualized, private cloud, or dynamic environments. Maximum virtualization can be achieved by licensing the entire physical server with Enterprise Edition core licenses and covering those licenses with Software Assurance (SA).

SQL Server 2017 licensing  in a virtualized environment

Licensing individual virtual machines

As customers consolidate existing workloads and refresh hardware, they may find that a SQL Server instance uses only a fraction of available system computing power. When deploying databases in virtual environments that require just a fraction of a physical server, savings can be achieved by licensing individual virtual machines (VMs).

How to license individual virtual machines using the Per Core licensing model
Similar to the Per Core licensing model in physical OSEs, all virtual cores (v-cores) supporting virtual OSEs that are running instances of SQL Server 2017 software must be licensed accordingly.
To license individual VMs using the Per Core model, customers must purchase a core license for each v-core (or virtual processor, virtual CPU, virtual thread) allocated to the VM, subject to a four-core license minimum per VM. For licensing purposes, a v-core maps to a hardware thread.
Note: Licensing individual VMs is the only licensing option available for SQL Server 2017 Standard Edition customers who are running the software in a virtualized environment under the Per Core model.
For customers with highly virtualized environments who want to move VMs dynamically across servers to reallocate resources as needed, Microsoft permits License Mobility as an exclusive SA benefit available for all SQL Server editions. For more information on licensing for application mobility, refer to the Advanced licensing scenarios section of this guide.

SQL Server 2017 Licensing individual virtual machines_1

Additional licenses are required when:
• A single hardware thread is supporting multiple virtual cores. (A core license is required for each v-core.)
• Multiple hardware threads are supporting a single virtual core simultaneously. (A core license allows a single v-core to be supported by a single hardware thread.)

How to license individual virtual machines using the Server+CAL licensing model
To license individual VMs using the Server+CAL model, customers simply purchase one server license for each VM running SQL Server software, regardless of the number of virtual processors allocated to the VM.
For example, a customer who wants to deploy Standard Edition running in six VMs, each allocated with four v-cores, would need to assign six SQL Server 2017 Standard server licenses to that server.
Note: Each user or device accessing SQL Server 2017 software, regardless of a virtual or physical deployment, requires a SQL Server 2017 CAL.
Microsoft SQL Server 2017 Licensing guide 18
For details on how to license individual VMs with legacy SQL Server Enterprise Edition server licenses, please refer to the Additional product information section of this guide.

SQL Server 2017 Licensing individual virtual machines_2

SQL Server 2017 Licensing for maximum virtualization

With SQL Server 2017 Enterprise Edition, customers who have licensed all physical cores on the server can run an unlimited number of instances of the software in a number of OSEs (physical and/or virtual) equal to the number of core licenses assigned to the server. For example, a four-processor server with four cores per processor—fully licensed with sixteen core licenses—can run SQL Server software in up to sixteen VMs, regardless of the number of virtual cores allocated to each VM.
• Customers who have licensed all the physical cores on the server and want to run SQL Server 2017 software in more VMs than are permitted, can assign additional core licenses to the licensed server.
• Each additional core license allows deployment of SQL Server software in an additional VM, so in the previous example, a customer who wants to run SQL Server Enterprise Edition in eighteen VMs would simply acquire and assign eighteen core licenses to that server.
With the addition of Software Assurance (SA) coverage on all Enterprise Edition core licenses (for a fully licensed server), customers’ use rights are expanded to allow any number of instances of the software to run in any number of OSEs (physical or virtual). This valuable SA benefit enables customers to deploy an unlimited number of VMs to handle dynamic workloads and fully utilize hardware computing capacity.
Note: This benefit ends when SA coverage expires.

Licensing for maximum virtualization can be an ideal solution when:
• Deploying SQL Server private cloud scenarios with high VM density
• Hyper-threading is being used
• Using dynamic provisioning and de-provisioning of VM resources

SQL Server 2017 Licensing for maximum virtualization

Licensing SQL Server 2017 in containers

SQL Server 2017 introduces support for deployments on Linux and Docker platforms. This allows customers to not only choose their platform, but also to deploy SQL Server 2017 in containers using Docker container technology.
Containers provide operating system level virtualization that allows multiple isolated applications to be run on a single system. Containers make it easy to enable:
• Rapid deployment scenarios
• Separation of application services through Micro Services deployments
• Rapid scale up and scale down of application services
Containers differ from virtual machines in that they provide operating system-level virtualization and all containers running on a physical host share the operating system. This provides application isolation, but not operating system-level isolation. However, containers are less resource intensive, require much less overhead to run, can be started and scaled rapidly, and provide a high degree of portability.
Virtual machines provide hardware-level virtualization, with each virtual machine having its own operating system environment, virtual memory and virtual cores. This provides full isolation from other virtual machines and allows for unique settings for the operating system within each virtual machine.

Licensing SQL Server 2017 in containers

For licensing, an operating system environment is defined as all or part of an operating system instance, or all or part of a virtual operating system instance which enables separate machine identity. Containers and virtual machines are structured differently, but they are considered the same from a licensing perspective.

Licensing individual containers

How to license individual containers using the Per Core licensing model
Similar to the Per Core licensing model in physical OSEs, all virtual cores (v-cores) supporting containers running instances of SQL Server 2017 software, must be licensed accordingly.
To license individual containers using the Per Core model, customers must purchase a core license for each v-core (or virtual processor, virtual CPU, virtual thread) allocated to the container, subject to a four-core license minimum per container. For licensing purposes, a v-core maps to a hardware thread.
Note: Licensing individual containers is the only licensing option available for SQL Server 2017 Standard Edition customers who are running the software in containers under the Per Core model.
For customers with high density container environments who want to move containers dynamically across servers to reallocate resources as needed, Microsoft permits License Mobility as an exclusive SA benefit available for all SQL Server editions. For more information on licensing for application mobility, refer to the Advanced licensing scenarios section of this guide.

SQL Server 2017 Licensing individual containers_1

How to license individual containers using the Server+CAL licensing model
To license individual containers using the Server+CAL model customers simply purchase one server license for each container running SQL Server software, regardless of the number of virtual processors allocated to the container.
For example, a customer who wants to deploy Standard Edition running in six containers, each allocated with four v-cores, would need to assign six SQL Server 2017 Standard server licenses to that server.
Microsoft SQL Server 2017 Licensing guide 22
Note: Each user or device accessing SQL Server 2017 software, regardless of a virtual or physical deployment, requires a SQL Server 2017 CAL.

SQL Server 2017 Licensing individual containers_2

Licensing containers for maximum density

With SQL Server 2017 Enterprise Edition, customers who have licensed all physical cores on the server can run a number of containers equal to the number of core licenses assigned to the server. For example, a four-processor server with four cores per processor—fully licensed with sixteen core licenses—can run SQL Server software in up to sixteen containers, regardless of the number of virtual cores allocated to each container.
• Customers who have licensed all the physical cores on the server and want to run SQL Server 2017 software in more containers than are permitted, can assign additional core licenses to the licensed server.
• Each additional core license allows deployment of SQL Server software in an additional container, so in the previous example, a customer who wants to run SQL Server Enterprise Edition in eighteen containers would simply acquire and assign eighteen core licenses to that server.
With the addition of Software Assurance (SA) coverage on all Enterprise Edition core licenses (for a fully licensed server), customers’ use rights are expanded to allow any number of containers to run on the licensed server. This valuable SA benefit enables customers to deploy an unlimited number of containers to handle dynamic workloads and fully utilize hardware computing capacity.
Note: This benefit ends when SA coverage expires.
Licensing for maximum container density can be an ideal solution when:
• Deploying SQL Server private cloud scenarios with high container density
• Hyper-threading is being used
• Using dynamic provisioning and de-provisioning of container resources

SQL Server 2017 Licensing containers for maximum density

Licensing SQL Server for the Analytics Platform System

SQL Server Parallel Data Warehouse (PDW) is a specialized edition of SQL Server software which is only available as a component of the Analytics Platform System (APS) appliance. APS appliances provide data warehouse solutions that are offered only through preferred hardware partners.
Simple to deploy, SQL Server PDW is delivered as a component of a pre-built APS appliance with software, hardware, and networking components already pre-installed and configured to maximize data warehouse performance. Designed to grow with a customer’s data warehousing needs, APS appliances can scale from a quarter rack configuration to a multiple rack solution supporting petabytes of data.
Running SQL Server PDW is done through SQL Enterprise Edition Per Core licensing with SA coverage. The number of SQL Server Enterprise Edition core licenses for an APS appliance will depend on the total number of physical cores in the SQL Server PDW compute servers configured within the appliance.
Note: an APS appliance is defined to be a single unit made up of two or more active compute servers (also called compute nodes) that are controlled by a single PDW control VM (virtual OSE).
When licensing an APS appliance, all physical cores on all active SQL Server PDW compute servers must be fully licensed to run the SQL Server PDW software. For example, a quarter rack appliance configured with two active SQL Server PDW compute servers—each with two 8-core processors—would require a total of 32 SQL Server Enterprise Edition core licenses.

Licensing SQL Server 2017 for the Analytics Platform System

Additional considerations when licensing APS Appliances:
• The underlying Windows Server Standard Edition software is acquired with the appliance hardware through an OEM license. Software Assurance (SA) coverage for Windows Server Standard Edition must be added through an applicable Microsoft Volume Licensing program.
➧ Windows Server CALs with SA are also required for all users accessing the APS appliance.
• Customers must additionally acquire software licenses with SA coverage for the SQL Server Enterprise and requisite System Center Standard software components through a Volume Licensing program.
• While SQL Server Enterprise core licenses are only required for the active compute nodes in an appliance, all servers—including the control server and passive failover servers configured in the appliance—must be fully licensed for both Windows Server Standard and System Center Standard Edition software.
• Licensing by individual OSE is not applicable to SQL Server PDW software deployments. As noted above, all physical cores on all active compute servers in the APS appliance running SQL Server PDW must be fully licensed for SQL Server Enterprise Edition.
• SQL Server software running on the PDW appliance control server is considered Additional Server Software and does not need to be separately licensed when all active compute servers are fully licensed as defined above.

Advanced licensing scenarios and detailed examples

This section introduces a few advanced SQL Server 2017 licensing scenarios to help illustrate how customers can apply some of the key licensing principles covered in this guide. For detailed licensing terms and additional licensing guidance applicable to more specific software deployment scenarios, refer to the Microsoft Product Terms.

Licensing SQL Server for high availability

SQL Server software can be configured so that if one server fails, its processing will be picked up, recovered and continued by another server. All editions of SQL Server 2017 on Windows provide basic high availability features including backup log shipping, database mirroring and/or two-node failover clustering. Advanced (Always On) high availability features in SQL Server 2017 Enterprise Edition include support for multiple, active (readable) secondary servers and support for multi-site failover clustering.
SQL Server 2017 Standard and Enterprise Editions on Linux provide basic availability through backup log shipping and two-node failover clustering. SQL Server 2017 Standard Edition on Linux also includes support for basic availability groups, while SQL Server 2017 Enterprise Edition on Linux supports advanced (Always On) high availability features.
SQL Server 2017 Web Edition on Linux provides basic high availability through backup log shipping.
Note that log shipping and database mirroring take place at the database level, whereas failover clustering takes place at the SQL Server instance level.
For the purposes of this guide, we are not drawing a distinction in how high availability is being implemented, examples being:
• Database Mirroring
• Windows Fail-Over Cluster Instances
• Always On Availability Groups
Each of these implementations uses different terminology. The examples that follow use ‘Active’ as the read-write database or instance (also referred to as Primary Replica in an Always On Availability Group) and ‘Passive’ for the write only database or instance (marked to not-read, referred to as Secondary Replica in an Always On Availability Group).

Failover Basics
For each server licensed with SQL Server 2017 and covered by active SA, customers can run up to the same number of passive failover instances in a separate, OSE to support failover events. A passive SQL Server instance is one that is not serving SQL Server data to clients or running active SQL Server workloads. The passive failover instances can run on a separate server. These may only be used to synchronize with the primary server and otherwise maintain the passive database instance in a warm standby state in order to minimize downtime due to hardware or software failure.
• The secondary server used for failover support does not need to be separately licensed for SQL Server as long as it is truly passive, and the primary SQL Server is covered with active SA. If it is marked to read and serving data, such as reports to clients running active SQL Server workloads, or performing any “work”, such as additional backups being made from secondary servers, then it must be licensed for SQL Server.

Licensing SQL Server 2017 for high availability_1
Licensing SQL Server 2017 for high availability_2

• In the case where you are using License Mobility to license your primary database running on shared hardware in the cloud, you may run the same number of passive SQL Server instances in a separate OSE running in the cloud on shared hardware to support failover events.

Licensing SQL Server 2017 for high availability_3

• Primary server licenses covered with SA include support for one secondary server only, and any additional secondary servers must be licensed for SQL Server. Note: The rights to run a passive instance of SQL Server for failover support are not transferable to other licensed servers for purposes of providing multiple passive secondary servers to a single primary server.

Licensing SQL Server 2017 for high availability_4

Additional considerations for high availability:
• When licensing SQL Server 2017 under the Per Core model, the number of core licenses must be based on the server that requires the higher number of licenses. This way, when the failover server takes over, it will be adequately licensed. For a passive instance of SQL Server to be properly licensed, it cannot require more core licenses than the licensed primary system.
• In the event that a passive instance of SQL Server becomes active for any reason, the primary SQL Server 2017 license is dynamically reassigned to the newly active server via the License Mobility within Server Farms SA Benefit, and now assumes all active workloads.
• In the case where individual SQL Server instances are failing over independently from each other, each SQL Server OSE running an active SQL Server instance requires separate licenses.

Always On Availability Groups
Always On Availability Groups in SQL Server 2017 Enterprise Edition enable customers to configure multiple database instances that will failover as a unit, with support for up to eight active secondary replicas and two synchronous secondary replicas. The ability to use secondary replicas for more than just passive failover support can improve the performance of primary, reporting and backup workloads due to better balancing of workloads across instances, helping to provide better return on hardware investment.
Note: When secondary replicas are actively used to support these additional workload scenarios—that is when the replicas used for failover purposes are no longer truly passive—they must be fully licensed accordingly.

Licensing SQL Server 2017 for high availability_5

Today, many virtual environments are becoming even more dynamic, especially in scenarios where software is used to automatically and dynamically allocate resources to different VMs “on the fly”. In the next section, we will discuss licensing SQL Server in these scenarios and look at ways to further simplify licensing management.

Licensing SQL Server for application mobility

License Mobility is a use right that is available for all editions of SQL Server 2017 software licenses with active Software Assurance (SA) coverage. With this SA benefit, customers can reassign SQL Server licenses to different
Microsoft SQL Server 2017 Licensing guide 30
servers within a server farm as often as needed. Customers can also reassign licenses to third party shared servers. License Mobility is available for licenses under both the Per Core and Server+CAL license models.
• SQL Server licenses that are not covered with active SA can only be reassigned to a different server within a server farm once every 90 days, and they cannot be reassigned to a third-party web hoster or non-private cloud at any time. (In the event of permanent hardware failure, the 90-day reassignment limit is waived.)
• All SQL Server licenses with active SA can be reassigned to another server within the server farm as often as needed; however, they can only be reassigned to another server in another server farm, or to a non-private cloud, once every 90 days.
➧ A server farm may consist of up to two data centers located in time zones that are within four hours of one another and/or with the European Union (EU) and/or European Free Trade Association (EFTA).
➧ A given data center may only be part of one server farm.
• License Mobility use rights do not apply to SQL Server PDW software.
License Mobility can benefit customers who license individual virtual machines (VMs) or containers and then want to reassign those licenses to different servers within a server farm—as workloads move dynamically—or to VMs in cloud environments.
Note: License Mobility applies only to the reassignment of software licenses and is not applicable to the reassignment of running instances of SQL Server software.

Licensing SQL Server 2017 for application mobility_1
Licensing SQL Server 2017 for application mobility_2

Licensing SQL Server for non-production use

Customers are required to license every Microsoft software product they install, configure, and use, including all physical and virtual instances. As such, licensing a development and test environment can be expensive and challenging to manage as new servers are set up and others are torn down. Microsoft offers multiple, cost- effective options for licensing SQL Server 2017 software for use in non-production environments.

SQL Server Developer Edition
SQL Server 2017 Developer Edition is a fully featured version of SQL Server software—including all the features and capabilities of Enterprise Edition—licensed for development, test and demonstration purposes only. SQL Server Developer Edition may not be used in a production environment or with commercial data. Any test data that was used for design, development or test purposes must be removed prior to deploying the software for production use.
Customers may install and run the SQL Server Developer Edition software on any number of devices. This is significant because it allows customers to run the software on multiple devices (for testing purposes, for example) without having to license each non-production server system.
Note: A production environment is defined as an environment that is accessed by end-users of an application (such as an internet website) and that is used for more than gathering feedback or acceptance testing of that application. Other scenarios that constitute production environments include:
• Environments that connect to a production database
• Environments that support disaster-recovery or backup for a production environment
• Environments that are used for production at least some of the time, such as a server that is rotated into production during peak periods of activity
It is rare that someone whose primary role is designing, developing, or testing software would also qualify as an “end user” of the software.
Note: Effective April 1, 2016, SQL Server Developer Edition became a free product, available through the Microsoft Dev Essentials program or as software download from the SQL Server website. For customers who need prior versions and/or additional SQL Server editions for development, test and demonstration purpose (e.g. Standard or Enterprise editions), these can be accessed through Visual Studio subscriptions.

Visual Studio subscriptions
Customers can also choose to license SQL Server software for non-production use through certain Visual Studio subscription offerings, including the Visual Studio Professional and Enterprise subscription levels. Visual Studio subscriptions are licensed on a per user basis and the software cannot be used in a production environment.

Product evaluations
SQL Server 2017 Evaluation Edition is a fully functional trial version of SQL Server 2017 software that automatically expires after 180 days. Microsoft Volume Licensing customers can also install and evaluate non-expiring software versions of any of the SQL Server 2017 products for 60 days before requiring a purchase.

Licensing SQL Server in a multiplexed application environment

“Multiplexing” refers to the use of hardware or software to pool connections, reroute information, or reduce the number of devices or users that directly access or use SQL Server. Multiplexing can also include reducing the number of devices or users SQL Server directly manages.
When licensing SQL Server software under the Server+CAL licensing model, users and devices that indirectly access SQL Server data through another application or hardware device still require SQL Server CALs.

• Multiplexing does not reduce the number of Microsoft licenses required. Users are required to have the appropriate licenses, regardless of their direct or indirect connection to SQL Server.
• Any user or device that accesses the server, files, data or content provided by the server that is made available through an automated process requires a SQL Server CAL.
• The number of tiers of hardware or software between the SQL Server and the user or devices that ultimately use its data, services, or functionality does not affect the number of CALs required.
• Manual transfer of data from employee to employee does not necessitate the requirement of a CAL for the receiving employee. For example, if an employee sends a Microsoft Office Excel® version of a report to another employee, the receiving employee does not require a CAL (as long as the report does not access a server running SQL Server in some way).

Licensing SQL Server 2017 in a multiplexed application environment

SQL Server CALs are required for users or devices that directly input into, query, or view data from a SQL Server database. Similarly, SQL Server CALs are required for users or devices that input data into, query, or view data from a SQL Server database through a pooling device (such as the CRM Server in the figure above). This includes users who view data through web-based applications or enter information into a database through an intermediary product.
When users actively send SQL Server data by email or other messaging technology, recipient users do not require a SQL Server CAL. With multiplexing, these rules do not change. Likewise, the paper distribution of data does not require SQL Server CALs for the recipients of the paper report. Users who receive data directly or indirectly from SQL Server require CALs, but if these users print the data, recipient users do not require a SQL Server CAL.

Additional product information

Upgrades, downgrades and step-ups
When licensing SQL Server 2017 software, several deployment options are available to support a variety of customer upgrade scenarios.
• Version upgrade rights are offered as a Software Assurance (SA) benefit for qualified licenses and allow customers access to upgrade their deployments at no additional cost. Existing SQL Server 2016 software licenses covered by SA are automatically upgraded to licenses for the corresponding SQL Server 2017 edition.
• Cross edition rights are currently available for certain SQL Server products only and allow customers to deploy an alternate (usually lower) edition in place of the currently licensed edition. SQL Server cross edition rights can be combined with the version downgrade rights (available for all products offered under a Volume Licensing Agreement) that allow customers to deploy prior versions of the software in place of the currently licensed version. In some cases, rights to deploy prior versions of product editions other than the edition currently licensed may also be allowed.
Note: When using version downgrade or cross edition deployment rights, the product use rights for the originally licensed version and edition still apply.

Software deployment options for SQL Server 2017

• Edition step-ups are offered as a Software Assurance (SA) benefit in certain Volume Licensing programs only and allow customers to move from a lower product edition. SQL Server 2017 Standard Edition Core licenses can step-up to SQL Server 2017 Enterprise Edition Core licenses only. To be eligible to step-up to a higher edition, the lower edition license must be covered by SA. Step-Ups between licensing models are not allowed.

SQL Server 2017 migration options for Software Assurance customers

To facilitate a smooth transition to the product edition and licensing model changes introduced with SQL Server 2012, Microsoft continues to offer upgrade options to help customers who have invested in Software Assurance benefits to protect their current software investments.

For SQL Server Enterprise Edition licenses with Software Assurance
Existing SQL Server Enterprise Edition server licenses continue to have tremendous value and with the availability of ongoing SA coverage, customers licensed under the Server+CAL model can retain access to the latest product enhancements and advanced capabilities of Enterprise Edition. As such, there are no programmatic conversions to core licenses.

Additional considerations when licensing SQL Server Enterprise under the Server+CAL model:
Server 2017 Enterprise Edition software licensed under the Server+CAL model is intended and physically limited to only run on servers with a total of twenty cores or less:
• There are two versions of SQL Server 2017 Enterprise Edition software: a server-based version and a core-based version. Customers must run the software version for which they are licensed.
• For customers running SQL Server 2017 Enterprise Edition server-based software instances in a physical environment, that OSE is only permitted to access a maximum of twenty physical cores. A per instance technical limit is also enforced.
• For customers running SQL Server 2017 Enterprise Edition server licenses in virtual environments, each set of VMs associated with a single server license (up to four per server license) can only access up to twenty hardware threads of combined power at any time.

For SQL Server Parallel Data Warehouse (PDW) licenses with Software Assurance
As of June 1, 2016, Microsoft no longer offers standalone SQL Server PDW core licenses and customers can only use Enterprise Edition core licenses with SA coverage to run the SQL Server PDW software on Analytics Platform System (APS) appliances.
• Customers with Enterprise Agreements effective on or before June 1, 2016 can continue to acquire additional SQL Server PDW licenses—and upgrade those licenses to SQL Server 2017—through the end of their current enrollment term.
• After their current term expires, SA coverage can be renewed and maintained on SQL Server Enterprise Edition core licenses to provide continued access to PDW software deployment rights and SA benefits, including access to future software releases.

For SQL Server Business Intelligence Edition licenses with Software Assurance
SQL Server 2014 was the last version of the SQL Server Business Intelligence Edition. Customers with active SA coverage on qualifying Business Intelligence Edition server licenses on June 1, 2016 are eligible to upgrade to and use SQL Server 2017 Enterprise (Server+CAL) software with those licenses.
Microsoft SQL Server 2017 Licensing guide 36
For full details on the migration options and additional license grants available to current SA customers with eligible SQL Server PDW or Business Intelligence licenses, refer to the June 1, 2016 publication of the Microsoft Volume Licensing Product Terms.

Download the document:

(© Microsoft Corporation. All rights reserved.)

Leave a Reply