Professional Documents
Culture Documents
Cognos documents these steps in the ‘Administration and Security Guide: chapter 16.’ I
have highlighted some of the key elements here.
Alter the namespace to match the namespace used in Cognos Configuration for the
authentication provider, alter the password to match the binding user’s password, and
alter the username to match the binding user.
2
Installation and Configuration – Cognos8
<servlet>
<servlet-name>DSServlet</servlet-name>
<servlet-class>com.cognos.demo.DSServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>DSServlet</servlet-name>
<url-pattern>/cognos/DSServlet.jsp</url-pattern>
</servlet-mapping>
3
Installation and Configuration – Cognos8
Enter a unique name for the database connection, and select Type: Database
Select the new resource-destination in the Explorer pane, right-click, select new
resource, and select Database.
Select the new resource-destination in the Explorer pane, right-click, select new
resource, and select Database – enter a name of Audit and select Oracle. Configure
the connection to connect to the Oracle instance and server, and alter the ID and
Password to be the Cognos_AS schema (DBA needs to create).
Create the data sources in Cognos Connection and Import the Audit deployment
package.
4
Installation and Configuration – Cognos8
Log into Cognos Connection (IE and enter the correct URL for Cognos8). Select
Tools Directory
5
Installation and Configuration – Cognos8
Enter in the name ‘Audit’ for the name of the connection. ‘NEXT’
6
Installation and Configuration – Cognos8
Enter the SQL connect string, user ID and Password, making sure to check all three
boxes. Select to TEST and test the connection.
7
Installation and Configuration – Cognos8
8
Installation and Configuration – Cognos8
Enter in the exact address above, altering the APPSERVER to the application server for
Cognos. Then test using the test link. Assuming all validates successfully, select
FINISH.
Next, we will import the canned reports and package for Auditing. First, we need to copy
the content package from the samples location to the deployment location on the
application server. Copy the Audit.zip file from <install
location>\cognos\c8\webcontent\samples\content to <install
location>\cognos\c8\deployment
9
Installation and Configuration – Cognos8
‘NEXT’ Then accept the default for the name ‘NEXT’. Select the Audit Package and
de-select the disable after import.
Accept all the defaults ‘NEXT’ – ‘NEXT’ – ‘NEXT’ and ‘FINISH.’ Select to run the job
NOW and the select ‘RUN.’ If you get a confirmation prompt select ‘OK.’
Finally, alter the Server settings in Cognos Connection. Access Cognos Connection,
select ‘Tools’ and select ‘Server Administration’
Click on the Configure tab, and then select the Properties icon under actions for each
Dispatcher (note, currently there is only one Dispatcher, but should you add another
server, you will have to do this again):
10
Installation and Configuration – Cognos8
Set all the logging levels to ‘Request’ as shown above. Also, select the ‘Audit the native
query for batch report service’ Select OK.
11
Installation and Configuration – Cognos8
Re-enter the Properties/Settings Tab as done before, but choose to go to the 2nd page
Set the last logging to ‘Request’ and set the ‘Audit the native query for report service’ as
checked. Select ‘OK’
12