Setting up licensing
Before you can start using HCL DevOps Test Embedded (Test Embedded), you must configure licensing. You can use either a cloud license server or a local license server, depending on your environment.
Before you begin
For a cloud license server
- Purchased the licenses.
- Configured the URL of the licensing server with the appropriate
entitlements. The URL of the HCL Cloud License Server is in this form:
https://my.hcl-software.com - Obtained the Pool ID of the HCL Cloud License Server.
For a local license server
Ensure you must have completed the following tasks, if you want to set up a local license server:
- Purchased the licenses.
- Installed and configured the Local License Server with the appropriate entitlements. See Managing HCL Local License Server.
About this task
You must set up either a cloud license server or a local license server by configuring environment variables based on the operating system.
Setting up a Cloud License Server
Before you start using the product, you must configure the following environment variable on the computer on which you have installed Test Embedded
You can add the licensing parameters as environment variables described in the following table:
|
Environment variable |
Description |
|---|---|
|
HCL_DTE_ LICENSING_URL |
URL of the licensing server. You get this URL when you activate
your deployment in the My HCLSoftware (MHS)
portal. For example,
|
|
HCL_DTE_LICENSING_ID |
Your Pool ID or deployment ID. |
Setting up a Local License Server
Before you start using the product, you must set the following environment variable as described in the following table:
|
Environment variable |
Description |
|---|---|
|
HCL_DTE_LICENSING_URL |
The value specifies the URL of the local license server. The URL must be set up to point to your local server. |
|
HCL_DTE_LICENSING_ID |
You can get the Pool ID or deployment ID while setting up the local server. |
Optional configurations
License lease configuration
The following optional environment variables can be used to configure license lease behavior, including how often licenses are renewed, how many times operations are retried, and the delay between retry attempts.|
Environment variable |
Description |
|---|---|
|
HCL_DTE_LICENSING_BORROW_INTERVAL |
This environment variable defines the interval, in seconds, at which the client borrows and renews licenses from the server, with an integer type, a default value of 600 seconds (10 minutes). The value below 180 seconds (3 minutes) minimum is clamped to default borrow interval. |
|
HCL_DTE_LICENSING_MAX_RETRY |
This environment variable defines the maximum number of retry attempts for license operations, with an integer type, a default and minimum value of 5, and any value below this being clamped to the minimum. |
| HCL_DTE_LICENSING_RETRY_DELAY | This environment variable defines the delay, in milliseconds, between retry attempts, with an integer type, a default and minimum value of 1000 ms (1 second), and any value below this being clamped to the minimum. |