Moving an application to a new environment

Post Reply
dkleist
Posts: 56
Joined: Wed May 21, 2008 12:33 pm

Moving an application to a new environment

Post by dkleist »

Scenario:

Have an app that a developer has built locally to a laptop. Long story short, no direct access to the test environment server.

Questions:

1 - Is there a method or process for copying this? Is it simply copying the directories, modifying config files and setting up a new service (or some variation thereof)?

2 - Where might I find more info on this process? I could not find anything in the pdf documentation (might it be in the client help?)

Thanks,

- Dave
dkleist
Posts: 56
Joined: Wed May 21, 2008 12:33 pm

Re: Moving an application to a new environment

Post by dkleist »

So, it's a matter of having a new folder under Custom, with the appropriate change to the tm1s.cfg file to point to the correct directory, then pointing a TM1 Server install to that custom location?
User avatar
Alan Kirk
Site Admin
Posts: 6606
Joined: Sun May 11, 2008 2:30 am
OLAP Product: TM1
Version: PA2.0.9.18 Classic NO PAW!
Excel Version: 2013 and Office 365
Location: Sydney, Australia
Contact:

Re: Moving an application to a new environment

Post by Alan Kirk »

dkleist wrote:So, it's a matter of having a new folder under Custom, with the appropriate change to the tm1s.cfg file to point to the correct directory, then pointing a TM1 Server install to that custom location?
Yes, there's not much more to it than that. You may also have to change the path to your log file directory in your config file if you keep your logs in a separate folder (which I recommend) and you may also need to specify the path to your licence file, but aside from that a data directory is a data directory. TM1 doesn't care whether it started out its life on your desktop or on a top of the line 64 bit server.
"To them, equipment failure is terrifying. To me, it’s 'Tuesday.' "
-----------
Before posting, please check the documentation, the FAQ, the Search function and FOR THE LOVE OF GLUB the Request Guidelines.
Jie Li
Posts: 1
Joined: Fri Oct 24, 2008 2:31 am
Location: Wellington, New Zealand

Re: Moving an application to a new environment

Post by Jie Li »

There's a few solutions to your question here:

1: Access to developer's laptop via TM1 client / TM1 Perspectives.
If you and the developer are on the same network (LAN / Domain), then you should theoretically be able to connect to this application from your TM1 client / TM1 Perspectives. Get the developer's IP address by going to CMD (command prompt ) and type IPCONFIG. This should tell you what is IP address is. Then just change your admin host to this IP address from your TM 1 server explorer and you are now connected to the models / TM1 applications on his / her machine. Of course he needs to have the application running in order for you to connect to it.

2: Copy the TM1 Data files for the application and start it up as a tm1 server on your laptop / local hosting server.
Copy the whole tm1 data folder from the developer's computer to your computer / spare server location. This data folder can reside on any drive. Now obviously you need to have known where TM1 is installed - locate the tm1s.exe in the c drive: c:\Program files\Applix\Bin\. Now say that you have placed the data folder in the following folder location: E:\TM1\Data. Then you need to create your shortcut icon and have the following in the target field: "C:\Program Files\Applix\tm1s.exe" -z "E:\TM1\Data". Make sure you change your cfg to reflect these folder locations. Here's an example cfg file:

[TM1S]
ServerName=TM1Model
DataBaseDirectory="E:\TM1\Data"
LoggingDirectory="E:\TM1\Logfiles"
PortNumber=12345

3: Same as number 2, but start it as a service and make it so that it always runs when restarted.
To create this TM1 model as a service on your PC. Open up CMD. Assuming that you have TM1 installed on the same folder location and the TM1 data folder location is of the same as my example. Type the following:
1: cd c:\Program Files\Applix\Bin\
2: tm1sd -install -n "TM1Model" -z "E:\TM1\Data"

Now if you navigate to control panel> administrative tools>Services, you should see a TM1model service. Run it and you are in the money. Note, you might need to provide an admin username and password, and as well you can set it to run automatically.
dkleist
Posts: 56
Joined: Wed May 21, 2008 12:33 pm

Re: Moving an application to a new environment

Post by dkleist »

Great replies - very informative - thank you both
Post Reply