COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: Ashwyn2601 on 23 Nov 2016 04:40:10 AM

Title: Impact of deleting RT Models
Post by: Ashwyn2601 on 23 Nov 2016 04:40:10 AM
Hi Gurus,

I am well aware that we need to stop the Cognos services and then delete these files (and not the Folder) and then start the services to get back some space.
However, I was wondering what  would be the impact on the environment/reports if the same was deleted without stopping the services.


Title: Re: Impact of deleting RT Models
Post by: MFGF on 23 Nov 2016 06:36:35 AM
Quote from: Ashwyn2601 on 23 Nov 2016 04:40:10 AM
Hi Gurus,

I am well aware that we need to stop the Cognos services and then delete these files (and not the Folder) and then start the services to get back some space.
However, I was wondering what  would be the impact on the environment/reports if the same was deleted without stopping the services.

Hi,

You can't delete RT model files that are currently in use - the Cognos service is holding them open, so the OS won't delete them.

MF.
Title: Re: Impact of deleting RT Models
Post by: misscognos on 30 Nov 2016 08:28:42 PM
If you are on Unix you probably can delete..  but not the greatest idea with services running... You may see reports fail.
Title: Re: Impact of deleting RT Models
Post by: MFGF on 02 Dec 2016 04:03:38 AM
Quote from: misscognos on 30 Nov 2016 08:28:42 PM
If you are on Unix you probably can delete..  but not the greatest idea with services running... You may see reports fail.

Isn't the safe way to use rm rather than rm -f? If you use rm, the OS shouldn't delete the file if it is in use?

MF.
Title: Re: Impact of deleting RT Models
Post by: misscognos on 02 Dec 2016 09:02:09 AM
I have done it before in test environments on Unix by going into the directory and just doing RM * extension. But, generally speaking, I think that since you cannot tell which run time model belongs to which package the best approach is to shut down services. But if you are ok with minor user interruption then it should be fine..

The run time models will be recreated the next time the package is used..
Title: Re: Impact of deleting RT Models
Post by: cognoslearner1 on 16 Dec 2016 03:42:53 AM
@MFGF we can delete these files in Linux with rm while Cognos services are running . I have done it in test server.