It's all about the answers!

Ask a question

How does Rational select which license to use if user is assigned multiple licenses?

Tim Fuller (471428) | asked Feb 04 '15, 2:20 p.m.
How does the Jazz server select the license to use when a user is assigned multiple licenses?  Or should users only be assigned one license?

We have two users that are both assigned DOORS-NG-Analyst and RTC-Developer.  When they went to make a change to a work item in RTC, Jazz assigned the first user to the available DOORS-NG-Analyst license.  When the second user tried to make a change in an RTC work item, Jazz attempted to assign another DOORS-NG-Analyst license. Seeing no available DOORS-NG-Analyst licenses it threw an error to the second user, that a license was not available.  My assumption was that if no Analyst license was available, Jazz would then go to the RTC-Developer license, assign it, and permit the the work item save?  Doesn't seem to work this way, so how does it work?

And finally, why did Jazz pick the DOORS license anyway.  The user was trying to save a a change to a work item in RTC.  Shouldn't it pickup the RTC license first?  FYI all licenses are floating.

2 answers

permanent link
Kot T. (1.5k11319) | answered Aug 20 '20, 10:41 a.m.
Adding the following info to the topic asked here for future reference.

The following link discusses this topic:

Some info extracted from the link:
"When there is more than one, the license service sorts the list using the following algorithm:

  1. Permanent CALs
  2. Existing floating license checkouts (version 4.0.3: non-token first, then token)
  3. Subset first - Floating licenses that are perfect subsets, or the most restrictive licenses are used first
  4. Arbitrary - Licenses that have mutually exclusive operations and have no subset licenses available are the last to be selected
When a user performs an action that can be done by both the Contributor and Developer, the most restrictive or subset license is checked out. In this case, the Contributor would be used. 
If the user performs an action that requires a Developer license and currently holds a Contributor license, both licenses are checked out and held onto until: 
- The user logs out 
- The lease expires due to inactivity"

Floating License Chekout Order
"Determines the checkout order of floating license when a condition occurs where there are more than one candidate available.
The value is a semi-colon delimited mapping of application to license checkout order list. Applications names are displayed on "Registered Application" page.
The ordered list is a comma delimited value which contains the CAL id's. An example value: {appName}={license1,license2,...};{appName}={license1,license2,...}"

The setting applies to both floating and token licenses.

permanent link
Pavel Dubovitsky (2814) | answered Feb 04 '15, 8:27 p.m.
Originally, when user assigned two licenses, both of the licenses will be checked out upon login.
If one of the licenses was not renewed by performed operation, it will be dropped upon license timeout expiration (default: 30 min since 4.x). There was a Defect submitted on
BTW, which license will be renewed by specific operation depends on "Floating license checkout order" advanced property.

Your answer

Register or to post your answer.

Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.