RPE Licenses – Tips&Tricks

Checking RPE license consumption

Checking how many RPE licenses are consumed and by whom can be done on Windows with this script:

set RKL_HOME=D:\Program Files (x86)\IBM\RationalRLKS\common
"%RKL_HOME%\lmutil" lmstat -c 19353@LICENSE_SERVER -f rpe_publish

Adjust the values of RKL_HOME, LICENSE_PORT and  LICENSE_SERVER to match your installation.

Disabling the License Finder dialog

When RPE does not find a license because the license server is unaccesible the license finder dialog is displayed to help you correct the error. This is a nice tool in general but there are scenarios where it is hindering, such as for unattended document generations where having the process fail can be preferable to having it hanging waiting for some user feedback that will not come.

Disabling the license finder dialog can be done by defining the FLEXLM_BATCH environment variable. Do note that defining this variable globally ( as a system variable) will affect all products using FLEXLM for licensing so try to define this in a way to affect only RPE. If you are using RPE in unattended mode through batch scripts I suggest defining the variable there.


Author: Dragos Cojocari

Architect for Rational Publishing Engine

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s