Posts

Showing posts from December, 2011

Restart Cognos Services from NT Scheduler and Email logs

Most of the company's that have multi server Cognos environments face challenges time to time on keeping environments up an running by minimizing outage times and crashes. From past couple of years I have implemented auto recycling/rebooting on windows NT Cognos servers for two main reasons: 1) Get rid of dump/garbage files due to report runs. 2) Ensures System stability if implemented weekly or monthly. With a little help from our NT guys we came up with a system reboot script which also emails a message, I scheduled this script as NT job sequentially(CM, BCM,DISP,DISP....) on all servers for a window of 1 hour every Saturday. This setup works really good except that one of the servers which is a dispatcher that always comes up at the end fails to initialize EVENT Service. So I was looking for ways to restart cognos service after system reboot and have the logs emailed automatically. Starting cognos services from a script is an easy task but to check if the services came up rig