Cognos ReportNetTM Installation and Configuration Guide

Cognos ReportNetTM Installation and Configuration Guide Cognos ReportNetTM Installation and Configuration Guide

sharepoint.cabq.gov
from sharepoint.cabq.gov More from this publisher
20.07.2014 Views

Chapter 4: Configuring ReportNet 6. Add the following to the end of the load module list: • On Windows LoadModule cognos_module "crn_location\cgi-bin\mod_cognos.dll" • On Solaris and AIX, LoadModule cognos_module "crn_location/cgi-bin/mod_cognos.so" • On HPUX, LoadModule cognos_module "crn_location/cgi-bin/mod_cognos.sl" 7. Add the following to the end of the add module list: AddModule mod_cognos.cpp 8. Add the following to the aliases section: ScriptAlias /crn/cgi-bin "crn_location/cgi-bin" Alias /crn "crn_location/webcontent" Alias /crn/help "crn_location/webcontent/documentation" Options Indexes MultiViews Tip: Ensure that you define the crn/cgi-bin alias before the crn and crn/help aliases. 9. Add the following to the server status reports section: • On Windows SetHandler cognos-handler • On Solaris and AIX SetHandler cognos-handler • On HPUX SetHandler cognos-handler 10. Add the following to the user directory section: CGIBinDir "crn_locaton/cgi-bin" 11. Start Apache Web Server. Steps to configure servlet gateway 1. Ensure your Web server infrastructure supports servlets. 2. On the ReportNet gateway computer, go to the crn_location/war/gateway directory. 3. Type the appropriate command to create the ServletGateway.war in crn_location: • On UNIX, type build.sh • On Windows, type build.bat 4. Copy the ServletGateway.war file to your Web server installation. For information about the requirements for using servlets, see your Web server documentation. 5. From the command line, type the following option after the command that starts the Java VM: -DCRN_ROOT="crn_location" 52 Cognos ReportNet TM

Chapter 4: Configuring ReportNet 6. Add the crn_location/bin path to the following environment variable. Operating System Windows AIX Solaris HPUX Environment Variable PATH LIBPATH LD_LIBRARY_PATH SHLIB_PATH 7. To access ReportNet using the servlet gateway, configure the Gateway URI to use the servlet address format as configured in the Web server administration tool. Configure the Gateway to Use a Namespace If ReportNet uses multiple namespaces or anonymous access is enabled and ReportNet uses one namespace, you can configure the ReportNet gateway to connect to one namespace. Users logged onto the Web server where the gateway is located are not be prompted to choose an authentication source. For example, if you have two Web servers, you can configure each Web server to use a different namespace. Steps 1. On the computer where the gateway is located, start Cognos Configuration. 2. In the Explorer window, click Environment. 3. In the Properties window, in the Value box next to the Gateway namespace property, type the Namespace ID of the namespace you want to use. 4. From the File menu, click Save. Enable and Disable Services In a distributed installation, you can send certain types of requests to specific computers by enabling or disabling the installed services. For example, to dedicate a computer to running and distributing reports, you can disable the presentation service on a report server computer. If you installed all components on several computers, you can disable appropriate services on each computer to get the distributed configuration you require. Requests are sent only to dispatchers where a given service is enabled. Disabling a service prevents the service from loading into memory. When disabled, services do not start and therefore do not consume resources. The service does not run until you enable it. If you disable the dispatcher service, all services that run under that dispatcher are also disabled. Only dispatcher services that are enabled can process requests. Steps 1. Start Cognos Configuration. 2. In the Explorer window, under Environment, click ReportNet Service. 3. In the Properties window, click the Value box beside the service that you want to disable or enable. By default, all services are enabled. 4. Click the appropriate state for the services: • To disable the service, click False. • To enable the service, click True. 5. From the File menu, click Save. Installation and Configuration Guide 53

Chapter 4: Configuring ReportNet<br />

6. Add the following to the end of the load module list:<br />

• On Windows<br />

LoadModule cognos_module "crn_location\cgi-bin\mod_cognos.dll"<br />

• On Solaris <strong>and</strong> AIX,<br />

LoadModule cognos_module "crn_location/cgi-bin/mod_cognos.so"<br />

• On HPUX,<br />

LoadModule cognos_module "crn_location/cgi-bin/mod_cognos.sl"<br />

7. Add the following to the end of the add module list:<br />

AddModule mod_cognos.cpp<br />

8. Add the following to the aliases section:<br />

ScriptAlias /crn/cgi-bin "crn_location/cgi-bin"<br />

Alias /crn "crn_location/webcontent"<br />

Alias /crn/help "crn_location/webcontent/documentation"<br />

<br />

Options Indexes MultiViews<br />

<br />

Tip: Ensure that you define the crn/cgi-bin alias before the crn <strong>and</strong> crn/help aliases.<br />

9. Add the following to the server status reports section:<br />

• On Windows<br />

<br />

SetH<strong>and</strong>ler cognos-h<strong>and</strong>ler<br />

<br />

• On Solaris <strong>and</strong> AIX<br />

<br />

SetH<strong>and</strong>ler cognos-h<strong>and</strong>ler<br />

<br />

• On HPUX<br />

<br />

SetH<strong>and</strong>ler cognos-h<strong>and</strong>ler<br />

<br />

10. Add the following to the user directory section:<br />

<br />

CGIBinDir "crn_locaton/cgi-bin"<br />

<br />

11. Start Apache Web Server.<br />

Steps to configure servlet gateway<br />

1. Ensure your Web server infrastructure supports servlets.<br />

2. On the ReportNet gateway computer, go to the crn_location/war/gateway directory.<br />

3. Type the appropriate comm<strong>and</strong> to create the ServletGateway.war in crn_location:<br />

• On UNIX, type build.sh<br />

• On Windows, type build.bat<br />

4. Copy the ServletGateway.war file to your Web server installation.<br />

For information about the requirements for using servlets, see your Web server<br />

documentation.<br />

5. From the comm<strong>and</strong> line, type the following option after the comm<strong>and</strong> that starts the Java<br />

VM:<br />

-DCRN_ROOT="crn_location"<br />

52 <strong>Cognos</strong> ReportNet TM

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!