Page 1 of 1

New Config Parameter - LicenseMetricTime

Posted: Mon Jun 08, 2015 2:50 pm
by RajKerai
Has anyone noticed / tested the new parameter "LicenseMetricTime" in the new default tm1.cfg file that is now being shipped with TM1 10.2.2 FP3
There is little documentation on this besides the commentary in the config file (See below).
I have raised a PMR with IBM but this is taking some time so thought I would reach out to the community get a heads up on any experiences.

Based on the little documentation that exists (i.e. in the .cfg file), I believe this will generate an XML file for the ILMT tool to pick up which is required for sub-capacity licence monitoring.
At this point in time I am just curious to see what is generated when it works.

NOTE: ILMT https://www.ibm.com/developerworks/comm ... etric+Tool is IBM software which is free and is required when PVU licenced software has been installed on a Virtual environment. Should anyone wish to discuss this, suggest starting a separate thread.

I have set up a test environment (new server with a single dummy cube with 2 dimensions containing one's and zero's, see attached copy) and get no files being generated anywhere.
Below is an extract of the comments and the parameter I set up which should ave kicked off at 14:16 hrs.
I let the server run for a couple of hours and checked the contents of the server folder and logs.
No new files appear to be generated of any extension (i.e. Tag files).

# LicenseMetricTime
# Sets the time of day the TM1 server will generate a License Metric Tag file.
# A License Metric Tag file is an XML file which contains information about license metrics consumed by software product instances.
# In the case of TM1 server, the reported authorized user metrics are the number of Modelers, Contributors and Explorers.
# The License Metric Tag files produced by various instances of TM1 servers are collected by the IBM License Metric Tool (ILMT) agent and aggregated to produce final metrics based on the TM1 product version.
#
# The format of the LicenseMetricTime parameter is dd:hh:mm where:
# * dd is the number of days from today that the system will start automatically producing License Metric tag files. For example, 00 is today, 01 is tomorrow.
# * hh:mm is the time of day in 24-hour format.
# Type: optional, dynamic
LicenseMetricTime=00:14:36

Re: New Config Parameter - LicenseMetricTime

Posted: Mon Jun 08, 2015 3:22 pm
by BrianL
I don't think anything get's written out to the database directory.

Instead check the tm1 install directory. Right alongside the "bin" directory look for a folder named "slmtagraw".

Re: New Config Parameter - LicenseMetricTime

Posted: Mon Jun 08, 2015 3:46 pm
by RajKerai
I see the files now.
Such a well documented parameter :D
Now to test how this works with ILMT

Thanks.

Re: New Config Parameter - LicenseMetricTime

Posted: Wed Jun 10, 2015 12:37 am
by Andy Key
RajKerai wrote:Such a well documented parameter
You always were too impatient. You asked, they've answered.

Although I'm not quite sure they've chosen the best of examples.
IBM Technote wrote:Example:
LicenseMetricTime=01:30:55
...means that the metric log would begin 'tomorrow' at 09:30
Yep, I understand the 01 being 'tomorrow', but what crazy timezone are they in if 30:55 equates to 9:30am?

Let's see how long it takes them to amend that.

Re: New Config Parameter - LicenseMetricTime

Posted: Sat Aug 05, 2017 10:17 am
by Wim Gielis
Andy Key wrote: Wed Jun 10, 2015 12:37 am Although I'm not quite sure they've chosen the best of examples.
IBM Technote wrote:Example:
LicenseMetricTime=01:30:55
...means that the metric log would begin 'tomorrow' at 09:30
Yep, I understand the 01 being 'tomorrow', but what crazy timezone are they in if 30:55 equates to 9:30am?

Let's see how long it takes them to amend that.
The example is now: 00:16:00

For the log to start from today at 16:00 then the parameter would be: 00:16:00

For me it works and creates an output file.
Opening this file with an XML structure in Excel does not work, also not after changing the extension to *.xml
I opened the file in Notepad++, it gives a list of security groups and clients (distinction Admin / groups or clients added in the model), and counts them. Woohoo !