\bin64\tm1sd.exe -install -n servicename -z “path_to_directory_containing_new_tm1s.cfg”

Product:
Planning Analytics 2.1.19
Microsoft Windows 2022 server

Issue:

How install planning sample?

Solution:

Copy the plansamp folder to a new folder like d:\tm1 data\utv\plansamp

Create a \config folder where you place the tm1s.cfg file

Also create a \logs and \data folder. Copy all files from plansamp folder to data folder.

Adjust the Tm1s.cfg to have correct path to folders:

DataBaseDirectory=D:\TM1 Data\Utv\plansamp\data\
LoggingDirectory=D:\TM1 Data\Utv\plansamp\Logs\

Create a ps1 file in notepad with below text:

cd "D:\Program Files\ibm\tm1_64\bin64\"
.\tm1sd.exe -install -n "Planning Sample" -z "D:\Tm1 Data\UTV\PlanSamp\config"

Save the file.

Start powershell as administrator and run the above script

The tm1 samples are not installed automatic in new versions.

Start the service from windows services.

Edit the tm1s.cfg to have the authentication you need. Example  IntegratedSecurityMode=5

 

More Information:

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=offerings-planning-analytics-local

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=later-registering-running-tm1-server-as-windows-service

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=configuration-tm1scfg-file

https://www.ibm.com/docs/en/planning-analytics/2.1.0?topic=parameters-integratedsecuritymode