IBM Support

How to Properly Restart Cognos Analytics Services via Windows Scheduler

How To


Summary

As Cognos Analytics service comprises of multiple micro services, we always recommend to use cogconfig.bat file to perform a restart via Scheduler. This is an 'as is' document so if Windows Scheduler or other 3rd party products change, IBM is not responsible to support Windows Scheduler.

Objective

Perform a clean Cognos Analytics service Restart.

Steps

Create a bat file with following commands :
echo Cognos Analytics Restart Begins.....

CALL "C:\Program Files\ibm\cognos\analytics\bin64\cogconfig.bat" -stop

echo Services Stopped

CALL "C:\Program Files\ibm\cognos\analytics\bin64\cogconfig.bat" -s

echo Services Started successfully
Save the file as .bat file
Open Windows Scheduler and schedule to run the newly created .bat file.
More details about cogconfig.bat commands can be found here.

Additional Information

  • Please consult your Windows/Linux Administrator if you have any issues in executing the script file.
  • Cognos Analytics support will not troubleshoot any issues related to Windows Scheduler.
  • This document only shows a proper way to restart Cognos Analytics using cogconfig.bat file to avoid usage of net stop and net start commands.

Document Location

Worldwide

[{"Line of Business":{"code":"LOB10","label":"Data and AI"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSTSF6","label":"IBM Cognos Analytics"},"ARM Category":[{"code":"a8m50000000Cl6sAAC","label":"Installation and Configuration->Cognos Configuration"}],"ARM Case Number":"TS004309497","Platform":[{"code":"PF033","label":"Windows"}],"Version":"All Version(s)"}]

Document Information

Modified date:
09 October 2020

UID

ibm16346553