New Config Parameter - LicenseMetricTime

Post Reply
RajKerai
Posts: 9
Joined: Tue Jul 15, 2008 7:57 am
OLAP Product: TM1 now PA
Version: v6 to present
Excel Version: 2013
Location: London

New Config Parameter - LicenseMetricTime

Post by RajKerai » Mon Jun 08, 2015 2:50 pm

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
Attachments
IC Test with Metric Setting.zip
(45.77 KiB) Downloaded 34 times

BrianL
MVP
Posts: 261
Joined: Mon Nov 03, 2014 8:23 pm
OLAP Product: TM1
Version: 9.5.2 10.1 10.2 PA2
Excel Version: 2016

Re: New Config Parameter - LicenseMetricTime

Post by BrianL » Mon Jun 08, 2015 3:22 pm

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".

RajKerai
Posts: 9
Joined: Tue Jul 15, 2008 7:57 am
OLAP Product: TM1 now PA
Version: v6 to present
Excel Version: 2013
Location: London

Re: New Config Parameter - LicenseMetricTime

Post by RajKerai » Mon Jun 08, 2015 3:46 pm

I see the files now.
Such a well documented parameter :D
Now to test how this works with ILMT

Thanks.

Andy Key
MVP
Posts: 335
Joined: Wed May 14, 2008 1:37 pm
OLAP Product: TM1 CX
Version: 2-5 to 10-2-x
Excel Version: 2003 2007 2010 2013
Location: Sydney
Contact:

Re: New Config Parameter - LicenseMetricTime

Post by Andy Key » Wed Jun 10, 2015 12:37 am

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.
Andy Key

Wim Gielis
MVP
Posts: 1537
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1
Version: PAL 2.0
Excel Version: 2016
Location: Brussels, Belgium
Contact:

Re: New Config Parameter - LicenseMetricTime

Post by Wim Gielis » Sat Aug 05, 2017 10:17 am

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 !
Best regards,

Wim Gielis

Excel Most Valuable Professional, 2011-2014
http://www.wimgielis.com ==> 103 TM1 articles and a lot of custom code
Newest blog article: TM1 message log analysis with Power Query

Post Reply