Jan 11, 2019
10:08 PM
1 Kudo
Summary How do you return acquired license with Feature information and not just the last acquired license? Question We're using FNE 2018 R1 and wants to release/ return a few selected node-locked licenses. Currently, for node-locked licenses, we are able to release only the last Acquired license. Is it possible to return few acquired licenses? eg: Step 1: Acquire("Feat 1" , 1); Step 2: Acquire("Feat 1" , 3); Step 3: Release("Feat 1", 1); Step 4: Release("Feat 1", 2); Step 4: Release("Feat 1", 1); We are acquiring/releasing from local Trusted Storage. There is no error as such. FlcReturnLicense expects the license reference pointer which is returned by the FlcAcquireLicenses method. The problem is it is tedious to maintain the reference to the list of acquired features, hence we want to know how to return the acquired license with the "Feature information" and not just the last acquired license. Is this possible, and if so, how? Answer Perhaps one approach would be to make use of FlxPublisherLicenseCollectionCreate to get hold of the collection of acquired licenses and then return an appropriate entry assuming they find one that matches, but note that these are effectively the handles returned by FlxPublisherAcquireLicense(s) so they cannot return a partial count, although the presumption would be you could then change your acquisition calls to request one count at a time and then you'd be able to return one as needed. In this case you no longer need to keep track of license handles themselves.
... View more
Dec 20, 2018
10:13 PM
Summary How do you obtain a list of only the physical adapters on Windows? Question I am trying to obtain a list of only the physical adapters and also a separate list of the virtual adapters on Windows. I am first setting LM_A_PHYSICAL_ETHERNETID to (LM_A_VAL_TYPE)0 to obtain the list of physical and virtual adapters and then setting it to (LM_A_VAL_TYPE)1 to obtain only the physical adapters. I am then comparing the two lists and extracting the virtual adapters. After setting LM_A_PHYSICAL_ETHERNETID to (LM_A_VAL_TYPE)0 calling lc_hostid() returns all adapters as expected. However, if you then set it to LM_A_VAL_TYPE)1, calling lc_hostid() still returns all adapters. So how exactly can you obtain a list of only physical adapters? Answer Here's an example of using a WMI utility to determine which adapters are physical. That can also be done as scripted calls from something like Powershell. Run the wmic application c:> wmic wmic:root\cli> at the wmic prompt type "NIC" to display all details on all NICs on the system. To get a subset of NIC details, and to determine what is reported as physical, enabled, and what their driver name is, type the following at the wmic prompt: wmic:root\cli>path win32_networkadapter get description, physicaladapter, pnpdeviceid, macaddress, netenabled Description MACAddress NetEnabled PhysicalAdapter PNPDeviceID WAN Miniport (SSTP) FALSE ROOT\MS_SSTPMINIPORT\0000 WAN Miniport (IKEv2) FALSE ROOT\MS_AGILEVPNMINIPORT\0000 WAN Miniport (L2TP) FALSE ROOT\MS_L2TPMINIPORT\0000 WAN Miniport (PPTP) FALSE ROOT\MS_PPTPMINIPORT\0000 WAN Miniport (PPPOE) FALSE ROOT\MS_PPPOEMINIPORT\0000 WAN Miniport (IPv6) FALSE ROOT\MS_NDISWANIPV6\0000 WAN Miniport (Network Monitor) FALSE ROOT\MS_NDISWANBH\0000 Intel(R) 82579LM Gigabit Network Connection 90:B1:1C:A4:DE:42 TRUE TRUE PCI\VEN_8086&DEV_1502&SUBSYS_052C1028&REV_04\3&11583659&0&C8 WAN Miniport (IP) FALSE ROOT\MS_NDISWANIP\0000 Microsoft ISATAP Adapter FALSE ROOT\*ISATAP\0000 RAS Async Adapter 20:41:53:59:4E:FF FALSE SW\{EEAB7790-C514-11D1-B42B-00805FC1270E}\ASYNCMAC VirtualBox Host-Only Ethernet Adapter 08:00:27:00:04:CC TRUE TRUE ROOT\NET\0000 VirtualBox Bridged Networking Driver Miniport 90:B1:1C:A4:DE:42 FALSE ROOT\SUN_VBOXNETFLTMP\0000 Microsoft ISATAP Adapter FALSE ROOT\*ISATAP\0001 Bluetooth Device (Personal Area Network) FALSE Microsoft ISATAP Adapter FALSE ROOT\*ISATAP\0002 VMware Virtual Ethernet Adapter for VMnet1 00:50:56:C0:00:01 TRUE TRUE ROOT\VMWARE\0000 VMware Virtual Ethernet Adapter for VMnet8 00:50:56:C0:00:08 TRUE TRUE ROOT\VMWARE\0001 Microsoft ISATAP Adapter FALSE ROOT\*ISATAP\0003 Juniper Network Connect Virtual Adapter 00:FF:B0:E1:21:0D FALSE ROOT\DSNCADPT\0000 Microsoft ISATAP Adapter FALSE ROOT\*ISATAP\0004 Microsoft 6to4 Adapter FALSE ROOT\*6TO4MP\0000
... View more
Labels:
Dec 20, 2018
09:43 PM
Summary How long does FNPLicensingService normally stay running after the last client disconnects on Mac or Linux? Question Because the licensing service isn?t a ?service? on a Mac (we use install_fnp.sh to generate a setuid-root binary that gets invoked by Flex-enabled applications via our libraries), this brings up the question, how long does FNPLicensingService normally stay running after the last client disconnects? Answer On Mac, and indeed Linux, the 'service' only stays running as long as it takes to perform the privileged activity its parent process requested, probably of the order of tens of milliseconds.
... View more
Labels:
Dec 20, 2018
09:41 PM
Summary How do you determine the current version of the FlexNet Licensing Service (FNLS) running on a Windows system? Question How do you determine the current version of the FlexNet Licensing Service (FNLS) running on a Windows system? Answer Browse to C:\Program Files\Common Files\Macrovision Shared\FlexNet Publisher, then properties and you should find it in there.
... View more
Labels:
Dec 20, 2018
09:39 PM
Summary How do you allow for a more flexible license key that will maintain its validity when a hardware component is changed? Question For example, we are experimenting with generating vendor defined host IDs that look like the following: da8e-e510-6e14-f0aa-63b2-c824-9df2-5eb4. This vendor defined host IDs is composed of the hashes of various pieces of hardware attributes from the machine. We would like to avoid requiring an exact match in case the user changes a single hardware component. I was thinking I could use the lc_set_attr function along with the LM_A_REDIRECT_VERIFY parameter and provide a function that would do the comparison for me. But there isn't any documentation on what the LM_A_REDIRECT_VERIFY flag does, or if there is a function that is called when the comparison is performed. I'm aware of trusted storage and know that it is a possible solution to this problem. But our software is being installed in environments with strict network restrictions due to the extremely sensitive nature of their IP. We have no guarantee that these machines will be attached to a network, and if they are attached to a network we have very little guarantee that they will even be able to communicate on the internet. Unless trusted storage can work without internet access I'm not sure it's viable. Answer Trusted storage (TS) is our solution for this type of use case (via Binding). Internet access has never been a requirement for TS; you would just use manual or short-code activation (instead of programmatic activation) to correspond between the back office and client/server.
... View more
Labels:
Dec 20, 2018
09:36 PM
Summary Can you create a binary that contacts both server and client trusted storage? Question I am currently writing a DLL that is supposed to loop through the local and server side trusted storages to list the contents. It works fine to get the number of products in client trusted storage using code like this: if (!flxActCommonHandleOpen(&myServerHandle, FLX_ACT_APP, &myServerError)) { printf("Failed to open server handle"); return false; } if (!flxActCommonLicSpcCreate(myServerHandle, &myServerlicense)) { printf("Failed to create LicSpc\n"); return false; } if (!flxActCommonLicSpcPopulateFromTS(myServerlicense)) { printf("Failed to populate from TS\n"); return false; } noOfProducts = flxActCommonLicSpcGetNumberProducts(myServerlicense); printf("Found %i server products!\n", noOfProducts); However, if I replace the FLX_ACT_APP with FLX_ACT_SVR to get data from server trusted storage, the flxActCommonHandleOpen call fails with major error code 5005, minor error code 71040, and syserrno 23. What could be the cause of this problem? I would like to have one DLL that reads both from client side trusted storage and server side trusted storage. Are there any known problems related to doing it this way? Answer You can't do this as a single DLL, as they can only be prepped for one type. So you'd need 2 DLLs, one for the server and one for the client. Then the main utility could make calls to either one.
... View more
Labels:
Nov 30, 2018
08:46 PM
Summary Is web page URL change a potential vulnerability as reported by Nessus scan? Question One of our customers scanned their software products with Nessus plugin and it reported a potential vulnerability for the FNP 11.14.1.3 lmadmin web server that they deliver with their products. Basically, this plugin looks for any changes to a web page when the URL has new parameters added like admin, debug, or test with a value of true. When admin=true is submitted to the lmadmin web server, the resulting webpage is slightly different which the Nessus plugin assumes is a vulnerability. Is that the case? Answer There is no vulnerability here. The "admin" URL parameter is handled by lmadmin in such a way that the HTTP client (or browser) has used it to indicate the license administration tab ("System Information"/"User Configuration"/"Alert Configuration"/"Server Configuration"/"Vendor Daemon Configuration") which has to be displayed. (It is not used to indicate whether the login is in administrator mode or not.) When the HTTP client provides a value for the "admin" URL parameter, it gets used by lmadmin to form the request URL for the "Administration" link. If the HTTP client gives an invalid value like "true" for the "admin" URL parameter, the "Administration" link in the web-page returned by lmadmin will point to something like "http:serverName:port/true?vendor=vendorName&licenseTab=&selected=". However, since "/true" does not map to any valid administration tab, in this case, lmadmin will return an error page saying "The page you requested on Lmadmin cannot be found." upon clicking that link; but there will not be any exposure of unintended or additional functionality. Also, lmadmin's configuration (which is persisted using the "conf/server.xml" file) is in no way affected by that malformed HTTP request (that had a value of "true" for the "admin" URL parameter).
... View more
Labels:
Nov 15, 2018
06:25 PM
Summary Can you have more than 1 product with a preinstalled device license? Question Using FlexNet Operation (FNO) 2017 R1 along with FlexNet Embedded (FNE), when creating a device in FNO, you have the option to add preinstalled licenses. However, the functionality is falling a bit short of our needs, as there is only a button to add a product (no way to remove it). Also, there doesn?t appear to be any way to add more than one product. When you click Add, to add another product license, it just replaces the existing one. Is there a means of getting FNO to add more than 1 product to a pre-installed license on a device? We have a large number of optional features that we want to be able to license on an ad-hoc basis. Creating Products with every combination of possible features would be very onerous. Note that in some instances the software will be installed in locations with no internet access. We're aware that we can assign licenses via creating an entitlement of multiple products, and fulfilling a capability request (which we're intending to do for most customers with an internet connection). And we can also send the capability request as a file via other means if there is no internet connection, but the pre-installed license allows them to send just a license file to a customer without first generating a capability request, and is also the neatest way to handle dongle-based licenses (where we know the hardwareID in advance). In both of these cases we'd appreciate the facility to generate a license file consisting of features from more than 1 product through FNO. At the moment, the only way around this is to use the licensefileutil that comes with FNE for these type of custom licenses that are distributed in a file (or loads of custom products in FNO). Are there any options available? Answer No, the FNO database schema does not currently allow this. Logically, in the service layer code, it could work, but there's no way to get FNO to call the service layer with the right parameters currently. An alternate option would be to deliver "add-ons" in the buffer license if you want, by using a device model with both pre-installed and add-ons delivered in the buffer license. This does generate a completely new buffer license each time, not a series of incremental buffer licenses, but it's not clear that that wouldn't work for you. It doesn't require any cap request upload. You can't remove copies of mapped add-ons that are delivered in this format however (because it would be too easy to cheat by just not loading the new license file), so that might be a showstopper if you need that functionality.
... View more
Nov 15, 2018
06:25 PM
Summary Can you have more than 1 product with a preinstalled device license? Question Using FlexNet Operation (FNO) 2017 R1 along with FlexNet Embedded (FNE), when creating a device in FNO, you have the option to add preinstalled licenses. However, the functionality is falling a bit short of our needs, as there is only a button to add a product (no way to remove it). Also, there doesn?t appear to be any way to add more than one product. When you click Add, to add another product license, it just replaces the existing one. Is there a means of getting FNO to add more than 1 product to a pre-installed license on a device? We have a large number of optional features that we want to be able to license on an ad-hoc basis. Creating Products with every combination of possible features would be very onerous. Note that in some instances the software will be installed in locations with no internet access. We're aware that we can assign licenses via creating an entitlement of multiple products, and fulfilling a capability request (which we're intending to do for most customers with an internet connection). And we can also send the capability request as a file via other means if there is no internet connection, but the pre-installed license allows them to send just a license file to a customer without first generating a capability request, and is also the neatest way to handle dongle-based licenses (where we know the hardwareID in advance). In both of these cases we'd appreciate the facility to generate a license file consisting of features from more than 1 product through FNO. At the moment, the only way around this is to use the licensefileutil that comes with FNE for these type of custom licenses that are distributed in a file (or loads of custom products in FNO). Are there any options available? Answer No, the FNO database schema does not currently allow this. Logically, in the service layer code, it could work, but there's no way to get FNO to call the service layer with the right parameters currently. An alternate option would be to deliver "add-ons" in the buffer license if you want, by using a device model with both pre-installed and add-ons delivered in the buffer license. This does generate a completely new buffer license each time, not a series of incremental buffer licenses, but it's not clear that that wouldn't work for you. It doesn't require any cap request upload. You can't remove copies of mapped add-ons that are delivered in this format however (because it would be too easy to cheat by just not loading the new license file), so that might be a showstopper if you need that functionality.
... View more
Nov 15, 2018
05:19 PM
Summary How do you programmatically distinguish between Checkout and Borrow date time? Question In our product, we're creating a report at the client side to show the list of nodes that use floating licenses. In the table of the report, we have a Checkout column and a Borrow column. As far as we understand, someone can checkout and at a later time to borrow, so the two columns can be different. How can they get the two values using LM_USERS struct and lc_userlist method? It seems to only have one time value, which we assume is the checkout time? How can we get the borrow time? If we use lc_userlist like: LM_USERS *users = lc_userlist(job, (LM_CHAR_PTR)"XYZ"); And then iterate the users like: while (users) { if (users->name[0] == 0) { // Special record. numberOfAvailableLicenses = users->nlic; dateTime = UnixEpoch.AddSeconds(static_cast<double>(users->time)); users = users->next; continue; } // How do you find the borrow time here for each user (if they have borrowed a license?) DateTime checkoutDateTime = UnixEpoch.AddSeconds(static_cast<double>(users->time)); users = users->next; } What example code illustrates how to do this? Answer You can use users->linger (a structure member of LM_USERS) to distinguish between Checkout and Borrow. Using this structure member, you can find out the borrow time for each user.
LM_USERS *users = lc_userlist(job, feature_name);
if (users->next)
{
while (users->next)
{
users = users->next;
printf("Linger is : %d\n", users->linger);
}
} Additional Information To find out the checkout time:
chk_time = localtime(&users->time);
printf("checkout time for feature %s is %2d:%02d:%02d\n",
feature , chk_time->tm_hour, chk_time->tm_min,
chk_time->tm_sec);
To find out the borrow checkout time:
chk_time = localtime(&users->time);
printf("borrow time for feature %s is %2d:%02d:%02d\n",
feature , chk_time->tm_hour, chk_time->tm_min,
chk_time->tm_sec);
To find Expiration time for borrow feature:
int tNow = ((difftime( (users->linger + users->time), time(NULL) ))/3600);
printf("Feature %s Expire after %d hours\n",feature, tNow);
The below code combines the above to find out checkout time,borrow checkout time and expiration time.
while (users->next)
{
users = users->next;
chk_time = localtime(&users->time);
if(users->linger)
{
int tNow = ((difftime( (users->linger + users->time), time(NULL) ))/3600);
printf("borrow time for feature %s is %2d:%02d:%02d\n",
feature , chk_time->tm_hour, chk_time->tm_min,
chk_time->tm_sec);
printf("Feature %s Expire after %d hours\n",feature, tNow);
}
else
{
printf("checkout time for feature %s is %2d:%02d:%02d\n",
feature , chk_time->tm_hour, chk_time->tm_min,
chk_time->tm_sec);
}
}
... View more
Labels:
Nov 15, 2018
05:15 PM
1 Kudo
Summary How are VM cloning or snapshots mitigated to prevent license leakage? Question Assume you have customers who operate within networks that are completely disconnected from the Internet. You're using an embedded license server which is preloaded with certain number of licenses and installed on a machine on the network accessible to other machines. (The machine with the license server are not connected to the internet). Here's the scenario: The customer installs the embedded license server in a virtual machine (VM). Takes a snapshot. The other machines will connect to this VM and obtain licenses. After all the licenses are consumed, the customer resets the VM to the original snapshot. Does that mean they will get to consume more licenses? Even if the embedded license server is not allowed in a VM. The customer can install it on a different machines and direct the software to use this different address to get more unpaid licenses. How is this handled? Answer Snapshot and clone are synonymous in terms of how this works in that the only differentiator is a generation (or time) gap. Trusted Storage (TS) is tied to the hostid and if the VMUUID changes then TS becomes invalid. So it is dependent on what you tie the license to and if the UUID is liable to change after the image copy is re-instated. A few of the docs have some information on this. A feature is tied to a particular client using a HOSTID value. In the default toolkit examples, clients are assumed to have a hard-coded string identifier ?1234567890?, while in practice your code specifies the desired type of client identifier (such as an Ethernet address) to examine at run time in order to compare it with the identifier in the license rights. In addition it is possible to tie the hostid to the VMUUID: UUID of a supported virtual machine: HOSTID=VM_UUID=uuid, as in HOSTID=VM_UUID=AAAAAAAA-BBBB-CCCC-DDDDEEEEEEEEEEEE Essentially it behaves like FlexNet Publisher (FNP), if the UUID changes there will be a license break. If it doesn?t then there will be no break. For a VM that has GenerationID then this would not be an issue as the UUID will change if it is cloned (or copied/snapshot/whatever). Please note that as with FNP, there are some caveats, such as the issue that the UUID will not change for VMWare. We are continually working on making this more robust.
... View more
Nov 14, 2018
11:11 PM
Summary AMZN_EIP blank on Windows Server 2008 Question If you have a customer that wants to run their license server on an Amazon EC2 instance. According to the documentation, it should be possible to tie the license to the Elastic IP address. However, they may be unable to get it working, even after taking the following steps: 1. Asked the customer to provide their elastic IP using lmhostid. Customer reported the following: ===================== C:\Users\Administrator\Desktop\lmutil-x64_n6-11.12.1.0v6>lmutil.exe lmhostid -ptype AMZN -eip lmutil - Copyright (c) 1989-2014 Flexera Software LLC. All Rights Reserved. The FlexNet host ID of this machine is "AMZN_EIP=54.210.248.132" ===================== 2. They generated a .lic file using this host ID: ===================== SERVER this_host AMZN_EIP=54.210.248.132 VENDOR demo FEATURE IDASTAFW demo 6.6 permanent 2 [...] ===================== 3. The user installed the license on the server but was not able to use it. The relevant part of the log: ===================== 16:09:40 (demo) SLOG: Summary LOG statistics is enabled. 16:09:40 (demo) SLOG: FNPLS-INTERNAL-CKPT1 16:09:40 (demo) SLOG: FNPLS-INTERNAL-CKPT2 16:09:40 (demo) Server started on ******** for: IDASTAFW 16:09:40 (demo) IDASTAFM 16:09:40 (demo) Wrong hostid on SERVER line for license file: 16:09:40 (demo) licenses\demo\ida_54.210.248.132_48-B21D-70F4-DD.lic 16:09:40 (demo) SERVER line says AMZN_EIP=54.210.248.132, hostid is AMZN_EIP= 16:09:40 (demo) Invalid hostid on SERVER line 16:09:40 (demo) EXTERNAL FILTERS are OFF 16:09:40 (demo) SLOG: Statistics Log Frequency is 240 minute(s). 16:09:40 (demo) tcp_s is bad!!! Exiting 16:09:40 (demo) EXITING DUE TO SIGNAL 28 Exit reason 5 ===================== One more relevant fragment: 2014-08-12 14:23:22,852 root.LicenseEngine (demo) exited with status 51. (HOSTID does not match the license server environment (virtual|physical)) 2014-08-12 14:23:23,868 root.Vendor (demo) stopped. The non-matching IPv4 is the problem. This error told us the Amazon cloud detection code detected the user wasn't running on Amazon Cloud environment. This could happened when the IPv4 address mapped with the hostname isn't corrected.
Answer By default, the IPv4 address of the Amazon instance should match with the default private IP address assigned by Amazon (the hostname of the instance usually gives the hint of default private IP). The problem is specific to Windows 2008 Server trying to use an Amazon EIP. You should be able to disable (clear the checkbox) from the Local Area Connection Properties on the problem system. That will temporarily (until you check the box again to enable) the network interface. Please note, it doesn't remove the interfaces; its just a temporary disabling them. Once you check the box again, it re-enables the LAN, WAN, and VPN interfaces again. But they'd have to keep this disabled as long as they wanted to use the Amazon EIP address.
Additional Information Related Documents Related KB Articles
... View more
Labels:
Nov 14, 2018
11:09 PM
Summary
This is the list of FlexNet Publisher 2014 R2 (11.13.0) resolved issues, released on November 25, 2014.
Synopsis
This release of the FlexNet Publisher Licensing Toolkit resolves the following issues. (Numbers in parentheses indicate the Revenera issue reference number.)
Discussion
General Issues
WMIC unable to parse command line options of vendor Daemon
A change made in the communication protocol between lmgrd and the vendor daemon in 11.12.1.0 (to
harden the license server against DoS attacks) resulted in the Windows WMIC utility being prevented
from starting the license server - WMIC was not able to parse the command line passed from the lmgrd
to the vendor daemon. This issue has now been resolved for lmgrd-based license servers (FNP-10150),
but still exists for lmadmin-based license servers (FNP-10071).
lc_checkout returns valid error message
lc_checkout crashed when the VENDOR_LICENSE_FILE environment variable was set in an incorrect
format. From 11.13.0 lc_checkout throws an appropriate error message such as: (FNP-9166)
FlexNet Licensing error:-96,7. System Error: 2 "No such file or directory"
Buffered license stability improvements
lc_checkout or lc_freejob calls could crash when using buffered licenses and there was an extra space at
the end of the license file path. This is now resolved. (FNP-9448)
Missing or duplicate symbol warnings and lmbind deprecation
A number of duplicate symbol warnings related to linking against lmgr.lib or creating incremental link
objects have been removed.
The (deprecated) lmbind component has been factored out into a separate static library, lmbind-client.lib.
By default FlexNet Publisher kit makefiles will now build against the lmbind stub lbrary, lmbind-clientstub.
lib. Linking against the lmbind stub library resolves many duplicate symbol warnings. If a legacy
application requires lmbind, then LMBIND=1 should be specified on the makefile command line, which
will direct the linker to use lmbind-client.lib/a.
Incremental link objects can now be created by combining the contents of the liblmgr, libcrvs, libsb and
either libnoact or libFNPload static libraries. Previously, attempts to produce such an incremental link
object could result in either missing or duplicate symbol warnings.
Should duplicate symbol messages still occur when building aggregate object files from the release kit
library contents (which may occur if linking with the lmbind-client.a library), modules with names
matching the following patterns can be omitted:
*VM.o, gvm_*.o, GenericVMIF.o, VirtInterface.o. On Windows the filename extension will be .obj, not .o
(FNP-9475, FNP-9665)
Checkout delay due to timeout issue with Amazon EC2 detection
mechanism
Previously, a lmhostid or appactutil command or first call to lc_checkout on Linux or Windows
could result in a delay of the order of minutes before the utility or API returned. FlexNet Publisher
performs virtualization and cloud detection techniques during initialization. Amazon EC2 detection
occurs by querying a meta-data url published by Amazon. In some networks, the IP address of this
published URL may inappropriately be present, and an attempt to read from it would block. Now, FlexNet
Publisher's virtualization component times out appropriately in such cases. (FNP-9590)
Retrieving IP address from lc_hostid
lc_hostid (lm_job, HOSTID_INTERNET, buf) returns IPv6 address and lc_hostid (lm_job,
FNP_HOSTID_INTERNET_V4, buf) returns IPv4 address in
... View more
Nov 14, 2018
10:59 PM
Summary How do you setup a FlexNet Publisher license server to output a report log for FlexNet Manager for Engineering Applications? Question How do you setup a FlexNet Publisher license server to output a report log for FlexNet Manager for Engineering Applications? Answer Step 1: If you're already using an Options file, skip to Step 2. If you aren't already using an Options file, you'll need to modify the license file to include an Options file. Locate the options file anywhere; however, it is recommended that the options file be placed in the same directory as the license file. Add the path to the options file in the license file as the fourth field on the VENDOR line for the application?s vendor daemon. For example, this enables the sampled vendor daemon to look at the specified options file.
VENDOR sampled /etc/sampled \
[options=]/sample_app/sampled/licenses/sampled.opt
If the path is omitted, the vendor daemon automatically looks for a file according to the following criteria: ? The name of the file is vendor.opt, where vendor is the vendor daemon name. ? The directory that contains the license file used by the license server manager. Step 2: Modify the Options file to include a report log by adding the following...
REPORTLOG [+]report_log_path
REPORTLOG specifies the report log file for this vendor daemon. It is recommended preceding the report_log_path with a + character to append logging entries; otherwise, the file is overwritten each time the daemon is started. On Windows, path names that include spaces have to be enclosed in double quotes. If lmgrd is started as a service, the default location for the report log file is the c:\winnt\System32 folder unless a fully qualified path is specified. You'll need to either restart or reread the license server for the changes to take effect (a reread is also automatically done every night at midnight). Additional Information In order to read the contents of a report log file, you'll need to purchase the FlexNet Manager for Engineering Applications product.
... View more
Labels:
Nov 14, 2018
10:59 PM
Summary How do you setup a FlexNet Publisher license server to output a report log for FlexNet Manager for Engineering Applications? Question How do you setup a FlexNet Publisher license server to output a report log for FlexNet Manager for Engineering Applications? Answer Step 1: If you're already using an Options file, skip to Step 2. If you aren't already using an Options file, you'll need to modify the license file to include an Options file. Locate the options file anywhere; however, it is recommended that the options file be placed in the same directory as the license file. Add the path to the options file in the license file as the fourth field on the VENDOR line for the application?s vendor daemon. For example, this enables the sampled vendor daemon to look at the specified options file.
VENDOR sampled /etc/sampled \
[options=]/sample_app/sampled/licenses/sampled.opt
If the path is omitted, the vendor daemon automatically looks for a file according to the following criteria: ? The name of the file is vendor.opt, where vendor is the vendor daemon name. ? The directory that contains the license file used by the license server manager. Step 2: Modify the Options file to include a report log by adding the following...
REPORTLOG [+]report_log_path
REPORTLOG specifies the report log file for this vendor daemon. It is recommended preceding the report_log_path with a + character to append logging entries; otherwise, the file is overwritten each time the daemon is started. On Windows, path names that include spaces have to be enclosed in double quotes. If lmgrd is started as a service, the default location for the report log file is the c:\winnt\System32 folder unless a fully qualified path is specified. You'll need to either restart or reread the license server for the changes to take effect (a reread is also automatically done every night at midnight). Additional Information In order to read the contents of a report log file, you'll need to purchase the FlexNet Manager for Engineering Applications product.
... View more
Labels:
Latest posts by mtbruce
Subject | Views | Posted |
---|---|---|
1175 | Jan 11, 2019 10:08 PM | |
2266 | Dec 20, 2018 10:13 PM | |
1042 | Dec 20, 2018 09:43 PM | |
2523 | Dec 20, 2018 09:41 PM | |
741 | Dec 20, 2018 09:39 PM | |
813 | Dec 20, 2018 09:36 PM | |
876 | Nov 30, 2018 08:46 PM | |
963 | Nov 15, 2018 06:25 PM | |
820 | Nov 15, 2018 06:25 PM | |
868 | Nov 15, 2018 05:19 PM |
Activity Feed
- Posted Releasing series of Acquired licenses on FlexNet Embedded Knowledge Base. Jan 11, 2019 10:08 PM
- Posted How do you get a list of only physical adapters? on FlexNet Publisher Knowledge Base. Dec 20, 2018 10:13 PM
- Posted How long does FNPLicensingService normally stay running after the last client disconnects on Mac or Linux? on FlexNet Publisher Knowledge Base. Dec 20, 2018 09:43 PM
- Posted How do you determine the current version of the FlexNet Licensing Service (FNLS) running on a Windows system? on FlexNet Publisher Knowledge Base. Dec 20, 2018 09:41 PM
- Posted How do you allow for a more flexible license key that will maintain its validity when a hardware component is changed? on FlexNet Publisher Knowledge Base. Dec 20, 2018 09:39 PM
- Posted Can you create a binary that contacts both server and client trusted storage? on FlexNet Publisher Knowledge Base. Dec 20, 2018 09:36 PM
- Posted Nessus reports potential vulnerability for lmadmin web server on FlexNet Publisher Knowledge Base. Nov 30, 2018 08:46 PM
- Posted Can you have more than 1 product with a preinstalled device license? on FlexNet Embedded Knowledge Base. Nov 15, 2018 06:25 PM
- Posted Can you have more than 1 product with a preinstalled device license? on FlexNet Operations Knowledge Base. Nov 15, 2018 06:25 PM
- Posted How do you programmatically distinguish between Checkout and Borrow date time? on FlexNet Publisher Knowledge Base. Nov 15, 2018 05:19 PM
- Posted How are VM cloning or snapshots mitigated to prevent license leakage? on FlexNet Embedded Knowledge Base. Nov 15, 2018 05:15 PM
- Posted AMZN_EIP blank on Windows Server 2008 on FlexNet Publisher Knowledge Base. Nov 14, 2018 11:11 PM
- Posted FlexNet Publisher 2014 R2 (11.13.0) Resolved Issues on FlexNet Publisher Knowledge Base. Nov 14, 2018 11:09 PM
- Posted How do you setup a FlexNet Publisher license server to output a report log for FlexNet Manager for Engineering Applications? on FlexNet Publisher Knowledge Base. Nov 14, 2018 10:59 PM
- Posted How do you setup a FlexNet Publisher license server to output a report log for FlexNet Manager for Engineering Applications? on FlexNet Manager Knowledge Base. Nov 14, 2018 10:59 PM
- Posted Installing 32bit lmadmin to "Program Files (x86)" folder on 64bit Windows prevents starting it as a service on FlexNet Publisher Knowledge Base. Nov 14, 2018 10:43 PM
- Posted Is there an API that can get the time each user of a feature acquired the license? on FlexNet Publisher Knowledge Base. Nov 14, 2018 10:41 PM
- Posted Why does setting LM_A_VENDOR_ID_DECLARE after a checkout fail with a -5 error? on FlexNet Publisher Knowledge Base. Nov 14, 2018 10:27 PM
- Posted Why is FUSE required with FNP 11.14.1.1 install_fnp.sh on Linux? on FlexNet Publisher Knowledge Base. Nov 14, 2018 10:20 PM
- Posted Where is the logfile created if none is specified within lmtools? on FlexNet Publisher Knowledge Base. Nov 14, 2018 10:20 PM