Starting and stopping the TM1 Server on Linux

On a Linux deployment, scripts are available to start and stop the TM1 Server.

Before you begin

Review the Java requirements on Linux for details on Java version requirements and JAVA_HOME environment variable settings.

Procedure

  1. Run the startup_tm1s.sh script and pass the location of the tm1s.cfg file to start the TM1 Server.
  2. Run shutdown_tm1s.sh script and pass the location of the tm1s.cfg file to stop a running TM1 Server.

    Both scripts are located in the <install_dir>/bin64 directory.

    For more details on starting and stopping the TM1 Server on Linux, see https://www.ibm.com/docs/en/planning-analytics/2.0.0?topic=operations-starting-unix-tm1-server

Example

Here's an example of how to use startup_tm1s.sh to start the Planning Sample TM1 Server. This is one of the sample TM1 Servers provided with Planning Analytics. The database directory for the server is /opt/ibm/tm1_64/samples/tm1/PlanSamp, which also contains the tm1s.cfg file for the server.

/opt/ibm/tm1_64/bin64/startup_tm1s.sh /opt/ibm/tm1_64/samples/tm1/PlanSamp/

This example shuts down the same Planning Sample TM1 Server with shutdown_tm1s.sh, specifying the the tm1s.cfg file for the server.

/opt/ibm/tm1_64/bin64/shutdown_tm1s.sh /opt/ibm/tm1_64/samples/tm1/PlanSamp/