Topic
8 replies Latest Post - ‏2013-10-22T18:46:31Z by JirongHu
JirongHu
JirongHu
89 Posts
ACCEPTED ANSWER

Pinned topic How to check CQ license usage on Unix?

‏2013-10-21T19:27:04Z |

1. Is it the right imutil tool I am using? Can't find it in /opt/rational/common.

2. I run the same common and it can display the CQ license usage properly.

 

/home/ccadmin $ ./base/cots/flexlm.11.1.1/sun4_solaris2/lmutil lmstat -a
lmutil - Copyright (c) 1989-2005 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
Flexible License Manager status on Mon 10/21/2013 14:33
 
License server status: 1706@scm-bcclpdapp01
    License file(s) on scm-bcclpdapp01: /opt/rational/config/scm-bcclpdapp01.dat:
 
scm-bcclpdapp01: license server UP (MASTER) v11.8
 
Vendor daemon status (on scm-bcclpdapp01):
 
   ibmratl: UP v11.8
Feature usage info:
 
Users of ClearQuest:  (Total of 110 licenses issued;  Total of 0 licenses in use)
 
 
 
-------- Unix --------------------------------------------------------------------
License server status: 1706@todia030
    License file(s) on todia030: /opt/rational/config/todia030.dat:
 
  todia030: license server UP (MASTER) v11.8
 
Vendor daemon status (on todia030):
 
   ibmratl: UP v11.1
Feature usage info:
 
Users of ibmida:  (Total of 1 license issued;  Total of 0 licenses in use)
 
Users of rose_windows_datamodeler:  (Error: 1 licenses, unsupported by licensed server)
 
Users of rose_enterprise_windows:  (Error: 1 licenses, unsupported by licensed server)
 
Users of BuildForgeStdServer:  (Error: 1 licenses, unsupported by licensed server)
 
Users of BuildForgeStdFlt:  (Error: 2 licenses, unsupported by licensed server)
 
Users of ClearQuest:  (Total of 110 licenses issued;  Total of 0 licenses in use)

======= Windows =======

C:\ccviews\ccadmin_fxhub_1.0_int_scm02>lmutil.exe lmstat -a -f CLEARQUEST
lmutil - Copyright (c) 1989-2007 Macrovision Europe Ltd. and/or Macrovision Corporation. All Rights Reserved.
Flexible License Manager status on Mon 10/21/2013 14:16
 
[Detecting lmgrd processes...]
License server status: 1706@todia030
    License file(s) on todia030: /opt/rational/config/todia030.dat:
 
  todia030: license server UP (MASTER) v11.1
 
Vendor daemon status (on todia030):
 
   ibmratl: UP v11.1
Feature usage info:
 
Users of ClearQuest:  (Total of 69 licenses issued;  Total of 37 licenses in use)
 
  "ClearQuest" v1.10000, vendor: rational
  floating license
 
 
  • pdubovitsky
    pdubovitsky
    376 Posts
    ACCEPTED ANSWER

    Re: How to check CQ license usage on Unix?

    ‏2013-10-21T20:58:22Z  in response to JirongHu

    If you ping todia030 from UNIX and Windows, is the name resolved to the same IP address?
    In the license file on todia030, what is the host name in the "SERVER <hostname> ..."? Is it also todia030 or some other host name?

    BTW, there is a common licenses forum there you can ask these question too:
    https://www.ibm.com/developerworks/community/forums/html/forum?id=46f5c7f6-292f-44fe-9bcc-a1c800bb483a&ps=25

     

    Pavel

    • JirongHu
      JirongHu
      89 Posts
      ACCEPTED ANSWER

      Re: How to check CQ license usage on Unix?

      ‏2013-10-22T14:39:47Z  in response to pdubovitsky

      IP address is the same from Unix and Windows.

      SERVER todia030 835640d5 1706
      VENDOR ibmratl
      VENDOR rational
      • pdubovitsky
        pdubovitsky
        376 Posts
        ACCEPTED ANSWER

        Re: How to check CQ license usage on Unix?

        ‏2013-10-22T16:36:59Z  in response to JirongHu

        It might be that different versions of the license client causing the issue. What is the output of "lmutil -v" on both platforms?

        Also, you can try to comment out "VENDOR rational", restart the license server process, and try to query license server directly from UNIX and Windows:

        UNIX: "lmstart -a -c 1706@todia030"
        Windows: "lmutil lmstat -a -c 1706@todia030"

        Pavel

        • JirongHu
          JirongHu
          89 Posts
          ACCEPTED ANSWER

          Re: How to check CQ license usage on Unix?

          ‏2013-10-22T17:10:44Z  in response to pdubovitsky

          This problem is resolved once I pass in license file to the command as shown below:

          /opt/rational/base/cots/flexlm.11.1.1/sun4_solaris2

          bash-2.05# ./lmutil lmstat -c /opt/rational/config/todia030.dat -a

           

          • pdubovitsky
            pdubovitsky
            376 Posts
            ACCEPTED ANSWER

            Re: How to check CQ license usage on Unix?

            ‏2013-10-22T18:06:59Z  in response to JirongHu

            In this case, passing license server as a parameter (i.e. lmstart -a -c 1706@todia030) should work too
             

            Pavel

            • JirongHu
              JirongHu
              89 Posts
              ACCEPTED ANSWER

              Re: How to check CQ license usage on Unix?

              ‏2013-10-22T18:46:31Z  in response to pdubovitsky

              Yes, it works. Thanks a lot for your time.

  • DonaldN
    DonaldN
    222 Posts
    ACCEPTED ANSWER

    Re: How to check CQ license usage on Unix?

    ‏2013-10-22T00:34:33Z  in response to JirongHu

    IIRC, lmutil only comes with License Server on Unix, not with the point product, so the command that you used should be correct. But I notice something strange in the output, and probably you need to open a ticket with IBM to get it investigated.

    1. You showed two License Servers (scm-bcclpdapp01 and todia030), but their versions are different (11.8 vs 11.1), and they have different license files (more features on todia030). If you are using redundant License Servers, it does not look quite right.

    2. Both License Servers on Unix reported 0 used ClearQuest licenses, while the Windows one reported 37. I think that is the bit that gets you confused. I don't have the answer either unfortunately.

    • JirongHu
      JirongHu
      89 Posts
      ACCEPTED ANSWER

      Re: How to check CQ license usage on Unix?

      ‏2013-10-22T17:12:00Z  in response to DonaldN

      The license server on scm-bcclpdapp01 and todia030 are with different versions to accommodate different versions of Linux servers. That's what I just found out.