Configuring the report server: Tasks for Oracle Server

Linux Set up the Java™ Runtime Environment, create an Oracle Listener and Net Service, configure Oracle as the Cognos® content store, configure the IBM® WebSphere® Application Server instance to host the report server, build and deploy the enterprise archive files, install the enterprise archive files, and create the data warehouses.

About this task

To configure the report server:
Note: Step 1 and steps 5 to 11 are not needed if you chose the automatic installation method for installing the report server.

Procedure

  1. Create a content store database.
    Note: Ensure that you, as the current user, have the necessary administrative privileges to create databases and table space containers. 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.
    1. Login as an Oracle DBA user.
    2. If you have an existing content store from a previous installation, delete it.
    3. Go to the /opt/IBM/RCPR/reportal/contentstore directory.
    4. Switch to the root user by running the su command. If prompted, type the root password.
    5. Set the permissions for the files and folders by running the following command:
      chown oinstall.oinstall /opt/IBM/RCPR/reportal/contentstore -R
    6. Return to the database administrator console and run the install.sh shell script through the following command:
      [oinstall@VEGAVM contentstore]$ ./install.sh
    7. 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.
  2. Create the listener.
    1. Set the system variable ORACLE_SID=$SID, where $SID is the database you created in step 1.
    2. Start Oracle Net Manager.
    3. Expand the nodes and select Listeners. Click Edit > Create.
    4. Enter the listener name and click OK.
    5. Click Add Address and specify the host and the port for Rational® Common Reporting Data Service.
    6. Click Add Database, enter the database name, home directory and SID, and click File > Save Network Configuration.
  3. Start the listener through the following command.
    lsnrctl start
  4. Create the service name.
    1. Start Oracle Net Configuration Assistant.
    2. Select the Local Net Service Name configuration and click Next.
    3. Select Add and click Next.
    4. Enter the service name and click Next.
    5. Select a protocol and click Next.
    6. Enter the host name and port. Select Yes, perform a test, click Next, change the logon if necessary, make sure the connection passes the test.
    7. Enter the net service name and click Next.
  5. To avoid problems with encryption, set up the Java Runtime Environment (JRE) so that Cognos and the report server run on the same JRE instance.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
    1. Set the JAVA_HOME variable to point to the WebSphere Application Server JRE folder and add %JAVA_HOME%\bin at the beginning of the system path:
      JAVA_HOME=[WASDIR]\java\jre
      
      PATH=%JAVA_HOME%\bin;…
    2. Copy the [Rational_Common_Reporting_installation_directory]/cognos/bin/jre/1.5.0/lib/ext/bcprov-jdk14-134.jar file to the [websphere_installation_directory]/java/jre/lib/ext directory.
    3. Ensure that the appropriate Oracle drivers is installed in the [Rational_Common_Reporting_installation_directory]/cognos/webapps/p2pd/WEB-INF/lib directory:
      • Oracle 10g: ojdbc14.jar
      • Oracle 11g: ojdbc5.jar
  6. Delete the Tomcat-based IBM Cognos 8 service.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
    1. Start the Cognos administration console (run cogconfig.sh under /opt/IBM/RCPR/cognos/bin).
    2. Right-click the IBM Cognos 8 node, select Delete, and click Yes.
    3. Click Save, and click Close.
  7. Create a new content store in Cognos to reference the content database.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
    1. Start the Cognos administration console (run cogconfig.sh under /opt/IBM/RCPR/cognos/bin).
    2. Click Data Access > Content Manager, right-click Content Store, and click New Resource > Database.
    3. In the Database name field, enter the name of the database created in step 1.
    4. 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.
    5. Select Local Configuration, and click Save configuration.
  8. 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.
  9. If you have changed the Cognos configuration, restart WebSphere Application Server.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
  10. Configure the WebSphere Application Server instance to host the report server.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
    1. Open the WebSphere Application Server administrative console (open a browser to point to http://localhost:9060/ibm/console/).
    2. Replace port 9060 with another port number if it differs from what you recorded from the WebSphere Application Server Profile Management tool.
    3. 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).
    4. Expand the Servers node on the left sidebar, and select Application servers.
    5. Click the server1 link, and expand the Java and Process Management node.
    6. Click the Process Definition link, and click the Java Virtual Machine link.
    7. Enter the initial and maximum JVM heap size as 256 and 768.
    8. Click Apply (at the bottom of the page), and click the Save link.
    9. Click the Environment Entries link.
    10. Click New, and add the following property:

      LD_LIBRARY_PATH=[INSTALLDIR]\cognos\bin

    11. Click OK, click New, and add the following property:

      PATH=[INSTALLDIR]\cognos\bin

    12. Click Apply, and click Save.
  11. Install the report server enterprise archive file.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
    1. Log on to the WebSphere Application Server administrative console (point the browser to http://localhost:port/ibm/console/login.do, and enter your user name and password).
    2. Expand the Applications node on the left sidebar, and select Install New Application.
    3. Click Browse, go to the [Rational_Common_Reporting_installation_directory]\cognos folder, and select the p2pd.ear file.
    4. Accept the default options and click Next. Do this step four times.
    5. Click the Save link, click Enterprise Applications in the left sidebar, and if the Default Application is listed, uninstall it.
    6. Select the IBM Cognos 8 application, and click Start. The application takes a few minutes to load fully and to start.
    7. 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.
    8. Point the Web browser to http://host:port/insight. You should see the home page of the Rational Common Reporting portal.
  12. Import the Rational Common Reporting sample reports.
    Note: This step is not needed if you chose the automatic installation method for installing the report server.
    1. Copy the [Rational_Common_Reporting_installation_directory]/reportal/deployment/Rational_Example_Reports.zip file to the [Rational_Common_Reporting_installation_directory]/cognos/deployment/ directory.
    2. Open the Cognos Web application at http://host/cognos8/cgi-bin/cognos.cgi.
    3. Open the Cognos administration page (Launch > IBM Cognos Administration).
    4. Click Configuration.
    5. Click Content Administration, click the New Import icon.
    6. Ensure that your product archive is listed as a deployment archive, and click Next.
    7. In the Name field, change the name from Rational_Example_Reports to Rational_Reports, and click Next.
    8. To import all packages and folders, select the box in the table header, and click Next four times.
    9. Click Finish.
    10. Click Run.
    11. Click OK.
    12. Click the Home icon.
    13. Verify that all packages and folders are listed in Public Folders.
  13. Test the Cognos data source connections for the data warehouse and the supported products.
    1. Start the WebSphere Application Server administrative console. The default URL is http://localhost:9060/ibm/console/login.do.
    2. Open the Cognos administration page (click Launch > IBM Cognos Administration or if you are at the Custom Reporting page, click the Administration link in the banner).
    3. Click Configuration > Data Source Connections > RIDW.
    4. Click the Set properties action for the RIDW data source.
    5. Click the Connection tab.
    6. Click Test the connection.
    7. Click Test.
    8. Click Close twice, and then click OK.
    9. Click Configuration > Data Source Connections > [your_product].
      Note: To return to the list of data source connections, you might need to click Cognos above the Name field.
    10. Click the Set properties action for the product data source; for example, ClearQuest.
    11. Click the Connection tab.
    12. Click Test the connection.
    13. Click Test.
    14. Click Close twice, and then click OK.
  14. Test-run the Rational Common Reporting sample reports.
    1. Open the Cognos Web application at http://server:port/insight.
    2. Click the your product folder.
    3. Run the reports.
  15. Create a user for accessing the data source.
    1. Open the Cognos administration page (Click IBM Cognos Administration or if you are at the default home page of IBM Cognos, click Launch > Administer IBM Cognos Content).
    2. Click Configuration > Data Source Connections > RIDW.
    3. Click RIDW.
    4. Click New Signon, enter a name, and click Next.
    5. 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.

Feedback