COGNOiSe.com - The IBM Cognos Community

IBM Cognos 8 Platform => COGNOS 8 => COGNOS 8 Administration => Topic started by: coledog on 02 Jan 2007 09:13:57 AM

Title: Stopping and starting cognos services on one server from another server
Post by: coledog on 02 Jan 2007 09:13:57 AM
How can I stop cognos services on  one server running the web part and start then again after the a task is complete. I was looking at the AT command  but is there a better way ?
Title: Re: Stopping and starting cognos services on one server from another server
Post by: sir_jeroen on 02 Jan 2007 12:30:40 PM
Why would you do this? What purpose?
Title: Re: Stopping and starting cognos services on one server from another server
Post by: coledog on 02 Jan 2007 01:28:40 PM
 Stopping the services  kicks anyone out of the cube so the cube can be copy over from processing to live where the cube is published from
Title: Re: Stopping and starting cognos services on one server from another server
Post by: sir_jeroen on 03 Jan 2007 04:43:05 PM
There's something posted on Cognos Support about this if I remember correctly. If i'm correct they've a little script for this...
Title: Re: Stopping and starting cognos services on one server from another server
Post by: sir_jeroen on 03 Jan 2007 04:57:07 PM
Here's the file you probably need:
http://support.cognos.com/kb-app/knowledgebase?document_search_show_document=1&document_id=1016653&version_id=4
Title: Re: Stopping and starting cognos services on one server from another server
Post by: coledog on 04 Jan 2007 06:18:34 AM
thank you

I will forward this to our support dept. I remember seeing something like this somewhere just wasnt sure where.  I got it to work using schtasks comand.  at the end of the batch file that runs transformer to build the modlel there is a line that  calls a sch task on the web server that stops the services and copy the cube and starts the services again then exec a macro that runs reports and put them out there. I am alway looking for a better way.  this is working for now. and I will have support fallow up on this.

thanks again