Run processes in parallel using only one connection
RushTI is a Python script enabling you to execute IBM TM1 and Planning Analytics processes in parallel using only one connection.
RushTI requires TM1py and uses the TM1 REST API to connect to any TM1 instances, assuming the Rest Api is enabled.
How to use it?
1 – Create a tasks.txt file
The file tasks.txt contains the list of all processes which are going to be executed by RushTI. In this example, the process Cub.GeneralLedger.LoadFromFile will be executed for every months:
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=01
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=02
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=03
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=04
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=05
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=06
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=07
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=08
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=09
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=10
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=11
instance=”tm1srv01″ process=”Cub.GeneralLedger.LoadFromFile” pMonth=12
2 – Run RushTI:
To run RushTI as a command line, just use the following command (the last parameter is the number of threads RushTI will run at the same time):
python RushTI.py Tasks.txt 4
This command can be run from a command prompt or from a IBM TM1 and Planning Analytics process. More information can be found in the getting started guide below: