COGNOiSe.com - The IBM Cognos Community

IBM Cognos 10 Platform => Cognos 10 BI => Cognos Administration => Topic started by: Cog_rookie on 17 Jul 2013 08:04:05 AM

Title: Cognos audit sample in a distributed system
Post by: Cog_rookie on 17 Jul 2013 08:04:05 AM
Hi everyone,

Could you guys give me pointers on installing the sample audit report in a distributed environment. So CM, 2 disp, Gateway are completely separate.

Thanks in advance.
Title: Re: Cognos audit sample in a distributed system
Post by: MMcBride on 18 Jul 2013 02:31:23 PM

The COGIPF_RUNREPORT which feeds the "Run Reports" query subject in the Audit model has alot more details to it, such as Host IPADDR (Host IP Address) you can add a look up table here and determine which Dispatcher is handling your request

You should only have 1 content store, unless you have set up a failover service - but this isn't something that can be tracked by Cognos itself
And though you can have multiple Gateways (I do) I only ever see my dispatcher IP Address so I am not sure how you can monitor which gateway the request came through.

If you are just looking for Auditing using the Sample package and have 2 Dispatchers, a CM and a Gateway it will work by default, you won't see which dispatcher by default but thats as simple as adding that field into the Sample model since it is in the table.
Title: Re: Cognos audit sample in a distributed system
Post by: kommireddy on 24 Jul 2013 02:22:25 PM
If I understand your question correct, you just want to know how to setup auditing in your distributed environment.

Sample audit package is available under c10_location/webcontent/samples/models/Audit/Audit.cpf of FM install.

For detailed instructions on how to setup auditing, check below link

http://pic.dhe.ibm.com/infocenter/cbi/v10r1m0/index.jsp?topic=%2Fcom.ibm.swg.im.cognos.ug_cra.10.1.0.doc%2Fug_cra_id4425SampleAuditReports.html
Title: Re: Cognos audit sample in a distributed system
Post by: Cog_rookie on 31 Jul 2013 08:56:50 AM
Thanks for the reply guys, but I mean in terms of having a distributed system.

Are the process done in the CM or in the dispatchers
Title: Re: Cognos audit sample in a distributed system
Post by: MMcBride on 31 Jul 2013 02:16:38 PM
In Cognos Connections in the Administration menu's you can see the Dispatchers and all of the services for that dispatcher.

However that has nothing to do with the Sample Audit package IBM delivers - the Audit is just that an Audit of who is running what reports, if the report run was successful or not - things along those lines.

When you have a distributed environment for Cognos the Content Manager is the primary driver, when a report refresh is called it will utilize a dispatcher to handle the request - if you want to know how many Reports each dispatcher is handling - things like that adding the columns from the table I mentioned will give you that (assuming you know the IP addresses of your dispatchers)

As for where the individual processes are done - it depends on the process but nothing in the Audit package will help you monitor that.