You can configure multiple connections within a single Cognos
Analytics data source to use Cognos
Analytics with multiple remote IBM
Spectrum Control databases.
Before you begin
On the machine where you have Cognos
Analytics installed, you must catalog the node and the database for each remote IBM
Spectrum Control database that you want to query when
generating Cognos
Analytics reports.
Follow the steps in the Before you begin section of Creating Cognos Analytics data source for the IBM Spectrum Control database to catalog the node and the database for each remote
IBM
Spectrum Control database. Then, follow the steps in
the Procedure section of the same topic to create the single data source for the
IBM
Spectrum Control databases and to create the first
connection to a specific IBM
Spectrum Control database
within that data source.
At this point, you will have one data source named TPCDB
defined in Cognos
Analytics and within that one data source, you
will have one connection defined, which is also named TPCDB
.
About this task
It's assumed that Cognos
Analytics is
installed on its own machine and that you have multiple IBM
Spectrum Control systems installed on separate machines.
Procedure
To rename the TPCDB
connection and to create more connections to other
remote IBM
Spectrum Control databases within the single
data source, 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) of the machine
where you installed Cognos
Analytics.
-
Select .
-
In the IBM Cognos Administration GUI, select the Configuration
tab.
-
In the Configuration tab, select Data Source
Connections.
-
On the Data Source Connections page, click the
TPCDB data source. This action will drill down one level and you will see the
TPCDB connection.
-
In Actions, click the Set properties - TPCDB icon;
it's the first icon in the list.
-
On the Set properties - TPCDB page, change the Name
value from TPCDB to a value that reflects the particular IBM
Spectrum Control database that this connection uses (for
example, scserv1).
-
Click OK.
You are returned to the Data Source Connections page and your first data
source has been renamed.
-
On the Data Source Connections page, in the toolbar, click the
New Connection icon. It's the first icon in the list.
-
On the Specify a name and description - New Connection page, in the
Name property, enter a value that reflects the particular IBM
Spectrum Control database that this connection will use (for
example, myserv2).
-
On the Specify a name and description - New Connection page, click
Next.
-
On the Specify a name and description - New 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 - New Connection page, in
the DB2 database name property, enter the alias value that
you created when you cataloged a particular remote IBM
Spectrum Control database.
-
On the Specify the IBM Db2 connection string - New Connection 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 remote IBM
Spectrum Control database is located. Note: On a Windows operating system, this user name is typically db2admin. On Linux® or AIX® operating systems, this user name is typically db2inst1.
-
In the Password and Confirm password properties,
enter the password that is associated with the User ID value from the
previous substep.
-
On the Specify the IBM Db2 connection string - New Connection page, in
the Testing section, click Test the connection.
-
Click Test.
-
When the test is successful, on the View the results page, click
Close.
-
On the Test the connection - New Connection page, click
Close.
-
On the Specify the IBM Db2 connection string - New Connection page, click
Next.
-
On the Specify the commands - New Connection page, click
Finish.
Results
Your new connection is added to the list of connections defined for the single
TPCDB
data source. You can repeat Steps 10 - 23 to create a new connection for each
remote IBM
Spectrum Control database that you want to use
when you generate reports. When you have multiple connections defined and you generate a report, you
are prompted to select a specific connection to use for that report.