Shutting down a UNIX/Linux TM1 Server running in background mode
The shutdown utility tm1srvstop.exe accepts the following parameters:
Parameter |
Description |
---|---|
-n |
Required The name of the TM1 Server you want to shut down. Note that this server must have been started in background mode. |
-v |
Required IP address of the Admin Server on which the TM1 Server is registered. |
-user |
Required User name of the person bringing down the server. This person must have the necessary access and privileges to shut down the server. |
-pwd |
Required Password for the person bringing down the server. |
-time |
Optional Delay, in seconds, at which the server will be shut down after running shutdown_tm1s.sh |
-cancel |
Optional Cancels any previously issued shutdown_tm1s.sh commands. Valid values are T and F. |
-unsave |
Optional By default, TM1 saves the data before a TM1 Server is shut down with the shutdown_tm1s.sh command. The -unsave parameter shuts down a server without saving the data. Valid values are T and F. |
For example, the following command line allows a user named Admin with a password of Administrator to shut down a TM1 Server named TM1SERV registered on an Admin Host located at 207.110.100.206. The command line indicates a 30-second interval between the time the command is issued and the time the server shuts down. The server is shut down without saving the data.
tm1srvstop.exe -n TM1SERV -v 207.110.100.206 -user ADMIN
-pwd Administrator -time 30 -unsave T
- The shutdown_tm1s.sh script works only on the local machine where TM1 Server is running.
- If you use the startup_tm1s.sh and shutdown_tm1s.sh scripts, you must ensure that the following
line exists in the TM1 Server configuration file (tm1s.cfg):
RunningInBackground=T
.