Cisco Cisco Workload Automation 6.3 用户指南
15
Configuring the Cognos Adapter
Defining a Cognos Adapter Connection
Import Target Server Certificates Into a Java Keystore
You must now import the target server certificates into a local Java keystore.
Note:
These instructions assume that a JRE or JDK is in your system PATH.
To import certificates into a Java keystore
1.
Open a Windows
Command Prompt
window.
2.
Change to the directory where the certificates are stored by entering the following commands:
c:
cd \Cognos-Certs
3.
Use the Java keytool utility to import a certificate. The following syntax is used:
keytool -import -file <certificate-filename> -alias <server-name> -keystore Cognos.keystore
For example:
C:\Cognos-Certs>keytool -import -file sdkpubs01.crt -alias sdkpubs01 -keystore Cognos.keystore
4.
When prompted to create a password for the keystore, enter a password at the prompt. The keystore utility displays
the certificate information.
the certificate information.
5.
At the
Trust this certificate? [no]
prompt, type
yes and press
Enter
. The certificate is imported into the
Cognos.keystore
keystore and the following message displays:
Certificate was added to keystore
6.
Repeat this procedure for each target server.
7.
Navigate to the following folder where the CWA Cognos adapter is installed and create a new directory named
config
:
<install dir>\master\services\{0ADEF70E-8EAE-4477-8B50-A248592A0897}\config
8.
If necessary, create a text file named service.props. See
for more information
about configuring polling, output, and log gathering for the Cognos Adapter.
9.
Open the service.props text file and add the following line:
Keystore=c:\\Cognos-Certs\\Cognos.keystore
(Note the use of escaped backslashes for windows directories).
Defining a Cognos Adapter Connection
You must create one or more Cognos connections before CWA can run your Cognos jobs. These connections also must
be licensed before CWA can use them. A connection is created using the
be licensed before CWA can use them. A connection is created using the
Connection Definition
dialog.
To add a connection:
1.
From the
Navigator
pane, navigate to
Administration>Connections
to display the
Connections
pane.
2.
Right-click
Connections
and select
Add Connection>Cognos Adapter
from the context menu.