Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Expand
titleHow to return the floating license if two licenses are used by the same user on the same PC?

When a user moves between two subnets (for example, between two WiFi networks) and the user's PC gets different IP addresses, the Floating License connection is lost. Then, when users re-connect to the Floating License Server they get a second Floating License. This results in two licenses being checked out, but only one is actually in use and the other license is inactive.

By default, the inactive license stays checked out for approximately 2 hours. You can return the inactive license manually, or you can configure the server to return the license after 15 min.

To force the server to return lingering licenses earlier, it is necessary to modify the server heart-beat option to release license in 15 minutes. You need to free inactive licenses by setting the time-out.

To set the time-out:

1. Open the FlexNet installation directory, find the cameo.opt file and open it for edit. If you cannot find the file, create a new file and save it as cameo.opt.

2. Add to this file the following line:

TIMEOUTALL 900

3. Place the cameo.opt file in the same directory with the cameo.exe file. For example, C:\Program Files (x86)\FlexNet Publisher License Server Manager\licenses\cameo.

4. In the VENDOR line of the license file specify the relative path to the cameo.opt file so that the FlexNet server could find it.

For example,
VENDOR cameo licenses/cameo/cameo licenses/cameo/cameo.opt PORT=1101

5. Restart the FlexNet server.

6. Open the cameo.log file to check that the cameo.opt file is added in the proper directory.

If the path to the file is like in the example of the 3rd step, you should see the corresponding text:
14:44:35 (cameo) Using options file: "licenses/cameo/cameo.opt"
14:44:35 (cameo) Server started on panda for: MagicDrawEnterprise
14:44:35 (cameo) EXTERNAL FILTERS are OFF
14:44:35 (cameo) ALL FEATURES: INACTIVITY TIMEOUT set to 900 seconds


Expand
titleHow to release a hanging license to the pool?

There are several methods how to release license:

1. There is a way to configure the license manager to automatically reclaim inactive licenses by creating the options file with specified TIMEOUT feature. Default TIMEOUT feature has a minimum license release time of 900 seconds, which means your license will not be checked back into the pool before 15 minutes of inactivity has elapsed. License Administration Guide with the instructions how to create an options file is available at https://docs.nomagic.com/display/NMDOC/FlexNet+license+server+installation+and+licensing?preview=/62891142/62891197/fnp_LicAdmin_11_17_0.pdf

2. Restart the license server itself. First stop the server from the Administration section of the license server management interface. Follow the link http://:8080 to connect to licenses server interface. Please note that stopping server shut downs and all vendor daemons. Active users will be notified and reconnect to license server would be needed. Start license server manually. On Windows platforms, open the installation directory in Windows Explorer and then double-click the lmadmin.exe file. Or run the lmadmin command with your desired command-line arguments on Unix platforms.

3. In order to release a hung license to the pool of free licenses please use lmremove command-line argument. Note that lmadmin's default setting disables the operation of lmremove, to enable it start lmadmin with the - allowLicenseReclaim argument. License Administration Guide with the instructions how to combine command line arguments is available at https://docs.nomagic.com/display/NMDOC/FlexNet+license+server+installation+and+licensing?preview=/62891142/62891197/fnp_LicAdmin_11_17_0.pdf

...