- Revenera Community
- :
- FlexNet Publisher
- :
- FlexNet Publisher Forum
- :
- How to monitor license server (and vendor daemon) activity remotely with lmutil
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
How to monitor license server (and vendor daemon) activity remotely with lmutil
Hi,
We have a FlexNet Publisher setup, host 3 licenses. The licenses are configured in the following way:
License #1:
license manager/server port: 27000
vendor daemon port: 27001
License #2:
license manager/server port: 27000
vendor daemon port: 27002
License #3:
license manager/server port: 27000
vendor daemon port: 27003
This seems to work. The licensed applications are able to talk to the license server on the dedicated ports.
However I am not able to come up with the proper setup to be able to remote-monitor the ports with lmutils.
This is working:
Lmutil.exe lmstat -c 27000@myserver.mydomain.com
lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Thu 6/16/2022 16:45
[Detecting lmgrd processes...]
License server status: 27000@myserver
License file(s) on myserver: licenses\app1\license.lic:licenses\app2\license.lic:licenses\app3\License.dat:
myserver: license server UP (MASTER) v11.16.4
Vendor daemon status (on myserver):
app1: UP v11.14.0
app2: UP v11.16.5
app3: UP v11.15.0
So I can see that the license manager (on port 27000) is running, and all 3 licenses are available.
But I would like to scan the individual ports (27001 - 27003) as well.
This is not working:
Lmutil.exe lmstat -a -c 27001@myserver.mydomain.com
lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Thu 6/16/2022 16:49
[Detecting lmgrd processes...]
Error getting status: Invalid returned data from license server system. (-12,16)
What is the correct syntax to use to get a positive reply on port 27001?
Is my port setup correct? 27000 as 'server/manager' port for all 3 licenses, and individual ports for the vendor daemons?
Thanks in advance,
Tamas
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi ,The reason why "Lmutil.exe lmstat -a -c 27001@myserver.mydomain.com"
the above command is not working because as per the syntax you need to pass the port number and hostname of the license server and not the vendor daemon .
You can use "lmstat -a vd vendorname "
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
Thanks for the reply.
I cannot figure it out...
Lmutil.exe lmstat -a vd app1
lmutil - Copyright (c) 1989-2017 Flexera Software LLC. All Rights Reserved.
Flexible License Manager status on Fri 6/17/2022 10:59
[Detecting lmgrd processes...]
Error getting status: Cannot find license file. (-1,359:2 "No such file or directory")
I guess I need to tell which server to query for that particular vendor daemon, but how?
Tried -s <server>, doesn't work.
Regards,
Tamas
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi @tcsabina ,
You would have to pass the license server details as well like below
lmstat -a vd vendorname -c licensefilename or location
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Hi,
Seems also not to work as expected...
'lmutil lmstat -a vd vendor -c <location>' gives the same results as 'lmutil lmstat -a -c <location>'
It lists all the 'Feature usage info' for all the license available. Instead of listing license availability for certain vendordaemon.
Again, I would like to monitor licenses remotely. Not query the features that are available with all the licenses, just check if a certain license can use checked out or not.
Thanks anyway for the reply!