Home Knowledge Articles IBM Cognos TM1 How to setup a TM1 Server to run as a Windows Service
Follow us on Twitter
first
  
last
 
 
start
stop


Countries

49.3%United States United States
7.4%India India
6.9%United Kingdom United Kingdom
5.2%Australia Australia
5.1%Canada Canada

Visitors

Today: 300
Yesterday: 532
This Week: 832
Last Week: 2850
This Month: 8445
Last Month: 12427
Total: 542676


How to setup a TM1 Server to run as a Windows Service Print E-mail
(8 votes, average 4.13 out of 5)
Wednesday, 28 April 2010 14:28

1)  Open a DOS box / command prompt:  Start -> Run -> cmd
2)  Navigate to the TM1 bin directory using the cd command. Go to the TM1 bin directory, the default installation path is "C:\Program Files\Cognos\TM1\bin".
3)  Type the following command:
         tm1sd.exe -install -n"NameOfTM1Server" -z"PathtoTm1s.cfgFile"
Where the "NameOfTM1Server" (after the -n) is the name you want to give to this TM1 Server service.  If the name you are going to use contains any spaces, this value must be specified in double quotes.
Where the "PathtoTm1s.cfgFile" (after the -z) is the path to the tm1s.cfg file for this the TM1 Server you are setting up.
For example:
         tm1sd.exe -install -n"TM1 Production Server" -z"C:\Program Files\Cognos\TM1\Custom\TM1Data\PData"

If the command is successful, it will return the following message:

TM1 Server / tm1 production server installed.

4)  You can then go into the services listing, and you will see the new TM1 Server service you setup.  Following the above example, the service would be listed as:
         TM1 Server / tm1 production server
    You can then configure the service to run automatically, and to run under a specific domain user.
NOTE:  If you are setting up a completely new TM1 Server for which you don't already have a tm1s.cfg file, you can copy the tm1s.cfg from the Planning Sample TM1 Server and modify it accordingly.  At a minimum, you will need to modify the ServerName, DataBaseDirectory, and PortNumber parameter values.
If the service does not start (error message stating the service cannot be started), starting the same TM1 Logical server as a desktop application will usually provide more detailed information on the error.

Removal of the TM1 service

To remove a TM1 Server service (again, following the example above), follow steps 1 and 2, then type the following command:
         tm1sd.exe -remove -n"NameOfTM1Server"

Where the "NameOfTM1Server" (after the -n) is the name of the TM1 Server service you wish to remove.
For example:
         tm1sd.exe -remove -n"TM1 Production Server"

 

www.cogknowhow.com

Comments

Please login to post comments or replies.
 
 

CogKnowHow Newsletter

Newsletter
Please register to the site before you can sign for a list.
No account yet? Register
Banner

Polls

How many users are working on your Cognos environment?