You can create an IBM® Cognos® Analytics data source for your IBM
Spectrum Control database.
Before you begin
The following table shows the Db2® actions that are required before you create an IBM Cognos Analytics data source for the
IBM
Spectrum Control
database:
Table 1. Required Db2 actions for IBM Spectrum Control/Cognos Analytics integration scenarios
IBM
Spectrum Control - Cognos
Analytics integration scenario |
Required Db2 actions |
IBM
Spectrum Control database and Cognos
Analytics on the same Windows or Linux® computer |
There are no Db2 actions required |
IBM
Spectrum Control database and Cognos
Analytics on the same AIX® computer |
Configure the connectivity with the IBM
Spectrum Control database to use the loopback mode, or
Cognos
Analytics will fail to connect to the
IBM
Spectrum Control database source when running reports
multiple times. Complete the following steps on the AIX computer:
- Log on to the computer as a user with root privileges
- Switch to the user that is the Db2 instance owner (for example, db2inst1).
- Run this command:
db2 catalog tcpip node loopbk
remote 127.0.0.1 server 25000
If your Db2
instance uses a different port other than 25000 , provide that port value in the
command. For example, 50000 .
- Run this
command:
db2 catalog database TPCDB
as TPCDB_LP at node loopbk
If your
IBM
Spectrum Control database has a name other than
TPCDB , provide that database name in the command.
If you have upgraded from
an earlier version of IBM
Spectrum Control, you might
find that you already have the loopback connection configured and the above mentioned commands
return errors. Confirm the configuration using the 'db2 list database directory'
command and look for TPCDB_LP .
|
IBM
Spectrum Control database on a different
computer than where you installed Cognos
Analytics, all platforms |
Catalog the node and database for the remote IBM Spectrum® Control database. Complete the
following steps on the computer where you installed Cognos
Analytics:
- On Windows operating system: Log in as a user with administrative privileges.
- On Linux or AIX operating system: Log in as a user with root privileges.
- On Windows operating system, from the Start Menu, select .
- On Linux or AIX operating system: Switch to the user that is the Db2 instance owner (for example, db2inst1).
- Enter the following command to catalog the remote node:
db2 catalog tcpip node node_name
remote server_fqdn server port
Where
node_name is a new value you provide to name the node. For example,
remoteSC . The server_fqdn value is the fully qualified domain
name of the machine where the IBM
Spectrum Control
database resides. For example, myserver.mycompany.com . The port
value is the port number that is used by Db2. The default
value is 25000 . Port 50000 can also be
used.
Example: db2 catalog tcpip node remoteSC
remote myserver.mycompany.com
server 25000
- Enter the following command to catalog the remote database:
db2 catalog database database_name
as alias at node node_name
Where
database_name is the name of the IBM
Spectrum Control database. Typically, this name is
TPCDB . The alias value is a new value that you provide to
reference the cataloged database. For example, remDB . The
node_name value is the value that you set in Step
3.
Example: db2 catalog database TPCDB as remDB
at node remoteSC
|
Procedure
To create an Cognos
Analytics data source for
the IBM
Spectrum Control database, complete the following
steps:
-
Open a web browser and enter the following URL:
http://FQDN_Of_Your_Machine:9300/bi
Where http
is the protocol, and FQDN_Of_Your_Machine is your
fully qualified domain name, (for example, myserver.mycompany.com).
-
Select .
-
In the IBM Cognos Administration GUI, select the Configuration
tab.
-
In the Configuration tab, select Data Source
Connections.
-
On the toolbar, click the New Data Source icon. It is the first icon in
the list.
-
On the Specify a name and description page, in the
Name property, enter TPCDB.
You must enter the TPCDB value or the IBM
Spectrum Control predefined reports will not generate
successfully.
-
On the Specify a name and description page, click
Next.
-
On the Specify the connection page, select IBM DB2
from the Type field.
-
Verify that Use the default object gateway is selected.
-
Unmark Configure JDBC connection and click
Next.
-
On the Specify the IBM DB2 connection string page, in the DB2
database name property, complete one of the following steps:
-
If the IBM
Spectrum Control database is on the same Windows or Linux computer as where you installed Cognos
Analytics (first row scenario from Table 1), enter
the name of the IBM
Spectrum Control database. Typically,
this name is
TPCDB
.
-
If the IBM
Spectrum Control database is on the same AIX computer as where you installed Cognos
Analytics (second row scenario from Table 1),
enter the alias value that you created when you cataloged the loopback database. Typically, this
value is
TPCDB_LP
.
-
If the IBM
Spectrum Control database is on a
different computer than where you installed Cognos
Analytics (third row scenario from Table 1), enter
the alias value that you created when you cataloged the remote database. For
example,
remDB
.
-
On the Specify the IBM DB2 connection string page, in the
Signon section, do the following:
-
Verify that Signons is selected.
-
Select Password.
-
In the User ID property, enter the user name of the owner of the Db2 instance where the IBM
Spectrum Control database is
located. On a Window operating system, this user name is typically
db2admin.
On Linux or AIX operating system, this user name is typically
db2inst1.
-
In the Password and Confirm password properties,
enter the password that is associated with the User ID property from the
previous substep.
-
On the Specify the IBM DB2 connection string page, in the
Testing section, click Test the connection.
-
On the Test the connection page, click Test.
-
When the test is successful, on the View the results page, click
Close.
-
On the Test the connection page, click
Close.
-
On the Specify the IBM DB2 connection string page, click
Next.
-
On the Specify the commands page, click
Finish.
-
Close your web browser.