If a configuration file is specified, its parameters are read first.
Parameters specified on the command line are then used to override those obtained from the configuration file. When a configuration file is read, TM1RunTI first obtains parameters from the [TM1RunTI] section of the configuration file.
If a connect parameter is present, then parameter values are obtained from the associated [Connect <name>] section and used to override anything read from [TM1RunTI].
A -connect parameter can also be provided on the command line, and overrides any connect parameters found in the configuration file.
The configuration file contains:
All entries must start at column 1. Lines beginning with # are treated as comments.
Section names must be enclosed in square brackets [ ]. If a section name is repeated, only the first one is used.
Parameters within a section:
Parameter values need to be enclosed in quotes (") if they contain whitespace.
To facilitate easy maintenance for different server environments such as development, test and production, connection parameters for each environment can be specified in separate sections. Each section is named using the prefix "Connect -" followed by a user defined name. For example:
[Connect – Production]
[Connect – Test]
[Connect – Development]
Multiple process sections are permitted. Each section is named to match a process in the server.
Each TurboIntegrator process section is used to define the parameters of the TurboIntegrator process and their default values.
If there are multiple process sections with the same name, only the first one is used.
This example shows the [TM1RunTI] section and a section for a single TurboIntegrator process ("my_ti_process"). The parameters and their default values, which may be overridden by parameters provided on the command line, are defined below each section header.
[TM1RunTI]
process=my_ti_process
connect=Production
[Process - my_ti_process]
num1="value1"
stringX="value2"
stringY="value3"
[Connect – Production]
adminhost=
server=MyTM1server
user="MyTM1AdminServer"
pwdfile="c:\tm1_admin_area\passwords\tm1_password.txt"
AdminSvrSSLCertAuthority=.\ssl\applixca.pem
AdminSvrSSLCertID=tm1adminserver
AdminSvrSSLCertRevList=
CAMNamespace=LOCAL_NTLM
Configuration parameters and command line parameters are processed in the following fashion:
For example, if you save the configuration file in the preceding example with the name tm1tools.config and then you execute the following:
tm1runti –i ".\tm1tools.config" –passwordkeyfile c:\keystore\prodkey.dat –connect prodsystem
Since the -i parameter was provided, the tool would do the following:
The command line parameter -i can be used to specify a configuration filename. This is particularly useful if several Cognos® TM1® servers are supported in the environment, as a different configuration file can be used for each server and like-named processes in different servers can be defined with different parameters.