Configuring HCL Z and I Emulator for Windows with HCL License Server
Table of Contents
- I. Introduction
- II. Pre-requisites
- III. Configuration
Steps
- Direct HCL Licensing
- HCL Licensing via License Manager
I. Introduction:
We can use the "HCL Licensing” or “License Manager” to acquire the license and connect to the host.
This document describes the procedure to configure licensing with HCL License Server (HCL Software License & Download Portal).
There are two ways to configure the ZIEWin client to HCL Licensing.- Direct HCL Licensing
The ZIEWin client directly communicates with the "HCL License Server" for licensing using this method.
- HCL Licensing via “License Manager”
The HCL License Manager (LM) manages the licensing mechanism in this method.
II. Pre-requisites:
Direct HCL Licensing:The ZIEWin communicates with the "HCL License Server" or "HCL Common Local License Server" (CLLS) for Licensing.
- Registration to HCL Software License & Download Portal ( Click here )
- User ID, HCL License Server device, Licensing Entitlements in HCL Software License & Download Portal ( Click here )
- ZIEWin package
- The “HCL Common Local License Server” (CLLS) package, only in case of ZIEWin configuration with the “HCL Common Local License Server” (CLLS) - ZIEWin supports the “HCL Common Local License Server” (CLLS) 2.0 onwards.
HCL Licensing via “License Manager":
The License Manager administers license acquisition and release for all its clients. ZIEWin, as a client, sends the license acquisition and release requests to the License Manager server, which forwards them to the "HCL License Server. The HCL License Server can be "HCL License Server" or "HCL Common Local License Server" (CLLS).
- Registration to HCL Software License & Download Portal ( Click here )
- User ID, HCL License Server device, Licensing Entitlements in HCL Software License & Download Portal ( Click here)
- ZIEWin package
- CLLS package, only in case of “License Manager” configuration with “HCL Common Local License Server” (CLLS)
- Public and Private SSH Key Pair
Download and install instructions for “HCL Common Local License Server” (CLLS),
Refer the following articles for more information:
- For the Windows Operating System, Click here.
- For the Linux Operating System, Click here.
III. Configuration Steps:
- A. Direct HCL Licensing
- B. HCL Licensing via License Manager
A. Configuration Steps for “Direct HCL Licensing"
Step-1 : Download the Product from HCL Software License & Download Portal
-
Copy and paste the following link in a browser address bar to access the HCL Software License & Download Portal login page.
https://hclsoftware.flexnetoperations.com/flexnet/operationsportal/logon.do
Enter the authorized login credentials and click Login, it redirects to Home Page.
- From the Downloads, click List Downloads. It redirects to
Downloads page.
-
Select the HCL Z & I Emulator (ZIE) from the list of products. It redirects to the Download Packages page. The below image displays a keyword entered in the search field, to find the “HCL ZIE Family products”.
-
Select the required product package from the list (HCL Z and I Emulator for Windows x.x).
- Click on File Name (hyperlink) to download the product files to a user
defined location.
Example: HCL ZIE For Windows v2.0
- Repeat the steps from step 1 to step 3 given in Download the Product from the HCL Software License & Download Portal Operations section.
- Select Uncategorized Products from the list of products. It redirects to the Download Packages Page.
-
Select the HCL Common Local License Server (CLLS) 2.0 from the list.
-
Select the appropriate and required file from the list and click on File Name (hyperlink) to download the files to a user-defined location.
Step-3: Configure the ZIEWin with the “HCL License" URL
The "HCL License Server" Cloud-based (HCL Software License & Download Portal) or "HCL Common Local License Server" (CLLS) settings either be configured by providing the required server details in the 'InstallShield Wizard' at the time of the ZIEWin installation itself or it can be added/updated in the 'Licensing Settings' section under Advanced tab within the Preferences. Licensing SettingsMode:
The License Mode field is populated with the “HCL Licensing”,” License Manager,” and “Disable Licensing ” options. By default, select the“HCL Licensing” mode.
- Select the “HCL Licensing”, the license is acquired by connecting to the “HCL License server,” and the user must configure the “HCL License server” URL in the “License URL” section.
- Select the “License Manager”, the license is acquired by connecting to the “License Manager,” and the user must configure the “License Manager” URL in the “License URL “section.
- Select the “Disable License”, the user can connect to the host without acquiring the license, and the status bar update with the below message. Also, the “License URL” and “Renewal Interval” fields are disabled.
[License]
UseLicenseManager = Y
DisableLicensing = N
[License]
UseLicenseManager = N
DisableLicensing = N
[License]
DisableLicensing = Y
License URL:
Once the installers are available, follow the below given steps and the article link to obtain the Licensing URL and configure the HCL Licensing.
- After completing the License server deployment, the user gets a custom
HCL License Server ID. Replace the ip/hostname of license server
host and the license server ID in the following licensing
URL.
<https://[license server host]/api/1.0/instances/[license server ID]>
- Use custom URL to replace the following link given in the upcoming
procedures.
<https://[license server host]/api/1.0/instances/[license server ID]>
- "Set Password”, click “Action” for the newly created device, select “Set Password” option from the drop down and setup a password. This password is used to upload the “public” key for License Manager auto SSH login.
- Throughout this document, the elements enclosed in the square brackets (
[ ] ) indicate the parameter name/example and it replaced with the
actual value in the command according to the context.
For Example:
[license server host] is to be replaced with License Server http address and [license server ID] is replaced with License Server’s ID.
For further queries related to HCL License Server setup, contact the HCL Customer support team using the following link : https://support.hcltechsw.com/csm
Renewal Interval:
Specifies the time in minutes when HCL Z and I Emulator for Windows session sends license parameters. The minimum value is 288 minutes (1/5th of a day), and the maximum value is 1440 minutes (1 day) while using "Direct HCL Licensing." When no value is configured, the default value of 864 minutes (3/5th of the day) is considered. The minimum value is 5 minutes, and the maximum value is 30 minutes in the case of using "License Manager", the default value is 5mins.
The "borrow interval" of the license request is five times of "renewal interval" in the case of "Direct HCL Licensing" without using "License Manager". In the case of "License Manager," the "borrow interval" is equal to the "renewal interval". The "borrow interval" specifies the time the client reserves the license.
- Configure the Licensing Settings during the GUI installation of
ZIEWin
During the installation in the “License Server Details” install panel, the users can configure the “Mode”, “License URL,” and “Renewal Interval” fields. Users may skip configuration during the installation and can configure using the “Preferences” utility after installation.
Figure 9 : Use License Manager
- Configure the Licensing Settings during the Silent installation of
ZIEWin
The “License Server Details” is configured during the silent installation by setting the Properties in the “custom.ini” file used for the silent installation. Here are the Property names for the respective settings.
By default, the “Disable Licensing” is disabled, and the “LICENSEMODE” property is set to “1” in the custom.ini file.LICENSEMODE property supported values are, Set LICENSEMODE =1 for the “HCL Licensing” Set LICENSEMODE =2 -> for the “License Manager” Set LICENSEMODE =3 -> for the “Disable Licensing” Use License Manager – USELICENSEMANAGER License URL – LMSERVERURL Renewal Interval– LMSERVERINTERVAL
- Configure the Licensing Settings using “Preferences”
utility
The “Preferences” utility can run from the “Windows Start Menu” under the product “HCL ZIE for Windows,” as shown below.
Figure 10: Preferences utility from the Windows Start Menu
In the “Preferences” utility, go to the “Advanced” tab to find the section “Licensing Settings”, the user configures the fields “License URL” and “Interval” here.Figure 11: Licensing Settings and ZIE Server Details section within the Advanced tab of Preferences utility in ZIEWin.
B. Configuration Steps for "HCL Licensing" via “License Manager”
Step-1 : Download the Product from the HCL Software License & Download Portal
-
Copy and paste the following link in a browser address bar to access the HCL Software License & Download Portal login page. https://hclsoftware.flexnetoperations.com/flexnet/operationsportal/logon.do
-
Enter the authorized login credentials and click Login, it redirects to Home Page .
Figure 12: Home Page
-
From the Downloads, click List Downloads. It redirects to Downloads page.
Figure 13: Products List
-
Select HCL Z & I Emulator (ZIE) from the list of products. It redirects to the Download Packages page.
The below image displays a keyword entered in the search field, to find the “HCL ZIE Family products”.
Figure 14 : Products List
-
Select the required Product package from the list (HCL Z and I Emulator for Windows x.x).
Figure 15 : Download Packages
-
Click on File Name (hyperlink) to download the product files to a user defined location.
Example: HCL ZIE For Windows v1.1.1
Figure 16 : HCL ZIE For Windows
Note:- The ZIEWin supports “HCL Common Local License Server”(CLLS) 2.0 onwards.
- Perform the below Step-2 only if it is required to configure ZIEWin with the HCL CLLS or to upload the product key.
Step-2 : Download the License Server from the HCL Software License & Download Portal
- Repeat the steps from step 1 to step 3 given in Download the Product from the HCL Software License & Download Portal Operations section.
-
Select Uncategorized Products from the list of products. It redirects to the Download Packages Page.
Figure 17 : Products List
-
Select the HCL Common Local License Server 2.0 from the list.
Figure 18 : Download Packages
-
Select the appropriate and required file from the list and click on File Name (hyperlink) to download the files to a user defined location .
Figure 19 : Downloads
Step-3 : Extract the Installers (for the Product and License Manager)
-
Open the downloaded package. For the product HCL Z and I Emulator for Windows (ZIEWin), the downloaded package ‘HCL_ZIE_for_Windows_x.x.x.x’ have the following folder structure.
Figure 20 : HCL ZIE for Windows product package
-
In the “ZIE License Manager” folder, find the ZIE License Manager installer files 'LicenseManager.ear' and 'LicenseManager.war' files.
Step-4 : Configure the License Manager and the Product for usage
4.a Setup the HCL Licensing
Once the download is complete follow the below procedures.
-
Extract the appropriate OS Specification package, which contains the required jars and .bat files.
-
The flexnetlsadmin.bat file which is used to connect to the HCL Licensing is present in : [Extracted CLLS package]\enterprise.
-
Once the installers are available, follow the below given steps and article URL to configure the HCL Licensing.
Figure 21 : Server deployment mode
-
After completing the License server deployment, the user gets a custom HCL License URL.
-
Use custom URL to replace the following link given in the upcoming procedures.
<https://[license server host]/api/1.0/instances/[license server ID]>
- "Set Password”, click “Action” for the newly created device, select “Set Password” option from the drop down and setup a password. This password is used to upload the “public” key for License Manager auto SSH login.
For Example:
[license server host] is to be replaced with License Server http address and [license server ID] is replaced with License Server’s ID.
For further queries related to HCL License Server setup, contact the HCL Customer support team using the following link : https://support.hcltechsw.com/csm
4.b Configure the Product (HCL ZIEWin) with the HCL License Server
To configure HCL ZIE for Windows with the License Server, follow the below steps.
-
Install any open source key tool (like Open SSL or Java key tool) in the machine for key-pair generation.
Steps to Configure the product with the HCL Licensing:
a. Configure the Key Tool
b. Generate the Key-pairsc. Upload the public key to HCL License Server
Below are the detailed procedure to Configure ZIEWin with HCL License Server using Open SSL:
a.Key Tool Configuration (for Open SSL):-
After installing Open SSL, copy the open SSL folder under C:\ drive.
-
Configure the Open SSL path in the system environment variables as shown:
Figure 22 : Configuring the Open SSL under system environment variables
b.Generation of Key-pairs (using Open SSL tool)The Public/Private key pair generated is used for secure communication. The key pair must be in "RSA 2048-bit" format. The private key format must be "pksc8", and that of the public key must be "DER" format.
-
Generate Private Key.
Open Command Prompt as an Administrator and enter the Open SSL path to change the path from the root directory (C:\OpenSSL\bin). Enter the below command, to generate the private key under C:\OpenSSL\bin,
openssl genrsa -out private_key.pem 2048
-
Get the Public Key.
After the private key is generated, enter the below command to generate the public key also in the same path.
openssl rsa -in private_key.pem -pubout -outform DER -out public_key.der
-
Convert Private Key to pkcs8 Format to use it.
The private_key.pem file must be converted into pcks8 format for strong encryption. To do this conversion, enter the below command,
openssl pkcs8 -topk8 -inform PEM -outform PEM -in private_key.pem -out private_key_pkcs8.pem -nocrypt
Figure 23 : Generated keys under C:\OpenSSL\bin
-
To connect to the HCL License Server, the Extracted CLLS package must be available in the local machine. Navigate to the HCL License Server folder in the local machine. (D:\ [Extracted CLLS package]\enterprise)
-
Open the Command Prompt and enter the below command. Set the password while creating the device in HCL Software License & Download Portal using the “Set Password” option or the default password for HCL CLLS is “HCLDefault1@”.
flexnetlsadmin.bat -server https://[license server host]/api/1.0/instances/[license server ID] -authorize admin [license sever admin password] -uploadPublicKey [local path to public key (in DER format)]
For example:
flexnetlsadmin.bat -server https:// hclsoftware.compliance.flexnetoperations.com/api/1.0/instances/FED321CBA -authorize admin xxxx -uploadPublicKey C:\temp\public_key.der
-
If the public key is successfully uploaded to the HCL License Server using the above command, the user receives an acknowledgment as “Client public key has been uploaded successfully” from the HCL License Server.
(For any queries related to the HCL License Server setup, contact the HCL Customer support team using the following link : https://support.hcltechsw.com/csm)
-
Enter the below HCL License Server command to check the feature description and the total no. of licenses configured for that feature.
C:\Users\Admin\Desktop\HCL License Server\Others\[Extracted CLLS package]\enterprise\flexnetlsadmin.bat -server <https://[license server host]/api/1.0/instances/[license server ID] / -authorize <username> <password> -licenses -verbose>
For example:
C:\Users\Admin\Desktop\HCL License Server\Others\[Extracted CLLS package]\enterprise\flexnetlsadmin.bat -server https:// hclsoftware.compliance.flexnetoperations.com/api/1.0/instances/FED321CBA -authorize admin xxxx -licenses -verbose
Figure 24 : HCL License Server command to check Feature description & count of configured licenses
4.c Configure the HCL License Server details in the License manager application (via any supported Application server)
- A supported Application server (like WAS or Tomcat) must be installed in the machine.
- Deploy the License Manager .ear or .war file in the Application
server. The below image shows the deployment of License Manager using
WebSphere Application sever’.
Figure 25 : Deploying License manager file (.ear/.war) in Application serverConfiguration:
- Click and Open the deployed License Manager application.
- Configure the context root for the License Manager under: Web Module
Properties à Context Root for Web Modules.
- Configure the HCL License Server parameter details (in the below panel) , under theWeb Module Properties Initialize Parameters for servlets.Figure 26 : Configuring context root for License Manager (in Web Module Properties)Figure 27 : Configuring HCL License Server details (in Web Module Properties)
- HCL License Server URL: Provide user custom HCL License Server URL that is generated in the step detailed in section 3.a.
https://[license server host]/api/1.0/instances/[license server ID]- HCL License Server Private Key Path: The path where the converted private key in pkcs8 format is stored.
- User Directory: Path for creating the User Directory, automatically after configuration. This directory contains all the License Manager related files and Database file.
After the configuration is completed, launch the HCL ZIE License Manager from a browser.
Example: http://10.115.50.68:9080/LicenseManager/Login.jsp
4.d Configure the License Manager with the product (HCL ZIE For Windows)
The Licensing settings can either be configured by providing the required server details in the ‘InstallShield Wizard' at the time of ZIEWin installation itself, or can be added/updated in the ‘Licensing Settings' section of the Advanced tab within the Preferences.
Licensing Settings
Mode:
The License Mode field is populated with the “HCL Licensing”,” License Manager,” and “Disable Licensing ” options. By default, select the“HCL Licensing” mode.
- Select the “HCL Licensing”, the license is acquired by connecting to the “HCL License server,” and the user must configure the “HCL License server” URL in the “License URL” section.
- Select the “License Manager”, the license is acquired by connecting to the “License Manager,” and the user must configure the “License Manager” URL in the “License URL “section.
- Select the “Disable License”, the user can connect to the host without acquiring the license, and the status bar update with the below message. Also, the “License URL” and “Renewal Interval” fields are disabled.
[License]
UseLicenseManager = Y
DisableLicensing = N
[License]
UseLicenseManager = N
DisableLicensing = N
[License]
DisableLicensing = Y
License URL: Specifies the URL of the HCL License” server (FNO/CLLS) in case of the HCL Licensing” and in case of using “License Manager” it specifies the URL of the “License Manager”.
Example: “http://<http:address>:<port>/<context-root>/LicenseLogger”
Here, the <http:address> is the hostname or IP address of the server on which license manager is installed, <port> is the port that is specified during the deployment of the application server and <context-root> is the location name that is configured by the Administrator.
Renewal Interval:
Specifies the time in minutes when HCL Z and I Emulator for Windows session sends license parameters. The minimum value is 288 minutes (1/5th of a day), and the maximum value is 1440 minutes (1 day) while using "Direct HCL Licensing." When no value is configured, the default value of 864 minutes (3/5th of the day) is considered. The minimum value is 5 minutes, and the maximum value is 30 minutes in the case of using "License Manager", the default value is 5mins.
The "borrow interval" of the license request is five times of "renewal interval" in the case of "Direct HCL Licensing" without using "License Manager". In the case of "License Manager," the "borrow interval" is equal to the "renewal interval". The "borrow interval" specifies the time the client reserves the license.
During the installation in the “License Server Details” install panel, users can configure the “License URL” and “Renewal Interval” fields. Users may skip configuration during the installation and can configure using “Preferences” utility after installation.
Figure 30 : Use License Manager
2. Configure the Licensing Settings during the Silent installation of ZIEWin
The “License Server Details” is configured during the silent installation by setting the Properties in the “custom.ini” file used for silent installation. Here are the Property names for the respective settings.
Set LICENSEMODE=2 for using the “License Manager.”
LICENSEMODE property supported values are,
Set LICENSEMODE =1 for the “HCL Licensing”
Set LICENSEMODE =2 -> for the “License Manager”
Set LICENSEMODE =3 -> for the “Disable Licensing”
Use License Manager – USELICENSEMANAGER
License URL – LMSERVERURL
Renewal Interval– LMSERVERINTERVAL
3. Configure the Licensing Settings using the “Preferences” utility
- The “Preferences” utility can be run from the “Windows Start Menu” under the
product “HCL ZIE for Windows” as show below.
- In the “Preferences” utility, go to the “Advanced” tab to find the section
“Licensing Settings”, user can configure the fields “License URL” and “Interval”
here.
- Launch the session manager by running “Start or Configure Sessions” from
“Windows Start Menu” under the product “HCL ZIE for Windows”. User “Start” an
existing session profile or create an emulator session using “New Session”
button.
- Launch the session and check the License count in the License Manager.
- Provide the below HCL License Server command (same as the command entered
previously to upload the public key to HCL License Server) and check the
acquired licenses as per the session launched from different
machines.
C:\Users\Admin\Desktop\HCL License Server\Others\[Extracted CLLS package] \enterprise\flexnetlsadmin.bat -server <https://[license server host] /api/1.0/instances/[license server ID] -authorize <username> <password> -licenses -verbose>
-
The HCL License Server window also show the Client device information from where the sessions are launched, and licenses are acquired.
Figure 36 : HCL License Server command to check acquired licenses.