| 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
|