Page 1 of 1

Copy process with TM1 API

Posted: Tue Oct 05, 2010 2:25 pm
by Patrick Meier
Dear all,

I need to write a little tool to copy TM1 processes (as well as dimensions, cubes, users etc) from one server to another. I think copying the .proc-file on the file system is not a very good solution since I have to restart the TM1 server that the process is available. Therefore I thought I can use the TM1 API (while I would prefer the Java API). Unfortunately the API does not support a function like "Copy Process". Is there any other solution to copy a process from one server to another?

Thanks for your help!

Patrick

Re: Copy process with TM1 API

Posted: Tue Oct 05, 2010 4:15 pm
by tomok
There is no API call, AFAIK, that will do a live copy of either processes or chores from one server to another and I also can't imagine any circumstance where I would want to do that where just plain copying the .pro and .cho files from one data directory to another wouldn't suffice. Replication can move everything EXCEPT processes and chores.

Re: Copy process with TM1 API

Posted: Tue Oct 05, 2010 7:27 pm
by Alan Kirk
Patrick Meier wrote: I need to write a little tool to copy TM1 processes (as well as dimensions, cubes, users etc) from one server to another. I think copying the .proc-file on the file system is not a very good solution since I have to restart the TM1 server that the process is available. Therefore I thought I can use the TM1 API (while I would prefer the Java API). Unfortunately the API does not support a function like "Copy Process". Is there any other solution to copy a process from one server to another?
It can be done, but not easily. In essence you would need to recreate the processes by reading the process' code, variables etc from the source server and then creating the same things on the target server.

But this will not be a "little" tool, and you'd need to put in a lot of time and effort to get it to work reliably.

Orrrrr.... you could pay someone who has already done that work for you. There is one commercial tool on the market which will do the kind of "hot promotion" that you're looking for. If your budget will stretch to it it may be worth looking at.

Re: Copy process with TM1 API

Posted: Tue Oct 05, 2010 11:17 pm
by lotsaram
A more current link to this product can be found at viziersoftware.com

It's more than a little tool these days.

(I do have an association with the company.)

Re: Copy process with TM1 API

Posted: Wed Oct 06, 2010 9:14 pm
by Patrick Meier
Thanks for all your answers!

Can this tool be used to copy processes via command line? If yes, it could be a solution in our environment. The price is still around 1'000 USD?