Topic
  • 8 replies
  • Latest Post - ‏2012-12-20T11:36:43Z by Lumart
Lumart
Lumart
87 Posts

Pinned topic Can a CQ license be used simultaneously by a browser session and CQRC?

‏2012-12-19T09:38:15Z |
Suppose this scenario:
1) a user logs in to CQ via browser;
2) the same user logs in to CQ via CCRC (I mean, the CQ interface embedded in CCRC, let's call it "CQRC");

CQ web licenses have a linger time of 30 minutes; that is, a license is assigned to a user that logs to CQ web via browser for at least 30 minutes, and is released after 30 minutes of inactivity: see http://www-01.ibm.com/support/docview.wss?uid=swg21147129#License%20time%20out%3A
If step 2 is performed before the license has expired, can the user reuse that license, or does he consume a new one?
Of course, I suppose that the user is connecting to the same CQ database.
Updated on 2012-12-20T11:36:43Z at 2012-12-20T11:36:43Z by Lumart
  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-19T13:01:13Z  
    Could you check the user name on the license server when connecting from CCRC? If it is in "user#DBSet" form, as long as the user is connected to the same CQWeb server and using the same DBSet, it should be the same license.
    It could be different depending on version of ClearCase.

    Pavel
  • Lumart
    Lumart
    87 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-19T13:34:55Z  
    Could you check the user name on the license server when connecting from CCRC? If it is in "user#DBSet" form, as long as the user is connected to the same CQWeb server and using the same DBSet, it should be the same license.
    It could be different depending on version of ClearCase.

    Pavel
    Look at this excerpt from lmgrd.log:

    12:17:39 (ibmratl) OUT: "ClearQuest" L037182#DEV71@devlxccf02
    12:18:59 (ibmratl) OUT: "ClearQuest" l037182@devlxccf02
    12:19:03 (ibmratl) OUT: "ClearQuest" L037182#DEV71@devlxccf02

    The user is L037182; at 12:17:39 he logged in to CQ via browser; then at 12:18:59 he logged in to "CQRC" (and checked out another CQ license); then at 12:19:03 another CQ license was consumed....
    It is very strange, also because it looks like the second license is assigned to user l037182; I hope that the license server is case-insensitive...
  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-19T13:55:26Z  
    • Lumart
    • ‏2012-12-19T13:34:55Z
    Look at this excerpt from lmgrd.log:

    12:17:39 (ibmratl) OUT: "ClearQuest" L037182#DEV71@devlxccf02
    12:18:59 (ibmratl) OUT: "ClearQuest" l037182@devlxccf02
    12:19:03 (ibmratl) OUT: "ClearQuest" L037182#DEV71@devlxccf02

    The user is L037182; at 12:17:39 he logged in to CQ via browser; then at 12:18:59 he logged in to "CQRC" (and checked out another CQ license); then at 12:19:03 another CQ license was consumed....
    It is very strange, also because it looks like the second license is assigned to user l037182; I hope that the license server is case-insensitive...
    In this case the user is using two licenses. Most likely, you are on 7.1 version.
    License responses at 12:17:39 and 12:19:03 issued the same license.

    You can check it using
    UNIX: lmstat -a -c @your_license_server
    Windows: lmutil lmstat -a -c @your_license_server

    (if license server operates on non-standard port, you have to use port@license_server for the command)

    Pavel
  • Lumart
    Lumart
    87 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-19T16:27:04Z  
    In this case the user is using two licenses. Most likely, you are on 7.1 version.
    License responses at 12:17:39 and 12:19:03 issued the same license.

    You can check it using
    UNIX: lmstat -a -c @your_license_server
    Windows: lmutil lmstat -a -c @your_license_server

    (if license server operates on non-standard port, you have to use port@license_server for the command)

    Pavel
    Users of ClearQuest: (Total of 40 licenses issued; Total of 15 licenses in use)

    "ClearQuest" v1.10000, vendor: rational
    floating license

    A112682#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3182), start Wed 12/5 10:40
    L037182#DEV71 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 1523), start Wed 12/5 12:17
    L074982#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 663), start Wed 12/5 12:09
    L075582#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3082), start Wed 12/5 11:03
    L078482#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3747), start Wed 12/5 9:42
    L907882#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3889), start Wed 12/5 10:35
    L911282#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 2392), start Wed 12/5 11:44
    L922782#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 4087), start Wed 12/5 9:57
    a071782 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3508), start Wed 12/5 11:06
    a071782#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 6218), start Wed 12/5 10:01
    a086182#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 7470), start Wed 12/5 11:06
    l037182 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 6649), start Wed 12/5 12:18
    l911282 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3610), start Wed 12/5 12:14
    l920282 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 238), start Wed 12/5 12:12
    root prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 2869), start Wed 12/5 10:39

    Apparently, 2 licenses are being used by the user.
    Actually, CQ version is 7.1: is this the standard behavior for that version? Was it different in 7.0 and earlier?
  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-19T19:06:24Z  
    • Lumart
    • ‏2012-12-19T16:27:04Z
    Users of ClearQuest: (Total of 40 licenses issued; Total of 15 licenses in use)

    "ClearQuest" v1.10000, vendor: rational
    floating license

    A112682#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3182), start Wed 12/5 10:40
    L037182#DEV71 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 1523), start Wed 12/5 12:17
    L074982#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 663), start Wed 12/5 12:09
    L075582#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3082), start Wed 12/5 11:03
    L078482#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3747), start Wed 12/5 9:42
    L907882#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3889), start Wed 12/5 10:35
    L911282#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 2392), start Wed 12/5 11:44
    L922782#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 4087), start Wed 12/5 9:57
    a071782 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3508), start Wed 12/5 11:06
    a071782#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 6218), start Wed 12/5 10:01
    a086182#PRD71 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 7470), start Wed 12/5 11:06
    l037182 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 6649), start Wed 12/5 12:18
    l911282 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 3610), start Wed 12/5 12:14
    l920282 prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 238), start Wed 12/5 12:12
    root prdlxccf01 /dev/tty (v1.1) (prdlxccb01/27000 2869), start Wed 12/5 10:39

    Apparently, 2 licenses are being used by the user.
    Actually, CQ version is 7.1: is this the standard behavior for that version? Was it different in 7.0 and earlier?
    It confirms that two licenses are in use:
    L037182#DEV71 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 1523), start Wed 12/5 12:17
    l037182 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 6649), start Wed 12/5 12:18

    If I am not mistaken, it was changed in 7.0.
    It should not be the issue in 8.0

    Pavel
  • Lumart
    Lumart
    87 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-20T08:23:00Z  
    It confirms that two licenses are in use:
    L037182#DEV71 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 1523), start Wed 12/5 12:17
    l037182 devlxccf02 /dev/tty (v1.1) (prdlxccb01/27000 6649), start Wed 12/5 12:18

    If I am not mistaken, it was changed in 7.0.
    It should not be the issue in 8.0

    Pavel
    So Pavel, are you saying that:
    1) "only" 2 CQ licenses are being used; that means, what matters is the lmstat output; lmgrd "OUT" lines only tell us that a user doing something with CQ has been granted a license, but not that a new license has been issued to him (in fact, he might be using a license that was already granted to him);
    2) CQRC and CQ web are not able to share licenses (in version 7.1); that is, a user logging in to both CQRC and CQ web consumes 2 licenses;
    3) this behavior has changed in version 8.0: CQRC and CQ web can now share a license, and a user can log in to both of them at a time by consuming just 1 license;
    Is that right?
    Thanks in advance
  • pdubovitsky
    pdubovitsky
    376 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-20T11:25:05Z  
    • Lumart
    • ‏2012-12-20T08:23:00Z
    So Pavel, are you saying that:
    1) "only" 2 CQ licenses are being used; that means, what matters is the lmstat output; lmgrd "OUT" lines only tell us that a user doing something with CQ has been granted a license, but not that a new license has been issued to him (in fact, he might be using a license that was already granted to him);
    2) CQRC and CQ web are not able to share licenses (in version 7.1); that is, a user logging in to both CQRC and CQ web consumes 2 licenses;
    3) this behavior has changed in version 8.0: CQRC and CQ web can now share a license, and a user can log in to both of them at a time by consuming just 1 license;
    Is that right?
    Thanks in advance
    It is correct.
    Pavel
  • Lumart
    Lumart
    87 Posts

    Re: Can a CQ license be used simultaneously by a browser session and CQRC?

    ‏2012-12-20T11:36:43Z  
    It is correct.
    Pavel
    Ok, I really needed these clarifications.
    Thanks for your availability.