Is the hardware address required for a flexlm client license.
5 次查看(过去 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!