Interfacing the License4J License Manager - KB4001n - OpenLM Software License Management
USA +1 866 806 2068 | JAPAN +81 3 45208991 担当:萩原 info@openlm.com

Interfacing the License4J License Manager – KB4001n

OpenLM supports license monitoring of a wide, and ever growing variety of license managers.

This application note elaborates the steps required to configure OpenLM to interface the License4J License Manager, and obtain reliable license reports and usage statistics. This capability is available for License4J version 4.3.4 onward.

Required installations

Monitoring of the License4J license server requires the installation of:

  • An add-on for OpenLM needs to be located on the License4J license server machine. The Add-on will query the License4J license server locally.
  • The OpenLM Broker also needs to be installed on the License4J license server machine. It  will propagate the query results to the OpenLM Server.
  • The OpenLM Server needs to be installed on any Windows machine on the network (including the License4J license server machine), as elaborated below. It will parse and present the license server query results on the EasyAdmin web application.

 

4

Configuration of the OpenLM Server

In order to configure OpenLM to work with the License4J License Manager, follow this procedure:

1. Download and install the OpenLM Server.

2. Open the OpenLM Server configuration tool.

3. Select the License Servers tab, and click Add.

4. From the Type drop-down menu, select “OpenLM Generic“.

5. Type in a descriptive text in the Description text box (e.g.: “my License4J license server”).

6. Set the Time Zone to where the License Server physically resides (e.g.: Pacific).

7. Type in the license server’s hostname or IP in the Hostname text box (e.g. license4j_server)

Note that the exact same name will need to be used in the OpenLM Broker configuration as well (see below).

8. Type in the port number provided by License4J in the port text box(e.g. 16090).

Note that the same number will need to be used in the OpenLM Broker configuration as well (see below).

9. “Is Triad Configuration”: OpenLM supports multiple server redundancy configurations for several types of license servers (e.g.: FlexLM, DSLS, IBM LUM). At the time of writing this article, OpenLM does not yet support multiple server redundancy for License4J. Keep this box unchecked.

10. Clear the “OpenLM Server remotely queries license manager” check box, asserting that Usage information is obtained by the OpenLM Broker installation on the License manager machine.

11. Click Apply, and the consecutive “Restart now” button.

1

Configuration of the OpenLM Broker

1. Download and install the latest OpenLM Broker version. Follow the installation and configuration instructions on the OpenLM Broker Application Note:

OpenLM Broker installation Guide: Quick Reference – AN4004a

2. Type in the OpenLM Server hostname (e.g. my_openLM_server)

3. Set the OpenLM Broker – OpenLM Server communication port number. Its default is 7016. Make sure the OpenLM server Port is open for inbound communication.

2

4. Set the License Servers characteristics exactly as in the OpenLM Server Configuration tool (listed above):

  • Highlight the License Servers node
  • Click ‘Add’ -> “License Server”.
  • Type in the License server’s hostname (e.g. license4j_server), and click Apply.

5. Add a Port to the the newly named License server:

  • Click on the license4j_server node
  • Click ‘Add’ → ‘Port’, and click OK.
  • Type in the same port number as configured on the OpenLM Server configuration tool (e.g. 16090)
  • In the “License Manager Type” drop box, select OpenLM_Generic.
  • Click Apply and then OK.

6. Download the add-on for License4J onto the License4J license server machine, and unzip it (e.g. to the C:\tmp folder).

7. Open the Commands section and select data_inquiry node. Type in the full path to the License4J data inquiry command:

java -jar “<Fullpath>\FloatingLicenseServerQueryOpenLM.jar” <ServerNameOrIP>:<PortNumber>

In this example, the command is:

java -jar “C:\tmp\FloatingLicenseServerQueryOpenLM\FloatingLicenseServerQueryOpenLM.jar” license4j_server:16090

8. Click the ‘Execute’ button to check the operation of the Data Inquiry command.

9. Click the Apply button.

10. Repeat stages 7 thru 9 for the ‘Status’ command.

11. Expand the Vendors ‘+’ sign and type ‘License4J’ in the Vendor text box.

12. Click ‘Apply’. If prompted by the “Vendor details changed, do you want to update the commands with the new data” – click ‘No’.

13. Click the “Restart Broker” button.

2

That’s it !

Your OpenLM system is configured to present License4J license usage information. If you require any further assistance on this subject – please contact support@OpenLM.com, and our team will be glad to assist.

in Interfacing License Managers

Related Articles