加载中…
个人资料
sqlora
sqlora
  • 博客等级:
  • 博客积分:0
  • 博客访问:6,500
  • 关注人气:8
  • 获赠金笔:0支
  • 赠出金笔:0支
  • 荣誉徽章:
正文 字体大小:

SQL Server 2012 企业版有两种licensing授权模式

(2015-08-28 13:11:24)
分类: sqlserver

SQL Server 2012 企业版有两种licensing model:

  1. 基于服务器和客户端访问授权模式 Server and Client Access License (CAL) Licensing

  2. 基于Core模式的访问授权模式 Core-Based Licensing:

这两种模式在技术层面上,显著的限制是:基于CAL模式的Lincense有20个Core的使用限制,如果你用的超线程,那么就是40 logical processors的限制。

如果服务器的逻辑cpu个数超过这个数,比如常见的64个的话,在sql server errorlog信息会有如下信息

SQL Server detected 4 sockets with 6 cores per socket and 6 logical processors per socket, 24 total logical processors; using 20 logical processors based on SQL Server licensing.

或者:

SQL Server detected 4 sockets with 8 cores per socket and 16 logical processors per socket, 64 total logical processors; using 40 logical processors based on SQL Server licensing.

如果遇到这种情况,就说明你在安装SQL Server时,输入的产品key是基于CAL的授权模式,那么如何升级为Core模式的Lincense呢?

方法如下:

1
Setup.exe /q /ACTION=editionupgrade /INSTANCENAME=MSSQLSERVER /PID="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX" /IACCEPTSQLSERVERLICENSETERMS

注意:上述命令中的PID="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"即为你购买的基于Core模式的产品Key.


那么如何来确定自己所安装的SQL Server 2012是哪种授权模式呢?代码如下:

1
2
3
4
5
6
7
8
9
10
11
12
13
SELECT  SERVERPROPERTY('Edition'AS Edition ,
        CASE SERVERPROPERTY('EditionID')
          WHEN 1804890536 THEN 'Enterprise Edittion: CAL Lincenseing'
          WHEN 1872460670 THEN Enterprise Edition: Core-based Licensing'
          WHEN 610778273 THEN 'Enterprise Evaluation'
          WHEN 284895786 THEN Business Intelligence'
          WHEN -2117995310 THEN 'Developer'
          WHEN -1592396055 THEN 'Express'
          WHEN -133711905 THEN 'Express with Advanced Services'
          WHEN -1534726760 THEN 'Standard'
          WHEN 1293598313 THEN 'Web'
          ELSE ''
        END AS [Licensing Model]

 

http://www.sqlcn.com/post/97.html

http://www.tuicool.com/articles/3I3myq

0

阅读 收藏 喜欢 打印举报/Report
  

新浪BLOG意见反馈留言板 欢迎批评指正

新浪简介 | About Sina | 广告服务 | 联系我们 | 招聘信息 | 网站律师 | SINA English | 产品答疑

新浪公司 版权所有