Connecting to Denodo from Cognos

Applies to: Denodo 7.0 , Denodo 6.0 , Denodo 5.5
Last modified on: 03 Jun 2019
Tags: Connectivity External clients

Download original document

You can translate the document:

Goal

IBM Cognos Analytics is a web-based, integrated business intelligence suite by IBM. It provides a toolset for reporting, analysis, scorecarding, and monitoring of events and metrics. It helps to understand the organization’s data and make effective business decisions.

This document describes how a Denodo Virtual DataPort (VDP) database can be accessed from IBM Cognos and how data from VDP views can be used from the Analytics Tool.

Cognos Analytics Introduction

IBM Cognos (IBM Cognos Analytics since version 11) offers a web administration portal to manage the server configuration, create and publish the reports/dashboards provided by the tool. IBM Cognos also includes a desktop modelling tool named IBM Cognos Framework Manager that can be installed either on the same computer as other Cognos components or on a different computer.

In the version 11 IBM deprecated some components from previous versions (Cognos Query Studio, Cognos Analysis Studio and Cognos Workspace) integrating its functionalities in the web based portal.

Prerequisites

IBM Cognos 11.0.3 or later version is needed to be able to connect to Denodo VDP using the JDBC connector.

The capabilities needed to use the Denodo JDBC connector from Cognos were added in recent updates of the Denodo Platform. Make sure to install the latest Denodo update available to make use of this functionality.

Adding the Denodo JDBC driver

The Denodo JDBC driver needs to be copied in the Cognos server in order to be able to connect to a Denodo server. Follow these steps:

  1. Get the Denodo JDBC driver located in the following path of the Denodo Platform installation:

<DENODO_HOME>/tools/client-drivers/jdbc/denodo-vdp-jdbcdriver.jar

  1. Copy it to the following location in the Cognos server (for Cognos 11.0.x) :

<COGNOS_HOME>/drivers

  1. Restart the Cognos server to be able to use the Denodo JDBC driver.

Adding a Denodo Data Server

  1. Open the IBM Cognos Analytics Web Tool

  1. In the left menu go to Manage > Data Servers and click on + button to add a new Data Server

  1. Select Denodo as Data Server Type, a form will be opened to enter the connection details.

  1. Fill the connection details and enter the VDP credentials. Check if the connection is correctly configured using the Test button.

Using the Data server to create Cognos Reports

As an example, let’s see how to create a Report with the data coming from a Denodo VDP database:

Creating a Data Module

To be able to create a report one or more data modules should be created with the desired views from the source.

  1. Click on + > Data module.

  1. Select Data servers, select the VDP server previously created and the schema where the desired views are created. Click Start.

  1. Select the views that will be used in the in the Data module by dragging & dropping the views. Click on Save.

Creating a Report

  1. Once the Data module has been created, can create a new Report Clicking on + > Report. You can select the desired theme and template for the Report.

  1. On the Report creation screen, select the Source tab and click on the + button. A new dialog will be opened to select the previously created Data Module.

  1. The views of the data module will appear on the left side of the screen. On the right side it is possible to design the report with the fields and the desired data. As an example, drag & drop a view from the left side to the right side to display the data in a table.

  1. Click on the Run button to run the report in the desired format and the data from the VDP views will be shown.

Enabling the SSL protocol between IBM Cognos and Denodo VDP Server

It is possible to configure IBM Cognos to use the SSL protocol for the connections between IBM Cognos and the Denodo VDP Server. The following steps must be followed:

  1. Enable SSL connections in the Denodo VDP Server as explained in the “ENABLE SSL CONNECTIONS IN THE DENODO PLATFORM SERVERS” section of the Denodo Platform Installation Guide. This will generate a certificate (eg: selfcert.cer)
  2. Add the certificate to the trustStore of the JRE used in the IBM Cognos server. In case the default IBM Cognos JRE is used, follow these steps:
  1. Copy the server certificate to <COGNOS_HOME>/jre/lib/security
  2. Execute “<COGNOS_HOME>/jre/bin/keytool” -importcert -file selfcert.cer -keystore <COGNOS_HOME>/jre/lib/security/cacerts -alias selfcert
  1. Restart the IBM Cognos Server.
  2. Add the Denodo Data Server as explained before.

References

Denodo Platform Installation Guide

IBM Cognos 11.0 Installation and Configuration guide

Questions

Ask a question
You must sign in to ask a question. If you do not have an account, you can register here

Featured content

DENODO TRAINING

Ready for more? Great! We offer a comprehensive set of training courses, taught by our technical instructors in small, private groups for getting a full, in-depth guided training in the usage of the Denodo Platform. Check out our training courses.

Training