COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: SynexusStuart on 13 Jun 2011 08:19:43 AM

Title: Trigger bat files between servers
Post by: SynexusStuart on 13 Jun 2011 08:19:43 AM
Hi,

We have recently changed our Cognos environment (8.4.1).

Our old environment consisted of 4 cognos instances on a physical quad core server, these 4 instances were all run locally on that server. Also on that server we had DataManager which ran a .bat file to trigger reports every day providing we had a sucessful build and it worked very well.

Our new environment consists of 4 VM servers with one cognos instance on each. Unfortunately, we now have DataManager on one server (DM) but our Gateway and Content Store are on a different server (CM-GW). This creates a problem for us as the .bat file we created in the past will now not work between servers.

I realise that this is sort of a windows issue but the windows solution (using PsTools) requires that we uninstall webservices which we need to run Cognos.

Does anyone have any ideas?

Help would be appreciated.

Stuart
Title: Re: Trigger bat files between servers
Post by: RobsWalker68 on 14 Jun 2011 03:40:58 AM
Hi,

You could set up a Windows scheduled task on the target servers and then call those from your batch file.

Have a look at the technique below.  It handles a particular Transformer scheduling issue but you can apply the same principles to your problem.

http://www.ibm.com/developerworks/forums/thread.jspa?messageID=14567354

Kind Regards

Rob
Title: Re: Trigger bat files between servers
Post by: SynexusStuart on 14 Jun 2011 08:14:20 AM
Wizard! It worked perfectly.

Thanks Rob.