Skip to main content

Cloud Licensing Guide

LMSC environment variables reference

In this section:

Variable

Description

IAR_LMS_BEARER_TOKEN=token

Mandatory when authenticating with a capacity token. Specifies the capacity token used to authenticate against the LMSC service.

Warning

Do not use this variable when authenticating with a Named User.

IAR_LMS_LOG_FILE=path/liblmsc-logs.txt

Enables logging, where path is the path to the client library logs.

IAR_LMS_LOG_LEVEL=none|error|warn|info|debug

Specifies the level of logging for LMSC. Default is error.

IAR_LMS_DAEMON_LOG_FILE=path/daemon-logs.txt

Enables logging for the LMSC Daemon, where path is the path to the daemon log files.

IAR_LMS_DAEMON_LOG_LEVEL=none|error|warn|info|debug

Specifies the level of logging for LMSC Daemon. Default is error.

IAR_LMS_DAEMON_PATH=path

Specifies the path to the LMSC Daemon if it is not the default.

IAR_LMS_DAEMON_PORT=port_number

Specifies the port used by capacity tokens. Default is 5001.

IAR_LMS_DAEMON_USER_PORT=port_number

Specifies the port used by Named users. Default is 13478.

IAR_LMS_CHECKOUT_RETRY_INTERVAL=time

Specifies the interval, where time is the time in milliseconds, between attempts to check out capacity if none is available. The minimum is 6000 milliseconds.

IAR_LMS_CHECKOUT_RETRY_COUNT=attempts

Specifies the number of attempts to check out capacity if none is available.

IAR_LMS_CLIENT_TO_DAEMON_CONNECT_TIMEOUT=time

Specifies the time between connection retries between the client computer and the LMSC Daemon, where time is the time in milliseconds.

IAR_LMS_CONNECTION_RETRY_INTERVAL=time

Specifies the time between connection retries to the LMSC service, where time is the time in milliseconds.

IAR_LMS_CONNECTION_RETRY_COUNT=attempts

Specifiers the number of connection retries, where attempts is the number of attempts.

IAR_LOGIN_STORAGE_PATH=path

Specifies the location where IAR login saves tokens. Default is %HOME%/.iar/login on Windows, and $HOME/.iar/login on Red Hat and Ubuntu

Table 2. Summary of environmental variables