Page 1 of 1

Cube logging settings different to control cube

Posted: Mon Feb 14, 2011 8:06 am
by wilsonric
I was just reviewing our cube logging and found a discrepancy between what the }CubeProperites cube says is being logged and what the Cube securities assignments dialog box says (when I right click on Cubes - Security Assignments). A number of different cubes seem to be out of sync with no discernable pattern to this. This discrepancy could have been happening for a long time, just the first time I have noticed.
Should these two objects be in sync? Should I physically type in YES in to the "LOGGING" field in the control cube to synchronise them? Should I do something else to get them in sync?

We are on TM1 version 9.1.3.

Re: Cube logging settings different to control cube

Posted: Mon Feb 14, 2011 1:12 pm
by tomok
The default setting for cube logging is on. Anything other than the word "NO" in the LOGGING property of the }CubeProperties cube means logging will be turned on.

Re: Cube logging settings different to control cube

Posted: Mon Feb 14, 2011 10:40 pm
by captnknz
I have found this in the past. The Security Assignments appears to be the primary security source, with the control cube reflecting changes after 20 min or so (or a server reset). I used rules in the control cube that did not immediately update in the Security Assignments, but did given the opportunity. I would say that cube logging will only be partially effective in this situation due to the system nature of these objects. I wouldn't be too worried, but something to keep an eye on.

Re: Cube logging settings different to control cube

Posted: Tue Feb 15, 2011 12:09 am
by wilsonric
Thanks guys, this sounds like all OK as is. Just worth checking when objects don't appear to be in sync.

Re: Cube logging settings different to control cube

Posted: Tue Feb 15, 2011 12:15 am
by Alan Kirk
wilsonric wrote:Thanks guys, this sounds like all OK as is. Just worth checking when objects don't appear to be in sync.
It's not the only time that this happens; the Status value of clients in the Client Properties cube isn't always fully up to date and/or correct, and wasn't even before Iboglix screwed up the tracking of this in 9.1 and required you to use a new parameter to fix it in ...9.4, I think. However the values in memory always are up to date, and when you open the main GUI display I believe that it's the in-memory values that are queried, not the cube values. Similarly the correct values should always be obtained from API calls, if one is desperate enough to write the relevant code.

Re: Cube logging settings different to control cube

Posted: Tue Feb 15, 2011 10:51 am
by lotsaram
Alan Kirk wrote:It's not the only time that this happens; the Status value of clients in the Client Properties cube isn't always fully up to date and/or correct, and wasn't even before Iboglix screwed up the tracking of this in 9.1 and required you to use a new parameter to fix it in ...9.4, I think. However the values in memory always are up to date, and when you open the main GUI display I believe that it's the in-memory values that are queried, not the cube values. Similarly the correct values should always be obtained from API calls, if one is desperate enough to write the relevant code.
That's for }ClientProperties and from 9.1.4 ClientPropertiesSyncInterval is required to keep the cube up to date (at least for the "Active" field). However this reported disconnect is in }CubeProperties not }ClientProperties. Previously I haven't ever observed any disparity between cube logging settings and what is recorded in }CubeProperties. Unless we hear otherwise from wilsonric with screenshots to verify I would assume that there are just some blank values in the cube where the default has never been changed, in which case as already pointed out the default will be for logging to be on.

Re: Cube logging settings different to control cube

Posted: Tue Feb 15, 2011 5:36 pm
by Alan Kirk
lotsaram wrote:
Alan Kirk wrote:It's not the only time that this happens; the Status value of clients in the Client Properties cube isn't always fully up to date and/or correct, and wasn't even before Iboglix screwed up the tracking of this in 9.1 and required you to use a new parameter to fix it in ...9.4, I think. However the values in memory always are up to date, and when you open the main GUI display I believe that it's the in-memory values that are queried, not the cube values. Similarly the correct values should always be obtained from API calls, if one is desperate enough to write the relevant code.
That's for }ClientProperties and from 9.1.4 ClientPropertiesSyncInterval is required to keep the cube up to date (at least for the "Active" field). However this reported disconnect is in }CubeProperties not }ClientProperties. Previously I haven't ever observed any disparity between cube logging settings and what is recorded in }CubeProperties. Unless we hear otherwise from wilsonric with screenshots to verify I would assume that there are just some blank values in the cube where the default has never been changed, in which case as already pointed out the default will be for logging to be on.
Yes, I do actually understand the difference between the two. My point was that I've also seen instances where the control cube value is not necessarily one that you can rely on. I know that I've also encountered the occasional disparity in the past, and not just those two for that matter. I'll make sure that I keep screenshots next time it happens, if the thought occurs to me.

Re: Cube logging settings different to control cube

Posted: Tue Feb 15, 2011 10:11 pm
by wilsonric
In reply to lotsaram : Yes the control cube contained blank fields, which was my initial concern as they were neither YES or NO.