4866

How to view licenses and feature details in the Flexnet Licensing system

 

This Help Article provides instructions on how to view information about available license features of Harris Geospatial products. The following sections are provided:

 

A. View Licenses and Feature Details Using the Harris License Administrator

B. View License Server Licenses and Feature Details from a Command Line 

 

 

A. View Licenses and Feature Details Using the Harris License Administrator

 

This section has the following subsections:

1. Open the Harris License Administrator tool

2. View license features and details from the Harris License Administrator

This section can be used to check license features both while using local licenses or server licenses.

 

1. Open the Harris License Administrator tool: 


Windows: From the Start menu, select Tools > Harris License Administrator under the shortcut group for your product installation. Administrator privileges are required. 

Linux: From a terminal window, launch the harrislicense command from the INSTALL_DIR/idlxx/bin directory for IDL installations, or from the INSTALL_DIR/envixx/idlxx/bin directory for ENVI installations. Sudo or root permissions are required.

Mac: From a Finder window, double-click the LicenseAdminstrator.app icon located under the INSTALL_DIR/idlxx/bin directory for IDL installations, or the INSTALL_DIR/envixx/idlxx/bin directory for ENVI installations. Administrator privileges are required.

 

Note: The Harris License Administrator graphical user interface (GUI) tool is currently available through an IDL 8.6 or ENVI 5.4 (or later) product installation. At this time, the Harris License Administrator tool is not provided with the separately downloaded and installed Harris FlexNet License Server product. The License Server product can be installed on the same machine as ENVI or IDL. 
 
 
 
            ​​ 2. View license features and details from the Harris License Administrator

 

After opening the Harris License Administrator tool, click View Licenses in the Harris License Administrator tool to view license details and features. License names, activation codes, and maintenance IDs available will be listed in a table. To refresh the data in the table, click the refresh icon.

To view feature details for the licenses, select one or more table rows and enable the Show Feature Details check box. Select all table rows to show all licenses.

To filter the details further to show only in-use features, enable the Show In-Use only check box.

 

Note:   If you are using a license server (even when running on the license server system itself), you must first configure the tool to connect to the license server.  For instructions to connect to the license server, see the following help article: https://www.l3harrisgeospatial.com/Support/Self-Help-Tools/Help-Articles/Help-Articles-Detail/ArtMID/10220/ArticleID/15117/How-to-Connect-a-Client-Machine-to-a-License-Server
Note: Licenses available from a license server are identified by a star in the first column
 

In the feature details Expiration column:

  • The expiration date is listed for licenses that have a termination date.

  • Permanent indicates the license does not have a termination date.

You can copy the details of all features to the clipboard or save them to a .json file using the Save to File button.

To view the license activity log for the computer, click View Log.



B. View License Server Licenses and Feature Details from a Command Line

 

This section has the following subsections:

1. Locally from the license server machine

2. From a client machine

This section is only valid for machines which are connected to a license server. For local license please use the instructions of section A.

 
1. Locally from the license server machine

 

Note: The *flexnetlsadmin* command line utility is only available on systems that have installed the separately downloaded Harris FlexNet License Server Service product
 
 

a. WINDOWS

To view details on licensed features, open a command window on the license server machine and change directories to INSTALL_DIR\flexnetls-x64_windows-xxxx.xx.x\enterprise. For example:

cd C:\Program Files\Harris\flexnetls-x64_windows-2016.03.0\enterprise

Then from a command line, use the following commands:

  • Confirm the service is running and listening on the port:

flexnetlsadmin.bat ‑server http://localhost:7070 ‑status

  • Display a summary of license features/capabilities enabled on the license server:

flexnetlsadmin.bat ‑server http://localhost:7070 ‑features

  • Display a listing of license features/capabilities enabled on the license server:

flexnetlsadmin.bat ‑server http://localhost:7070 ‑licenses

  • Display a verbose listing of license features and capabilities enabled on the license server:

flexnetlsadmin.bat -server http://localhost:7070 ‑licenses ‑verbose

 

b. LINUX

To view details on licensed features from the command line, open a terminal window on the license server machine and then change directories to INSTALL_DIR/flexnetls-x64_linux-xxxx.xx.x/enterprise. For example:

cd /usr/local/harris/flexnetls_2016.03.0/enterprise

Then from the command line, use the following commands:

  • Confirm the service is running and listening on the port:

./flexnetlsadmin.sh ‑server http://localhost:7070 ‑status

  • Display a summary of license features/capabilities enabled on the license server:

./flexnetlsadmin.sh -server http://localhost:7070 ‑features

  • Display a listing of license features/capabilities enabled on the license server:

./flexnetlsadmin.sh ‑server http://localhost:7070 ‑licenses

  • Display a verbose listing of license features and capabilities enabled on the license server:

./flexnetlsadmin.sh ‑server http://localhost:7070 ‑licenses ‑verbose

 

2. From a client machine
 

It is also possible to view license feature details of a remote license server machine, from the command line of a client machine that does not also have the separately installed Harris FlexNet License Server Service (no access to the flexnetlsadmin command line utility), as follows.

The client machine must be connected to the license server first:

https://www.l3harrisgeospatial.com/Support/Self-Help-Tools/Help-Articles/Help-Articles-Detail/ArtMID/10220/ArticleID/15117/How-to-Connect-a-Client-Machine-to-a-License-Server

 

a. WINDOWS


From a Windows Power Shell, issue 2 commands like the following:

$features = (New-Object System.Net.WebClient).DownloadString( "http://mylicenseserver:7070/api/1.0/features" )

echo $features

With mylicenseserver the hostname of the server (or its IP address)


b. LINUX


From a Linux command prompt, issue a "curl" command like the following:

curl -X GET --url http://mylicensserver:7070/api/1.0/features

With mylicenseserver the hostname of the server (or its IP address)

 

 

Additional commands to manage license features from a license server are available at the following link

http://harrisgeospatial.com/Support/SelfHelpTools/HelpArticles/HelpArticles-Detail/TabId/2718/ArtMID/10220/ArticleID/23678/How-to-investigate-license-server-usage-using-license-server-Endpoints.aspx

 

 

 

----------------------------------------

Reviewed by JU (9 Jan 2016)

Updated by BC on 6/23/2020

reviewed by MM on 7/17/2020

Please login or register to post comments.