
Set up the Java™ Runtime Environment, configure Microsoft® SQL Server as the Cognos® content store, configure the
IBM® WebSphere® Application Server instance to host
the report server, build and deploy the enterprise archive (EAR) files,
install the EAR files, and create the data warehouses.
About this task
The following list gives the steps to configure the report
server. If you chose the automatic method for the installation, step
1 is not needed.
Procedure
- Create a content store database. Ensure that
you, as the current user, have the necessary administrative privileges
to create databases and their components. The current user is the
one that can connect at run time to the Cognos content store. If you want other users
to connect at run time to the Cognos content store, see the IBM Cognos 8 Business
Intelligence Installation and Configuration Guide for instructions.
- If you have an existing content store from a previous
installation, delete it.
- Go to the C:\Program Files\IBM\RCPR\reportal\contentstore directory.
- Run the install.bat batch file.
- When prompted, specify the parameters for the content
store. To see a list of parameters and their explanations, see the
related links at the bottom of this page.
- Create a new content store in Cognos to reference the content database.
- Launch the IBM Cognos Configuration
tool by clicking .
- Click , right-click Content Store, and click .
- In the Database name field, enter
the name of the database created in step 1.
- Select the User ID and password row, click the Edit icon, and enter a user name and password that
can be used to access the database content store created at step 1.
- Select Local Configuration, and
click Save configuration.
- Create a new WebSphere Application Server instance to host the report server. This step is not needed
if you installed WebSphere Application Server through the Rational® Common Reporting installer.
- Configure the WebSphere Application Server instance to host the report server.
- Open the WebSphere Application Server administrative console (open a browser to point to http://localhost:9060/ibm/console/).
- Replace port 9060 with another port number if it differs
from what you recorded from the WebSphere Application Server Profile Management
tool.
- Log on to the WebSphere Application Server administrative
console (point the browser to http://localhost:portnumber/ibm/console/login.do, and enter your user name and password. By default, the user name
is blank).
- Expand the Servers node on the
left sidebar, and select Application servers.
- Click the server1 link, and expand
the Java and Process Management node.
- Click the Process Definition link,
and click the Java Virtual Machine link.
- Enter the initial and maximum JVM heap size as 256 and 768.
- Click Apply (at the bottom of
the page), and click the Save link.
- Click the Environment Entries link.
- Click New, and add the following
property:
LD_LIBRARY_PATH=[INSTALLDIR]\cognos\bin
- Make sure the following property is defined:
PATH=[INSTALLDIR]\cognos\bin
- Click Apply, and click Save.
- Open the Windows® Services control panel and restart the IBM WebSphere Application
Server V6.1 – Rational Common Reporting service.
- Build and deploy the report server EAR file.
- Launch the IBM Cognos Configuration
tool by clicking .
- Select Environment, and change
all the ports from 9300 to the port number of the WebSphere Application Server profile.
- Select Portal Services, and change
all the ports from 9300 to the port number of the WebSphere Application Server profile.
- Click Save, and click Close.
- Select .
- Click Next, accept the default
values, and click Next.
- Click Finish, and click Close.
- Install the report server EAR file.
- Log on to the WebSphere Application Server administrative
console (point the browser to http://localhost:portnumber/ibm/console/login.do, and enter your user name and password).
- Expand the Applications node
on the left sidebar, and select Install New Application.
- Click Browse, go to the [Rational_Common_Reporting_installation_directory]\cognos folder, and select the
p2pd.ear file.
- Accept the default options and click Next. Do this step four times.
- Click the Save link, click Enterprise Applications in the left sidebar, and if the
Default Application is listed, uninstall it.
- Select the IBM Cognos 8 application,
and click Start. The application takes a few
minutes to load fully and to start.
- Open a browser and point it to http://server:port/insight/servlet. If Cognos Content Manager
is working correctly, you see something similar to the following text
on the Web page:
IBM Cognos 8
Content Manager
Build: 8.4.2519.0
Start time: Tuesday, November 18, 2008 3:00:41 PM PST
Current time: Tuesday, November 18, 2008 3:01:25 PM PST
State: Running.
- Point the Web browser to http://server:port/insight. You should see the home page of the Rational Common Reporting portal.
- Import the Rational Common Reporting sample reports.
- Copy the [Rational_Common_Reporting_installation_directory]\reportal\deployment\Rational_Example_Reports.zip file to the [Rational_Common_Reporting_installation_directory]\cognos\deployment\ directory.
- Open the Cognos Web application at http://host/cognos8/cgi-bin/cognos.cgi.
- Open the Cognos administration page ().
- Click Configuration.
- Click Content Administration,
click the New Import icon.
- Ensure that your product archive is listed as a deployment
archive, and click Next.
- In the Name field, change the name from Rational_Example_Reports to Rational_Reports, and click Next.
- To import all packages and folders, select the box in
the table header, and click Next four times.
- Click Finish.
- Click Run.
- Click OK.
- Click the Home icon.
- Verify that all packages and folders are listed in Public Folders.
- Test the data source connections for the data warehouse
and the supported products.
- Open the Rational Common Reporting Web application at http://server:port/insight.
Note: If you do not know the URL, see [Rational_Common_Reporting_installation_directory]\AppServer\profiles\[Rational_Common_Reporting_installation_directory]\logs\AboutThisProfile.txt
- Open the Cognos administration page (Click , or if you are at the default home page of Rational Common Reporting, click the Administration link
in the banner).
- Click .
- Click the Set properties action
for the RIDW data source.
- Click the Connection tab.
- Click Test the connection.
- Click Test.
- Click Close twice, and then click OK.
- Click .
Note: To return to the list of data source
connections, you might need to click Cognos above the Name field.
- Click the Set properties action
for the product data source; for example, ClearQuest.
- Click the Connection tab.
- Click Test the connection.
- Click Test.
- Click Close twice, and then click OK.
- Test-run the Rational Common Reporting sample reports.
- Open the Cognos Web application at http://server:port/insight.
- Click your product folder.
- Run the reports.
- Create a user for accessing the data source.
- Open the Cognos administration page (Click IBM Cognos Administration or
if you are at the default home page of IBM Cognos, click ).
- Click .
- Click RIDW.
- Click New Signon, enter a name,
and click Next.
- Enter the user ID and password to access the data source.
To run reports, a user should have at least read privileges to the
data source.