关于SDNet Float License的导入

关于SDNet Float License的导入

1)在赛灵思下载页面最底部的 License Management Tools - 2017.3 Utilities 选择适合你的版本下载下来。笔者这里选的Linux版本。(下面说明都是在ubuntu 14.04下运行的)


2)安装Linux Standards Base

sudo apt-get install lsb

3)运行以下命令启动许可证server

$ sudo /path/to/linux_flexlm_v11.14.1.0/lnx64.o/lmgrd -c /path/to/Xilinx.lic -l /path/to/Xilinx_licenses.log

其中linux_flexlm_v11.14.1.0是我们刚刚下载来的License管理工具。

Tips:大家运行完后,一定要查看生成的Xilinx_licenses.log的输出。

容易出现错误的地方有这几个:

  • 需要在/usr文件夹下新建tmp文件夹,且把tmp文件夹权限改成777
  • 每次执行以上命令一次后,若没有成功都需要通过sudo netstat -anp | grep 2100查看对应的进程,然后用sudo kill -9 进程号把进程杀死
  • 需要把linux_flexlm_v11.14.1.0/lnx64.olmgrdlmutilxilinxd,通过chmod +x把他们修改成可执行文件

基本上正确的Xilinx_licenses.log,如下所示:

10:01:37 (lmgrd) -----------------------------------------------
10:01:37 (lmgrd)   Please Note:
10:01:37 (lmgrd) 
10:01:37 (lmgrd)   This log is intended for debug purposes only.
10:01:37 (lmgrd)   In order to capture accurate license
10:01:37 (lmgrd)   usage data into an organized repository,
10:01:37 (lmgrd)   please enable report logging. Use Flexera Software LLC's
10:01:37 (lmgrd)   software license administration  solution,
10:01:37 (lmgrd)   FlexNet Manager, to  readily gain visibility
10:01:37 (lmgrd)   into license usage data and to create
10:01:37 (lmgrd)   insightful reports on critical information like
10:01:37 (lmgrd)   license availability and usage. FlexNet Manager
10:01:37 (lmgrd)   can be fully automated to run these reports on
10:01:37 (lmgrd)   schedule and can be used to track license
10:01:37 (lmgrd)   servers and usage across a heterogeneous
10:01:37 (lmgrd)   network of servers including Windows NT, Linux
10:01:37 (lmgrd)   and UNIX.
10:01:37 (lmgrd) 
10:01:37 (lmgrd) -----------------------------------------------
10:01:37 (lmgrd) 
10:01:37 (lmgrd) 
10:01:37 (lmgrd) Server's System Date and Time: Thu Nov 23 2017 10:01:37 CST
10:01:37 (lmgrd) SLOG: Summary LOG statistics is enabled.
10:01:37 (lmgrd) The license server manager (lmgrd) running as root:
10:01:37 (lmgrd) 	This is a potential security problem
10:01:37 (lmgrd) 	and is not recommended.
10:01:37 (lmgrd) FlexNet Licensing (v11.14.1.0 build 194335 x64_lsb) started on sume (linux) (11/23/2017)
10:01:37 (lmgrd) Copyright (c) 1988-2016 Flexera Software LLC. All Rights Reserved.
10:01:37 (lmgrd) World Wide Web:  http://www.flexerasoftware.com
10:01:37 (lmgrd) License file(s): /home/sume/Xilinx.lic
10:01:37 (lmgrd) lmgrd tcp-port 2100
10:01:37 (lmgrd) (@lmgrd-SLOG@) ===============================================
10:01:37 (lmgrd) (@lmgrd-SLOG@) === LMGRD ===
10:01:37 (lmgrd) (@lmgrd-SLOG@) Start-Date: Thu Nov 23 2017 10:01:37 CST
10:01:37 (lmgrd) (@lmgrd-SLOG@) PID: 12897
10:01:37 (lmgrd) (@lmgrd-SLOG@) LMGRD Version: v11.14.1.0 build 194335 x64_lsb ( build 194335 (ipv6))
10:01:37 (lmgrd) (@lmgrd-SLOG@) 
10:01:37 (lmgrd) (@lmgrd-SLOG@) === Network Info ===
10:01:37 (lmgrd) (@lmgrd-SLOG@) Listening port: 2100
10:01:37 (lmgrd) (@lmgrd-SLOG@) 
10:01:37 (lmgrd) (@lmgrd-SLOG@) === Startup Info ===
10:01:37 (lmgrd) (@lmgrd-SLOG@) Server Configuration: Single Server
10:01:37 (lmgrd) (@lmgrd-SLOG@) Command-line options used at LS startup: -c /home/sume/Xilinx.lic -l /home/sume/Xilinx_licenses.log 
10:01:37 (lmgrd) (@lmgrd-SLOG@) License file(s) used:  /home/sume/Xilinx.lic
10:01:37 (lmgrd) (@lmgrd-SLOG@) ===============================================
10:01:37 (lmgrd) Starting vendor daemons ... 
10:01:37 (lmgrd) Started xilinxd (internet tcp_port 59393 pid 12898)
10:01:37 (xilinxd) Unable to initialize access to trusted storage: 2
10:01:37 (xilinxd) FlexNet Licensing version v11.14.1.0 build 194335 x64_lsb
10:01:37 (xilinxd) SLOG: Summary LOG statistics is enabled.
10:01:37 (xilinxd) SLOG: FNPLS-INTERNAL-CKPT1
10:01:37 (xilinxd) SLOG: VM Status: 0
10:01:37 (xilinxd) Server started on sume for:	SDNET_PARSER	
10:01:37 (xilinxd) SDNET		
10:01:37 (xilinxd) EXTERNAL FILTERS are OFF
10:01:37 (lmgrd) xilinxd using TCP-port 59393
10:01:37 (xilinxd) SLOG: Statistics Log Frequency is 240 minute(s).
10:01:37 (xilinxd) SLOG: TS update poll interval is 600 seconds.
10:01:37 (xilinxd) SLOG: Activation borrow reclaim percentage is 0.
10:01:37 (xilinxd) (@xilinxd-SLOG@) ===============================================
10:01:37 (xilinxd) (@xilinxd-SLOG@) === Vendor Daemon ===
10:01:37 (xilinxd) (@xilinxd-SLOG@) Vendor daemon: xilinxd
10:01:37 (xilinxd) (@xilinxd-SLOG@) Start-Date: Thu Nov 23 2017 10:01:37 CST
10:01:37 (xilinxd) (@xilinxd-SLOG@) PID: 12898
10:01:37 (xilinxd) (@xilinxd-SLOG@) VD Version: v11.14.1.0 build 194335 x64_lsb ( build 194335 (ipv6))
10:01:37 (xilinxd) (@xilinxd-SLOG@) 
10:01:37 (xilinxd) (@xilinxd-SLOG@) === Startup/Restart Info ===
10:01:37 (xilinxd) (@xilinxd-SLOG@) Options file used: None
10:01:37 (xilinxd) (@xilinxd-SLOG@) Is vendor daemon a CVD: No
10:01:37 (xilinxd) (@xilinxd-SLOG@) Is TS accessed: No
10:01:37 (xilinxd) (@xilinxd-SLOG@) TS accessed for feature load: -NA-
10:01:37 (xilinxd) (@xilinxd-SLOG@) Number of VD restarts since LS startup: 0
10:01:37 (xilinxd) (@xilinxd-SLOG@) 
10:01:37 (xilinxd) (@xilinxd-SLOG@) === Network Info ===
10:01:37 (xilinxd) (@xilinxd-SLOG@) Listening port: 59393
10:01:37 (xilinxd) (@xilinxd-SLOG@) Daemon select timeout (in seconds): 1
10:01:37 (xilinxd) (@xilinxd-SLOG@) 
10:01:37 (xilinxd) (@xilinxd-SLOG@) === Host Info ===
10:01:37 (xilinxd) (@xilinxd-SLOG@) Host used in license file: sume
10:01:37 (xilinxd) (@xilinxd-SLOG@) Running on Hypervisor: Not determined - treat as Physical
10:01:37 (xilinxd) (@xilinxd-SLOG@) ===============================================

4)在执行以下命令即可

export XILINXD_LICENSE_FILE=2100@localhost
posted @ 2017-11-23 19:26  考拉小无  阅读(1417)  评论(1)    收藏  举报