Issuing a License that Uses a FLEXid: Issuing a License on a License Server

These instructions describe how to create a license for a license server that uses a FLEXID. The license is for use by the example vendor daemon, demo. The example FlexEnabled application lmflex is used to check out the license.

Note:The following procedure uses Windows-based command syntax. For UNIX platforms, apply the appropriate syntax.

To issue and use a license that uses a FlexNet ID dongle on a license server

1. Obtain the dongle identity as described in Obtaining the Dongle Identity (FLEXID).
2. Create a license file that contains a license that uses the FLEXID:
a. Within your FlexNet Publisher Licensing Toolkit installation directory, open the example license file <platform_dir>\counted.lic in a text editor.
b. Add the Server line with HOSTID set to the FLEXID, as in the example:

Server this_host FLEXID=9-6b3366b2

c. Save the file as counted_FLEXID.lic.
d. Sign the license file using lmcrypt. Type the following at a command prompt:

lmcrypt counted_FLEXID.lic

3. Move the license file to <platform_dir>\lmadmin\demo.
4. For purposes of this test, copy the vendor daemon demo.exe and its associated library demo_libFNP.dll from the <platform_dir> directory to the <platform_dir>\lmadmin\demo directory.

Note:On UNIX platforms, copy the vendor daemon demo and its associated library demo_libFNP.so from the <platform_dir> directory to the <platform_dir>/lmadmin/demo directory. On AIX, copy demo and demo_server_libFNP_notr.so.

5. Start the license server:
a. Import the license file by entering the following at a command prompt from <platform_dir>\lmadmin:

lmadmin -import demo\counted_FLEXID.lic -force

b. Start the license server:

lmadmin -adminOnly no -allowRemoteStopServer yes

6. Return to the <platform_dir>, and run lmflex.
7. Type f1 and press Enter.

lmflex reports that the license has been checked out.