linux中license管理
Flexnet是一系列优化管理解决方案的统称,通过软件加密、软件授权进行服务。
Flexera Software 公司旗下的一系列软件加密、 软件授权和企业软件资产优化管理解决方案的统称,包含 FlexNet Producer Suite和 FlexNet Manager Suite两个套件,其中FlexNet Producer Suite软件授权管理方案能有效帮助软/硬件生厂商简化、高效的管理和控制软件授权的分发,定价,以便企业能以更快的速度和更大的灵活性更好的服务于他们的用户,FlexNet授权管理方案还有效的保护了企业分发的软件不被授权以外的市场滥用。
FlexNet Manager Suite 企业 软件资产管理方案能有效管理企业所购买的软件资产,通过集中监控,管理和记录所购买的软件产品来使企业的软件 资产利用率最大化,为企业的财务人员提供了便捷的管理方案来节省企业的软件 采购成本。
做授权的,很多软件采用基于Flexnet技术做授权的,而Flexnet属于Flexera software厂商。目前该产品线已经细化,Flexnet Publisher是专做做授权的,大家熟悉的可能是Flexlm。
Flexera是应用程序用法管理的战略解决方案提供商。FlexNet Publisher提供了自定义定价、软件包和软件许可条款的技术,也可防止未授权使用。
lmgrd是在端口27000上监听的许可证服务器管理器,作为多种产品的系统服务运行。
lmgrd : 可以获得licence server的 port@host。
lmcksum -c port@host : 相当于打开licence file。
其中:
SERVER : hostname hostid port_id。
DAEMON: cdslmd(cadence vendor name) Daemon的路径。
FEATURE: EDA工具可以使用的feature, 版本号 数量 过期时间 等信息。
lmstat : 用于监控licence的使用情况。
lmstat -a : 显示所有信息。
lmstat -A : 只显示活跃状态。
lmstat -a -c port@host: 显示对应host上的信息。
cadence 仿真软件在没有licence时会退出,如果在命令行上加上 "-licqueue " 会一直等待获取licence。
lmstat -help
lmstat - Copyright (c) 1989-2015 Flexera Software LLC. All Rights Reserved.
usage: lmstat
[-a] (display everything)
[-asec] (display everything in HH:MM:SS format)
[-c license_file] (use "license_file" as license file)
[-f [feature_name]] (list usage info about specified (or all) feature(s))
[-i [feature_name]] (list info about specified (or all) feature(s) from
the increment line in the license file)
[-lm] (display status of license manager)
[-S [DAEMON]] (display all users of DAEMONs licenses)
[-s [server_name]] (display status of all license files on server node(s))
[-t timeout_value] (set connection timeout to "timeout_value")
[-v] (display FLEXlm version, revision, and patch)
[-vd] (display status of vendor daemon)
[-old] (allow communications with an old server that
uses communications version 1.2 or earlier)
[-help] (prints this message)
例如:
lmstat -a -c $CDS_LIC_FILE
lmstat -i VIP_ATP -c $CDS_LIC_FILE
echo $CDS_LIC_FILE //查看license的路径
note:
lmstat -i does not give information from the server, but only reads the license file.For this reason, lmstat -a is recommended instead.
lmgrd -help
uasge: lmgrd [-l [+]debug_log_path] [-2 -p] [-z] [-c license_file_list]
[-v] [-local]
[-x lmdown|lmremove] [-help]
use -l option before other option to log all debugging information to debug_log_path.
浙公网安备 33010602011771号