Licenses pulled from the wrong server with Rational Synergy or Rational Change
When using multiple license servers you can get a floating license from any license server with IBM Rational Change and IBM Rational Synergy.
When you look in the license log provide by the
FlexLM server you will notice that licenses are being granted to users from multiple servers.
When a license is requested the license server looks in the
.flexlmrc to find a license server. If there are no licenses available
FlexLM looks for any other server and when it finds one it gets a license and then updates the
.flexlmrc file with the details of the server. Which ever server was last used becomes the first server to be used for the next request. So
FlexLM will continually update the
.flexlmrc file is created in the users $HOME when a license is checked out. For Rational Change and Rational Synergy this is always the
ccm_root user. It is not the Flex user nor the backend session user or the end user. It is the owner of the Change process and this is
This is seen where you have multiple license servers installed and you are using floating license types.
Diagnosing the problem
The license server information is stored in
The format for the license server entry is
19353 = port on which license server is running.
host_name is the host on which the License server is installed.
- Ensure that
license_data.txtfile is updated with the correct information of the License server.
- Check for
LM_LICENSE_FILEvariable if set on the machine and is pointing to the correct license server.
- When the licenses on one server are all allocated FlexLM will look for the next available license server and use that.
- Then the
.flexlmrcfile will be updates.
Resolving the problem
FlexLM is trying it's best to satisfy all license requests so it looks for a license in all it's known license servers. This is the mechanism which is employed to provide redundancy in license servers. That is you have multiple servers and should Flex not be able to get a license from one server it goes to the next server.
The following options can help resolve the issue:
- Put all your licenses onto one server.
You could then use the additional servers as redundant servers. See technote 1394388: How a redundant license server setup works
- Edit the
.flexlmrcfile to have the preferred license server for your particular installation and set the file to be read-only so the preference cannot be changed.
More support for:
Rational License Key Server
Software version: 1.0, 1.2, 1.3, 1.4, 1.5, 2.0, 7.0, 7.1, 7.5, 8.0, 8.1
Operating system(s): AIX, HP-UX, Linux, Solaris, Windows
Reference #: 1421667
Modified date: 25 February 2010
Translate this page: