Is the hardware address required for a flexlm client license.
조회 수: 6 (최근 30일)
이전 댓글 표시
When creating a client flexlm license we have traditionally used:
SERVER "<fully qualified domain name>" "<hardware address>" port
USE_SERVER
We have tested this without the hardware address and it seems to still work perfectly. Is there any issue not using the hardware address in the client license server file as shown above?
댓글 수: 0
채택된 답변
Ori
2015년 12월 29일
편집: Ori
2015년 12월 29일
According to the Flexnet publisher documentation, the format of the SERVER line is:
SERVER host hostid [port] [PRIMARY_IS_MASTER] [HEARTBEAT_INTERVAL=seconds]
Your 'host' is the IP address or hostname.
The hostid is "the string returned by the lmhostid command. This is changed only by your publisher."
So the answer depends on the output of the lmhostid command. Please run
lmutil lmhostid
from the license manager folder location to check it out.
Ori Kaplan
추가 답변 (2개)
Ori
2015년 12월 29일
편집: Ori
2015년 12월 29일
Hi David.
1. I verified similar behaviour using an Autodesk license on my machine (I don't have MATLAB installed on it). I could check out a Flexlm license either with or without the MAC address specified on the LICPATH.LIC file (similar to network.lic).
2. Regarding "have to reach out to hundreds of machines" - I admit I am not impartial, but I actually do have a solution to the specific need you have raised. I therefore feel unconstrained in my answer: My company has implemented the "OpenLM Router" . This module provides a single point of access to all clients, and will eliminate the need to "reach out" to clients. Please contact us offline if you require any assistance.
Ori Kaplan
댓글 수: 0
Jay Akers
2017년 8월 26일
Hi David and others searching this topic,
From my experience, for many years connecting to our centrally-run license server, the clients were able to run without the server's hostid in the client's license file.
However, I have setup my own server, and the clients get a license error -97 unless I put the server's hostid in their license file. I suspect it's something in how the server is setup. They have no problem if I use the MLM_LICENSE_FILE environment variable port@hostname (or port@IP) instead (which doesn't require the hostid). I have generally found the environment variable easier to work with on large deployments (can easily change through Group Policy in a MSWin AD), but most of my users seem more comfortable with the license files.
If anyone has insight on what server license manager setup causes the need for the hostid in the client file, I'd love to know.
댓글 수: 1
Scott Copus
2018년 7월 3일
편집: Scott Copus
2018년 7월 3일
*edited: sorry, text formatting is terrible on here.
Hi all,
After I installed MATLAB R2018a, I edited my <INSTALLPATH>\licenses\network.lic from its default of:
USE_SERVER
to either of these formats below and the license still gets properly checked out from my license server:
- removing my hostid since clients don't really need to know this anyway:
SERVER MYHOSTNAME 0 27005
USE_SERVER
- using a DNS alias and also leaving out the hostid completely still works too:
SERVER My_DNS_alias 27005
USE_SERVER
cheers, Scott
참고 항목
카테고리
Help Center 및 File Exchange에서 Administer Network Licenses에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!