IBM Support

How to restart TM1 Admin Server service after a crash or a hang without impacting running TM1 Servers ?

Question & Answer


Question

For some reasons it might happen that the TM1 Admin Server either crashes or hangs.
In such a situation, if we try to restart the "IBM Cognos TM1 Admin Server x64" service through the Windows Services tool (services.msc), we get two annoying behaviours:
-> If the TM1 Admin Server has crashed, we get the following error message when trying to restart it : "The IBM Cognos TM1 Admin Server x64 service on Local Computer started and then stopped. Some services stop automatically if they are not in use by other services or programs."
Or
-> If the TM1 Admin Server has got hung/frozen, meaning that TM1 Servers cannot reach it anymore for some reason, thus TM1 Servers cannot be registered anymore by TM1 Admin Server,
then restarting the "IBM Cognos TM1 Admin Server x64" service would also restart all running TM1 Servers, which we want to avoid at all costs.
How to restart TM1 Admin Server without having to restart all TM1 Servers that depend on it ?

Answer

- Open both the Windows Services window and the Windows Task Manager side-by-side, so that to be prepared to act very quickly in both windows.

- Preselect the "IBM Cognos TM1 Admin Server x64" service in the Windows Services window
- In Task Manager, go to the Details tab, sort the processes by name and manage to have all "tm1*.exe" processes in sight.
- If the TM1 Admin Server had crashed, we should see in Task Manager a process named "tm1admsrv.exe" which has been launched by one of the running TM1 servers to replace the missing TM1 Admin server ("tm1admsd.exe"). This "tm1admsrv.exe" process is a TM1 Admin Server running in background. Just kill this process by right-clicking on it and clicking "End task" (NOT "End process tree"!!! This would kill all TM1 Servers!), and VERY QUICKLY go back to Windows Services window to restart the TM1 Admin Server service. This has to be done within few seconds to prevent some running TM1 Server to launch another "tm1admsrv.exe".
- If the TM1 Admin Server got hung/frozen (not responding), just kill "tm1admsd.exe" process (by right-clicking on it and clicking "End process" only, NOT "End process tree"!!!) and VERY QUICKLY go back to Windows Services window to restart the TM1 Admin Server service before some running TM1 Server tries to launch a "tm1admsrv.exe" process.
Now that the TM1 Admin server service has been restarted, all running TM1 Servers will be registered onto TM1 Admin Server again.
 

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSCTEW","label":"IBM Planning Analytics Local"},"Component":"TM1 Admin Server","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Versions","Edition":"All Editions","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
20 November 2019

UID

swg21701241