sp_lmconfig
[
[ 'edition' [, <edition_type> ]]
| [ 'license type' [, <license_type_name> ]]
| [ 'smtp host' [, <smtp_host_name> ]]
| [ 'smtp port' [, <smtp_port_number> ]]
| [ 'email sender' [, <sender_email_address> ]]
| [ 'email recipients' [, <email_recipients> ]]
| [ 'email severity' [, <email_severity> ]]
]
sp_lmconfig
不使用任何参数时,可显示以下许可证状态信息:
- 服务器名称
- 许可证名称
- 版本
- 数量状态
- 过期日期
edition
是用来指定许可证版本的静态配置参数。
<edition_type>
指定版本类型,并具有以下可能值:
- null – 是缺省值。指定 null 值时,不配置任何产品版本,SAP ASE 服务器将使用任意版本的许可证启动。
- EE – 指示 Enterprise Edition。
- SE – 指示 Small Business Edition。
- XE – 指示 Express Edition。
> 注意
> 不再支持 SAP ASE Developer Edition。作为替代,您可以下载和评估 SAP ASE Enterprise Edition 的非生产环境版本。
license type
是用来为 SAP ASE 的安装指定许可证类型的静态配置参数,该参数仅在指定非 null 版本时才有效。
<license_type_name>
指定 SAP ASE 的特定安装的许可证类型。如果您使用的是 Express Edition(XE),则不需要指定 license type。最常见的有效值为:
- SRST – 具有网络席位的服务器许可证
- SVST – 具有网络席位的备用服务器许可证
- SRCU – 具有并发用户席位的服务器许可证
- SVCU – 具有并发用户席位的备用服务器许可证
- SRIA – 具有 Internet 访问许可证的服务器许可证
- SVIA – 具有 Internet 访问许可证的备用服务器许可证
- CP – CPU 许可证
- SF – 备用 CPU 许可证
- null – 缺省值
> 注意
> 除了此列表外,sp_lmconfig 还接受表示专门和遗留许可证类型的两字母缩写形式。如果不接受该许可证类型,请将该类型设置为 null 并使用网络许可证服务器选项文件来控制此 SAP ASE 服务器所使用的许可证。
smtp host, <smtp host name>
指定用于发送许可证事件通知的电子邮件的 SMTP 主机。
smtp port, <smtp port number>
指定用于发送许可证事件通知的电子邮件的 SMTP 端口。
email sender, <sender email address>
指定在许可证事件电子邮件通知中用作发件人地址的电子邮件地址。
email recipients, <email recipients>
是以逗号分隔的接收许可证事件电子邮件通知的收件人列表。
email severity, <email severity>
是导致发送电子邮件通知的错误的最低严重性。缺省为错误,其它可能性包括警告和信息性消息。
显示系统的基本许可证配置信息:
1> sp_lmconfig
2> go
Parameter Name Config Value
----------------- ------------
edition EE
license type CP
smtp host null
email recipients null
email severity null
smtp port null
email sender null
License Name Version Quantity Status Expiry Date Server Name
--------------- ---------- -------- ---------- ------------------- ----------
ASE_HA 2010.03314 2 expirable Apr 1 2010 12:00AM cuprum
ASE_ASM null 0 not used null null
ASE_EFTS null 0 not used null null
ASE_DIRS null 0 not used null null
ASE_XRAY null 0 not used null null
ASE_ENCRYPTION null 0 not used null null
ASE_CORE 2010.03314 2 expirable Apr 1 2010 12:00AM cuprum
ASE_PARTITIONS null 0 not used null null
ASE_RLAC null 0 not used null null
ASE_MESSAGING_TIBJMS null 0 not used null null
ASE_MESSAGING_IBMMQ null 0 not used null null
ASE_MESSAGING_EASJMS null 0 not used null null
Property Name Property Value ------------- --------------
PE EE
LT CP
ME null
MC null
MS null
MM null
CP 0
AS A
(return status = 0)
使用 sp_lmconfig 时,还存在一些其它注意事项: