Is the hardware address required for a flexlm client license.
5 views (last 30 days)
Show older comments
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 Comments
Accepted Answer
Ori
on 29 Dec 2015
Edited: Ori
on 29 Dec 2015
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
More Answers (2)
Ori
on 29 Dec 2015
Edited: Ori
on 29 Dec 2015
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 Comments
Jay Akers
on 26 Aug 2017
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 Comment
Scott Copus
on 3 Jul 2018
Edited: Scott Copus
on 3 Jul 2018
*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
See Also
Categories
Find more on Manage Products in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!