This website uses cookies. By clicking OK, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
aparashar1
Revenera
Feb 24, 2021
11:17 AM
@neogeogis2 , i meant about the ' vendor support (ESRI) ' team actually. As if they provide any utility/client to generate the output in a customized module/format then you can take help of that.
'lmstat' has a pre-defined format of data display, which cannot be customized.
... View more
Feb 24, 2021
10:59 AM
@neogeogis2 , lmstat is a standalone Flexnet publisher based utility and its output can not be customized.
if you are looking for assistance while using a 3rd party software that internally uses Flexnet publisher to manage the licensing activist, then I would recommend consulting with particular product team first as they might have a more customized solution than 'lmstat'.
... View more
Feb 18, 2021
01:54 PM
This article is targeted for specific use cases, where we have the license server and client connectivity issues (not a delay, but failure). This best practice guide is to be followed to make sure that all the official/minimal checks and setup are in place.
1.) Ensure that the Server and Client can perform a basic 'ping' to each other.
2.) If possible, try including an entry in /etc/hosts file for both against each other - respectively.
3.) It is recommended to bind the SERVER and vendor daemon to a specific TCP port (not mandatory), as:
SERVER <host_name> <HOSTID> 27000
VENDOR demo PORT=56789
4.) On server & Client, add both of these ports under the allowed list for 'to ' and 'from' list for internal and external network communication. This should be done for OS firewall as well as any antivirus software if in place.
5.) Add the lmgrd, vendor daemon executable, and client application executable (it could be normal lmflex OR TS-based utilities such as appactutil, serveractutil OR lmstat, lmutil) into the exception list for Antivirus, if the option is available.
6.) Look into the Power settings and select the option for "sleep" as Never - so that non of the USB (if dongle in use), Hardware, Kernel or I/O operations are put under hold in case of inactivity for a long time - which is common on server systems.
7.) On some operating systems (Flavors of windows), there should be an option for "hardware Sleep" settings (Under Edit Plan Setting > Change Advanced Power Setting) - please select that as Never.
NOTE: A license server should never be put in a sleep mode, as even when there is no client activity on the server, internally there will be a heartbeat mechanism being followed in-between "lmgrd<->vendor daemon" & "client <->vendor daemon" - to ensure that server & Vd are up and still serving the licenses.
For systems that get under sleep for more than the default (automatic) heartbeat threshold for vendor daemon & lmgrd communication cycle delay i.e. 300 seconds, on revival license server may get shutdown/restart with an error and subsequent statement in debug log as:
HH:MM:SS (VD_name) Lost connection to lmgrd, heartbeat timeout expired, exiting.
HH:MM:SS (VD_name) Heartbeat timeout is 300 seconds. Elapsed time is XXXXXXX seconds.
HH:MM:SS (VD_name) EXITING DUE TO SIGNAL 28 Exit reason 5
It can be avoided by either making changes in Step-6 & 7. OR,
8.) For scenarios of latency:
Windows Only Solution: To use environment variable "FLEXLM_TIMEOUT":
Sets the timeout value a FlexEnabled application uses when attempting to connect to a license server. Values are in microseconds, within the range of 200,000 (0.2 seconds) through 20,000,000 (20 seconds). The default value is 3,000,000 microseconds (that is 3 seconds).
For a more Universal Approach:
Try using the client attribute 'LM_A_CONN_TIMEOUT'. LM_A_CONN_TIMEOUT attribute defines the maximum time (in seconds) the client would wait to receive a response after sending a single request to the license server. This attribute allows publishers to change the default timeout value if needed.
Note • The timeout should not be increased too much from its default value as this will affect client performance in bad network conditions, and in such scenarios, the publisher may wish to perform some experiments to determine a suitable timeout value. The trade-off is small values results in better client performance but large values result in a decreased probability of clients being timed out.
9.) To improve the further performance, kindly have a look at below KB articles as well:
https://community.flexera.com/t5/FlexNet-Publisher-Knowledge-Base/IPv4-and-IPv6-address-prioritization-for-licensing-communication/ta-p/130022
10.) If the above steps don't help, then please log a case with support@revenera.com.
... View more
Feb 15, 2021
04:14 PM
Starting FNP-11.17.2 release, the debug log statement in the options file now comes with the possibility of automatic rollover of debug log files if a pre-defined condition is met (size of debug log file).
The "AUTO_ROLLOVER" option with DEBUGLOG keyword enables the auto rollover of debug log file, which automatically performs the rollover functionality of debug log file when the debug log file size reaches the specified value.
Syntax: DEBUGLOG [+]debug_log_path [OBF_ADDMARK] [AUTO_ROLLOVER size]
Here the last entry about [AUTO_ROLLOVER] is the enhancement related to the rollover of debug log.
The AUTO_ROLLOVER option enables the auto rollover of debug log file, which automatically performs the rollover functionality of debug log file when the debug log file size crosses the specified value. The default value would be 512MB.
The automatic rollover will always be performed at midnight.
Here is the bare minimum step to perform the setup in motion:
1.) Create an option file as below to enable AUTO_ROLLOVER
DEBUGLOG +debug.log AUTO_ROLLOVER 5KB Note : Here we can specify KB/MB/GB for file size to rollover
2.) Start the License server closer to midnight, for testing purpose (or change the system date in Test Environment ONLY).
3.) In the debug log, a set of logs will confirm that AUTO_ROLLOVER settings have been picked up by the license server, on startup.
23:58:54 (panda) Debug log started (+debug.log). 23:58:54 (panda) OBF_ADDMARK is disabled 23:58:54 (panda) DEBUGLOG AUTO_ROLLOVER is enabled with rollover size of 5120 bytes 23:58:54 (lmgrd) panda using TCP-port 59848
4.) When approaching midnight, ensure that the existing debug log has crossed the 5KB size threshold, if not then perform a series of checkout-checkin cycles / Manual reread.
5.) Post the midnight reread, auto rollover should happen and debug.log contents should have moved out to the newly generated file [<vendor daemon name><hostname><date> T<time>.log].
6.) debog.log should have successful Rollover details.
0:14:49 (panda) Successful roll-over of debug log file debog.log. The debug log back-up is available in panda_BLR-LT-101128_02-17-2021_T00056.log
7.) panda_BLR-LT-101128_02-17-2021_T00056.log should have all the data of debog.log before rollover.
The similar code flow to automatic rollover of debug log will be performed based on its current size on every midnight server reread.
... View more
Feb 12, 2021
01:39 PM
For v11.17.0:
New vendor variable ls_diagnostics_enabled, enabled by default.
Message-based diagnostics is emitted only by POSIX license servers (Linux, Solaris, macOS, HP-UX and AIX).
Whilst diagnostics will be generated from messages sent by legacy clients, these clients will not send session information.
The Java client has limited diagnostics support - it will not send the SessionID or ProcessID
Message-based diagnostics has limited support from lmadmin, specifically, heartbeat messages cannot be identified as coming from the lmadmin.
From v11.18.0:
Diagnostics port listener is supported on Windows 10 from build 17093 and not supported on Windows 7 and Windows 10 earlier than build 17093.
Steps to Perform:
Build the default FNP toolkit for your native vendor daemon.
Start the license server with a crypted license file.
For demo, we will use ‘log2file’ executable to log the diagnostic messages for server-client communication.
Make sure that ‘log2file’ executable is built post toolkit build. If not then take a reference from v11.18.0 makefile and build the executable by running “nmake log2file.exe”
Start the diagnostic Deamon logging by running the command (in a separate command prompt), as:
“log2file.exe lmgrd_diag.csv”
Perform the checkout and checkin operation through few client calls (lmflex).
Perform the lmstat on active server.
Now, bring the server down. Post that, navigate to the created excel sheet names ‘lmgrd_diag.csv’. It should have entries against client communication, as:
This file logs the parallel client operation names under Component.
Be advised about other options as “log2db.exe” & “log2port.exe”. Kindly refer to documentation for more details about these executables.
Diagnostics Filtering
Filtering can occur pre- or post-message-based diagnostics is persisted. The former kind of filtering might typically occur in order to save disk space, whereas the latter would typically occur when searching for the source of capacity overload in the server.
An example of pre-persistence filtering is available in the log2db.c sample. The command line...
./log2db -i -d diag.db COMPONENT=^lc_check
... will only write records (aka diagnostic message rows) to the database that match the COMPONENT=^lc_check regular expression - that is, only rows corresponding to messages generated from lc_checkout or lc_checkin API calls.
Filtering can occur on any field or on any combination of fields.
API based message diagnostics customization:
A single row of diagnostics data corresponds to one message sent to the license server. However, many client API calls, such as lc_checkout, comprise several messages. In order to be able to trace all the messages from a particular lc_* call instance, FNP clients now have the concept of a session - each diagnostics row has a SessionID. By default, a session exists for the duration of any one lc_* call. However, it may be that producers want to define a session as encompassing multiple lc_* calls. For this purpose two new APIs are provided
lc_diagnostics_start(unsigned int value); // max 28-bits value
lc_diagnostics_end();
These optional APIs are intended to wrap a section of code in a lmflex client that a producer wishes to identify as a session. The value will be reported as Component= USER and Info=hex(value) in diagnostics. The SessionID used for all messaged wrapped by lc_diagnostics_start/end will be constant and based on the value.
Message-based diagnostics are in addition to and separate from the diagnostics already being written to the server log.
Example of Implementation:
Client Implementation:
User-defined Info and SessionID
lc_diagnostics_start(10); lc_checkout(lm_job, FEATURE, "1.0", 1, LM_CO_NOWAIT, &code, LM_DUP_NONE)); lc_checkin(lm_job, FEATURE, 0); lc_diagnostics_end();
... View more
Feb 12, 2021
12:29 PM
>> Big Sur the next major version of macOS is the first version to support Macs with ARM-based processors in addition to Intel.
FlexNet Publisher(FNP) product's response to this, is to deliver a Universal 2 kit for FNP(That has both Native ARM + Intel support) by Mid-2021.
Meanwhile, Big Sur Intel: We carried out a full cycle test of existing kits of FNP x64_mac10 (11.18.0). The testing was smooth on Big Sur Intel. So customers can use existing kits on Big Sur Intel until we deliver universal 2 kits.
Big Sur ARM(Rosetta 2 / Emulated): About using the existing kits(x64_mac10-11.18.0) in emulated/Rosetta 2 mode on Big Sur ARM. We believe FNP interacts with many low-level system APIs which don't go well with emulation.
We did some sanity/smoke tests in emulated/Rosetta mode and the outcome was that the tests passed successfully. We also have feedback from some of our customers, that their software using FNP Licensing ran smoothly in Rosetta 2 mode on Big Sur ARM. We understand that your eventual end customers are going to attempt running your software and hence FNP too in Rosetta 2 mode. This can be a stopgap solution for your temporary needs but we are unable to commit resources to perform full regression tests and support in emulated mode.
Our direction is towards native support for ARM and will be delivered via the Universal 2 kits.
... View more
Feb 08, 2021
11:37 AM
@russellquick , for a quick confirmation. Is v11.18 Flexnet licensing services installed and running while testing these commands?
A run for "lmver.exe -fnls" should confirm that.
... View more
Feb 05, 2021
01:56 AM
@liv_hoxmark , i can see that a support case ' 02367207' has been raised for the same concern. Let's debug this behavior with particular case.
... View more
Feb 04, 2021
08:32 AM
@jjardine , the shared screenshot seems to be a piece of your custom implementation.
Have you considered setting the VENDOR_LICENSE_FILE attribute (that points to license server location OR a local copy of license file), that may avoid setting the ServerName through UI (in results no ICMP restriction affecting the license search)?
You can either set it using utilities (i.e. lmutil lmpath) or an entry under registry "Computer\HKEY_CURRENT_USER\SOFTWARE\FLEXlm License Manager" for VENDOR_LICENSE_FILE with 'port@host' details.
... View more
Feb 04, 2021
08:29 AM
@WilMoe , Can I get a confirmation if by 'sleep' your use case basically included the situations when client is no more sync with license Server (i.e. not connected via web or unable to connect)?
If yes, then you could do that through the options file attribute "TIMEOUTALL/TIMEOUT". You may also want to look into the possibility of the usages of 'LM_A_TCP_TIMEOUT' from the client application end.
Let me know what sounds feasible to you and I can share further details or point you to the section of documentation that may help.
... View more
Feb 01, 2021
01:50 PM
@jjardine , thanks for the confirmation.
I am afraid in such a case, you would need to fix the Server IP and Port and add it as LICPATH under the client application. If the ICMP is disabled, then that would be recommended way.
... View more
Feb 01, 2021
11:26 AM
@jjardine , FNP toolkit has dependency on ICMP protocol only for license finder box in Windows platform.
Is license finder box a part of the your native solution and a mandatory to have one? If not, then you can disable the pop up by setting attribute LM_A_PROMPT_FOR_FILE to 0 : lc_set_attr(lc_job, LM_A_PROMPT_FOR_FILE, (LM_A_VAL_TYPE) 0);
If it is a mandatory part of your implementation and you can not avoid it, then i am afraid it must be allowed to process through.
Let me know if that helps.
... View more
Jan 31, 2021
12:11 PM
1 Kudo
@jbforster , BigSur support is included with R1 2021 release i.e. FNP-11.18.0, scheduled for release by Feb first week (2021).
No, FNP officially doesn't support the emulator based cross architectural environment. However, in case if you are facing any issues, I can take it to engineering - with no promise for a fix but a timeboxed evaluation.
This was a decision taken by concerned Product Management and engineering team.
In future, if there is a strong business need, it may get added - only post an agreement by PM. If you wish then we can always open an enhancement request against it post the release of FNP-11.18.0.
Hope this helps.
... View more
Jan 25, 2021
05:19 AM
@ageorge , thank you for sharing your view on it and I wish we had the same opinion about it, on the other hand it's always healthy that we can discuss two different sides of it.
It was an engineering and Product Management decision based on various inputs and factors taken into the consideration.
If needed, you can always open a new Enhancement case through official Support Portal and we will have this taken forward to concerned team for reconsideration.
... View more
Jan 25, 2021
03:48 AM
@ageorge , i believe the discussion at the time was about which openJDK to include and there are chances where Publishers might have opted for the Oracle Java (updated version).
So, for the ease of opting in between available Java flavors, there is no default Java/JDK shared with the installer anymore.
Hope you agree with that decision.
... View more
Latest posts by aparashar1
Subject | Views | Posted |
---|---|---|
34 | Feb 24, 2021 11:17 AM | |
43 | Feb 24, 2021 10:59 AM | |
60 | Feb 18, 2021 01:54 PM | |
41 | Feb 15, 2021 04:14 PM | |
60 | Feb 12, 2021 01:39 PM | |
50 | Feb 12, 2021 12:29 PM | |
109 | Feb 08, 2021 11:37 AM | |
82 | Feb 05, 2021 01:56 AM | |
98 | Feb 04, 2021 08:32 AM | |
197 | Feb 04, 2021 08:29 AM |
Activity Feed
- Posted Re: Generate License Usage Report (lmutil) on FlexNet Publisher Forum. Feb 24, 2021 11:17 AM
- Posted Re: Generate License Usage Report (lmutil) on FlexNet Publisher Forum. Feb 24, 2021 10:59 AM
- Posted Best Practice Guide for Client and Server Communication (FNP) on FlexNet Publisher Knowledge Base. Feb 18, 2021 01:54 PM
- Posted Debug log Automatic rollover starting FNP-11.17.2 explained (101) on FlexNet Publisher Knowledge Base. Feb 15, 2021 04:14 PM
- Posted License Server message based diagnostics - 101 on FlexNet Publisher Knowledge Base. Feb 12, 2021 01:39 PM
- Posted Big Sur and Emulator Support for FNP tolkits on FlexNet Publisher Knowledge Base. Feb 12, 2021 12:29 PM
- Posted Re: ERROR: API function failed (50030,71521,19810) on FlexNet Publisher Forum. Feb 08, 2021 11:37 AM
- Posted Re: License server machine is down or not responding. (-96,7:11001 "WinSock: Host not found (HOST_NOT_FOUND)") on FlexNet Publisher Forum. Feb 05, 2021 01:56 AM
- Posted Re: FNP 11.14.0.2 used with VPN (Zscaler Private Access) failed due to ICMP/Ping request on FlexNet Publisher Forum. Feb 04, 2021 08:32 AM
- Posted Re: When license server will free license again after lost contact to client? on FlexNet Publisher Forum. Feb 04, 2021 08:29 AM
- Posted Re: FNP 11.14.0.2 used with VPN (Zscaler Private Access) failed due to ICMP/Ping request on FlexNet Publisher Forum. Feb 01, 2021 01:50 PM
- Posted Re: FNP 11.14.0.2 used with VPN (Zscaler Private Access) failed due to ICMP/Ping request on FlexNet Publisher Forum. Feb 01, 2021 11:26 AM
- Got a Kudo for Re: Is BigSur Support on FNP's Roadmap?. Jan 31, 2021 12:23 PM
- Posted Re: Is BigSur Support on FNP's Roadmap? on FlexNet Publisher Forum. Jan 31, 2021 12:11 PM
- Posted Re: Why is a JRE no longer bundled with FNP installer? on FlexNet Publisher Forum. Jan 25, 2021 05:19 AM
- Got a Kudo for Re: Hiding user details in FNP. Jan 25, 2021 03:49 AM
- Posted Re: Why is a JRE no longer bundled with FNP installer? on FlexNet Publisher Forum. Jan 25, 2021 03:48 AM
- Posted Re: Hiding user details in FNP on FlexNet Publisher Forum. Jan 25, 2021 03:27 AM
- Posted GDPR: Obfuscation on details in Server log and Report Log on FlexNet Publisher Knowledge Base. Jan 25, 2021 03:26 AM
- Posted Re: License server on AWS on FlexNet Publisher Forum. Jan 22, 2021 01:10 PM
Contact Me
Online Status |
Offline
|
Date Last Visited |
Mar 01, 2021
06:23 AM
|