Automated Testing

Automated Testing

Automated Testing

Build an automated testing process to enable continuous integration of your hybrid cloud applications including z/OS

 View Only
  • 1.  How to report license usage

    Posted Wed April 22, 2015 09:29 AM

    We have a setup with multiple RD&T's sharing the same USB token for RVU based licensing.

    If we use the "token" command, each of the servers will report the number of licenses used for that server. But how do we report the total usage of licenses, and the number of licenses available on the server which hosts the USB stick.

     

     

    Flems


  • 2.  Re: How to report license usage

    Posted Wed April 22, 2015 01:21 PM

    Flemming, we are researching this, and believe we will have an approach to get this information. Look for an append here tomorrow.

    RDTBebe


  • 3.  Re: How to report license usage

    Posted Wed April 22, 2015 03:36 PM

    Sounds good :-)

    Flems


  • 4.  Re: How to report license usage

    Posted Thu April 23, 2015 04:15 PM

    Flemming,

     

    The Sentinel Keys Server logs the exact information you are looking for. That logging is enabled in the sentinel key server configuration file, sntlconfigsrvr.xml, found on your license server in this location:

    /opt/safenet_sentinel/common_files/sentinel_keys_server/

    In this file, edit the LogClientRequestResponse section by placing a file name in between the header and trailer, something like this

    <LogClientRequestResponse>
    sentlog
    </LogClientRequestResponse>

    That log file will be stored in the same folder as the configuration file (the sentinel_keys_server folder). It will contain an initial 2 lines with version of the key server, date, time, and hostname of the server. Then each time a client accesses the Sentinel Keys Server, a log entry will be created in that log file. Each log entry will contain the following information, in this order:

     

    • Operation code (preceded by a comma)

    1 - Issue unshared license

    2 - Issue shared license

    3 - Release license

    4 - timeout

    • Serial Number of the USB Hardware Device plugged into the server

    • Hard limit of that key

    • The current "in use" counter. This can go up to the hard limit and no higher

    • The license ID - this should be 18858 for a non-sysplex license, and 35028 for a Sysplex license

    • The user limit of the license - this is the limit that this one user can reach in terms of Cps

    • The user "in use" counter - this is the current number of Cps being used by this user

    • The Linux host name of the user

    • The Linux user id requesting or releasing the license

    • The client process id (the process id of the client application)

    • The operation return code

     

    By looking at the log file over a period of days or weeks, you will quickly see the high water mark of licenses out at one time (the current "in use" counter), who is using the most, etc.

    Note that this log file can grow large rather quickly, so you may want to enable logging only during diagnosis time.

    We are investigating if this and other information available from the Sentinel Keys Server should be made available in other ways. But I hope this solves your immediate need.

     

    RDTBebe


  • 5.  Re: How to report license usage

    Posted Fri April 24, 2015 04:06 AM

    Thanks for this reply, I have tested it and it works as advertised.

    I would also like to draw your attention to the Sentinel License Monitor, which I found when researching on this. If you log on to the server with the Sentinel Key Server running, and open a browser at http://localhost:7002/welcome.html, you will see the Sentinel License Monitor tool, which is described here https://sentineldiscussion.safenet-inc.com/topic/how-to-use-the-monitoring-tool.

    However, on my setup, it does not work as I get "ClassNotFound" errors, when I click "Keys Information" or "Configuration". Is this something which is supposed to work?

    Flems


  • 6.  Re: How to report license usage

    Posted Fri April 24, 2015 09:52 AM

    I'm getting the same "ClassNotFound" message. 

    I had it working but don't know what I did so I'd also love to find out what the answer is to it.

    Sandra

    SandraCarroll


  • 7.  Re: How to report license usage

    Posted Fri April 24, 2015 04:44 PM

    Hello. The Sentinel License Monitor you found is third party software embedded in the IBM RD&T offering. At this time IBM is not advocating use of the software by RD&T customers. Several people have encountered problems using the software. Sentinel License Monitor updates are not available to address the concerns.

    RDTStephen