InTime

How to enable vendor toolchain license checks in InTime?

7707 views December 3, 2021 December 3, 2021 pohheng 0

Introduction:

When running InTime on a machine with ample compute resources, you would like to execute more builds in parallel ("Concurrent Runs") to be more efficient. However, strategies fail due to a limited number of vendor tool Floating license seats.

A new feature in InTime v3.3.0 automatically checks Floating license usage to see if a license is available before starting an InTime build. Note that strategies may still fail to check out licenses if other users are using the vendor tools at the same time.

There are a few requirements for this new feature:

Prerequisite #1:

Root or administrative rights to edit /etc/hosts (Linux), or C:\Windows\System32\Drivers\etc\hosts (Windows).

The following error will occur if the user machine's hostname is not resolvable.

Prerequisite #2:

In Linux, when running a 32-bit application on a 64-bit Operating System (OS), the error below may occur.

[user@host ~]$ ./lmutil
-bash: ./lmutil: /lib/ld-lsb.so.3: bad ELF interpreter: No such file or directory

To resolve this issue, ask the administrator to install the following library (example for a RedHat / CentOS distribution):

[root@host ~]# yum install redhat-lsb.i686lmutil

Prerequisite #3:

Execute the following command in a terminal console and verify if you can see the following output:

[user@host ~]$ ./lmutil -a -c 2102@192.168.2.250
......
......
......
Users of 'feature': (Total of 1 licenses issued; Total of 0 licenses in use)

where <feature> is the vendor tool's feature that you would like to run.

Enable the license check feature in InTime:

Once the prerequisites are satisfied, perform the following steps to enable this feature before starting InTime. This feature is not enabled by default.

In Linux, set the following environment variable before starting InTime:

[user@host ~]$ export PL_LICUTIL_ENABLE=1

In Windows, set the following environment variable before starting InTime:

C:\> set PL_LICUTIL_ENABLE=1

The license check interval is currently fixed at 120 seconds. This value will be configurable in a future release.

In the InTime GUI, set the "Strategy Start Interval" (SSI, in seconds) flow property to a multiple of 120. It is helpful to think of SSI as a watchdog timer.

Here are the possible scenarios:

  • SSI=240
    InTime performs a license check at time=120s, and starts the next strategy if a license is available.
    InTime starts the next strategy at time=240s, regardless of license availability.
  • SSI=120
    InTime starts the next strategy at time=120s, regardless of license availability.

 

Applies to:

  • Linux Operating System
  • Windows Operating System

Knowledge Base ID: 202112031 - Last Review: Dec 03 2021 - Revision: 1.0