Server maintenance help me find the files!!

Post Reply
Darkhorse
Posts: 141
Joined: Wed Mar 09, 2011 1:25 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2003 2007 2010 2013

Server maintenance help me find the files!!

Post by Darkhorse »

Hi all

a quick one really i bet someone out there has already got the answer,

I recently read an article in the Help hints and tips section about Dimensions that do not have any linked cubes to them which worked perfectly
http://www.tm1forum.com/viewtopic.php?f=21&t=4901

i added a dimensiondestroy section and instant removal of errant dims. i was wondering if anyone was able to point me to a place i can find one for all the errant files like Cube files that do not work Rux files that arent linked to a cubes, Processes that do not work (normally they have an exclamation mark next to them)

anything that finds all the above would be great,

thanks guys

:?:
Wim Gielis
MVP
Posts: 3241
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Server maintenance help me find the files!!

Post by Wim Gielis »

"Cube files that do not work"

Why would a cub file not work?
Do you have a cub file with dimensions that are not part of the TM1 model?
In that case, the TM1 server will not load the cub file.
This will be a manual task to go throught the cub files in the data directory.

"Rux files that arent linked to a cubes"

Again, a manual task, look for rux files without a cub file with the same filename. Like BalanceSheet.cub that exists, but not for instance BS.rux (if a renaming took place).

"Processes that do not work (normally they have an exclamation mark next to them)"

They will be in the data directory, so you should be able to locate them and delete manually.

All tasks could be coded and automated, but I do not think that you will gain a lot of time.
So manual work will be the solution to you.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
Darkhorse
Posts: 141
Joined: Wed Mar 09, 2011 1:25 pm
OLAP Product: TM1
Version: 10.2.2
Excel Version: 2003 2007 2010 2013

Re: Server maintenance help me find the files!!

Post by Darkhorse »

Cub files when certain dimensions have been removed still try and get loaded but fail on restart..


and all i see is the word "manual" im not a fan of Manual :( thats why i got into IT :mrgreen:
Wim Gielis
MVP
Posts: 3241
Joined: Mon Dec 29, 2008 6:26 pm
OLAP Product: TM1, Jedox
Version: PAL 2.1.5
Excel Version: Microsoft 365
Location: Brussels, Belgium
Contact:

Re: Server maintenance help me find the files!!

Post by Wim Gielis »

As said above, there is not much scope in automation for these tasks.

Only point 2 could be done with a little bit of VBA code (Dir function) or TI (WildCardFileSearch).

The 2 other points will be much more work to code, compared to the gain you book.
Best regards,

Wim Gielis

IBM Champion 2024-2025
Excel Most Valuable Professional, 2011-2014
https://www.wimgielis.com ==> 121 TM1 articles and a lot of custom code
Newest blog article: Deleting elements quickly
User avatar
Martin Ryan
Site Admin
Posts: 2003
Joined: Sat May 10, 2008 9:08 am
OLAP Product: TM1
Version: 10.1
Excel Version: 2010
Location: Wellington, New Zealand
Contact:

Re: Server maintenance help me find the files!!

Post by Martin Ryan »

Darkhorse wrote:Cub files when certain dimensions have been removed still try and get loaded but fail on restart..
The only place you'll see an error when this has occurred is in the message log. So again you're looking at a manual trawl through the log.

These are all one-off tasks though. At most they'd take you an hour for the whole cleanup. Trying to automate the task would take days. Sometimes manual is faster.
Please do not send technical questions via private message or email. Post them in the forum where you'll probably get a faster reply, and everyone can benefit from the answers.
Jodi Ryan Family Lawyer
Post Reply