It's all about the answers!

Ask a question

How to set license lease (timeout) to the minimum 30 minutes in CLM 4.0.6 ?


long TRUONG (365498138) | asked Sep 15 '14, 4:29 a.m.
Have just upgraded PRD (RTC/RRC)  to 4.0.6 two weeks after same on TEST env from 4.0.3.
Have been anticipating taking advantages of the reduced minimum lease introduced in 4.0.5.
Quite surprised to find:
  • OOTB setting of 60 minutes in PRD and 120 in TEST, installed from the exact same repo, hence upgraded by exact same scripts.
  • How could they be different when both sides were upgraded from 4.0.3. where the minimum lease was 120 minutes ?
  • This was observed through the issued leases listing, and verified to be set by "License checkout time" .
  • Also had not seen "License Timeout" (set to default 1800000) before:
    • Wonder if it existed in 4.0.3 ?
    • What is it for ?
    • Is it to set the minimum for "License checkout time" ?
  • Why the difference in units, secs & ms -- confusing --, with:
    •  "License checkout time" in secs 
    • and the rest in ms:
      • "License Timeout"
      • "Floating License Denial Timeout"
      • "Floating license refresh rate (in ms)"

Accepted answer


permanent link
Donald Nong (14.4k314) | answered Sep 16 '14, 12:49 a.m.
If you are using floating licenses, then yes, you need to change the "License checkout time" property for
com.ibm.team.repository.service.internal.license.FloatingLicenseService.
See this technote for more details.
http://www.ibm.com/support/docview.wss?uid=swg21396860
The properties are for different components so you need to pay attention to the component name when looking at the properties. For example, "License Timeout" is for com.ibm.rational.common.token.licensing.RLSLicenseService, i.e. token licensing, and it will not affect your usage of floating licenses. The last two properties in your post are for com.ibm.team.repository.service.internal.license.LicenseService, and I don't know the exact meaning of them so I will leave them as default.
The different units are the choice of the different components I believe.
Not sure about the different "default value" in your PRD ant TEST environments. Are you sure it's the "default value", not the "current value" showing the difference?
long TRUONG selected this answer as the correct answer

Comments
long TRUONG commented Sep 16 '14, 12:59 a.m.

The default was both 3600 secs

But the OOTB current value were 7200 and 3600 secs in TEST & PRD respectively: odd

            Property          Current Value    Default Value <o:p> </o:p>

TEST : License checkout time   7200  3600

PRD: License checkout time   3600 3600


Donald Nong commented Sep 16 '14, 2:01 a.m.

It's possible that you somehow "touched" the setting in the TEST environment so that it was recorded in the conf/jts/teamserver.properties file and in turn got carried over into the migrated 4.0.6 environment. The entry is

com.ibm.team.repository.checkoutTime

Your answer


Register or to post your answer.