As04 c8.3 C8se Install and Config
As04 c8.3 C8se Install and Config
As04 c8.3 C8se Install and Config
Copyright
Copyright © 2008 Cognos ULC (formerly Cognos Incorporated). Cognos ULC is
an IBM Company. While every attempt has been made to ensure that the
information in this document is accurate and complete, some typographical
errors or technical inaccuracies may exist. Cognos does not accept responsibility
for any kind of loss resulting from the use of information contained in this
document. This document shows the publication date. The information contained
in this document is subject to change without notice. Any improvements or
changes to the information contained in this document will be documented in
subsequent editions. This document contains proprietary information of Cognos.
All rights are reserved. No part of this document may be copied, photocopied,
reproduced, stored in a retrieval system, transmitted in any form or by any
means, or translated into another language without the prior written consent of
Cognos. Cognos and the Cognos logo are trademarks of Cognos ULC (formerly
Cognos Incorporated) in the United States and/or other countries. IBM and the
IBM logo are trademarks of International Business Machines Corporation in the
United States, or other countries, or both. All other names are trademarks or
registered trademarks of their respective companies. Information about Cognos
products can be found at www.cognos.com
This document is maintained by the Best Practices, Product and Technology
team. You can send comments, suggestions, and additions to
[email protected] .
Table of Contents
1 Introduction ...........................................................................................................................................1
1.1 Definitions, Acronyms, and Abbreviations ..................................................................................1
1.2 Purpose.........................................................................................................................................1
1.3 Scope............................................................................................................................................2
1.4 Assumptions & Prerequisites .......................................................................................................3
2 System Preparation ...............................................................................................................................5
2.1 Cleanup Existing Environment ....................................................................................................5
2.2 User Accounts ..............................................................................................................................5
2.3 Install Java on UNIX / Linux .......................................................................................................6
2.4 IBM Software CD Images............................................................................................................6
3 Script Architecture................................................................................................................................9
4 Scenario - Single-Server (All In One) ................................................................................................10
4.1 Cognos 8 Installer - ISSetup.......................................................................................................10
4.2 Manual Environment Changes ...................................................................................................15
4.3 Manually Starting the IBM Product Install and Configuration ..................................................17
4.4 C8SE_master – Script Progress and Output ...............................................................................18
5 Scenario - Distributed Component Install.........................................................................................19
5.1 Cognos 8 Content Manager Install .............................................................................................19
5.2 Cognos 8 Application Tier Component Install...........................................................................23
5.3 Cognos 8 Gateway Install...........................................................................................................30
6 Managing the IBM Product Suite ......................................................................................................35
6.1 IBM DB2 WSEE........................................................................................................................35
6.2 IBM WebSphere.........................................................................................................................36
6.3 IBM HTTP Server (IHS)............................................................................................................37
7 Uninstalling IBM and Cognos Products............................................................................................39
7.1 IBM DB2 UDB / WSE...............................................................................................................39
7.2 IBM WebSphere.........................................................................................................................39
7.3 IBM HTTP Server (IHS)............................................................................................................39
7.4 Cognos 8.....................................................................................................................................39
8 Troubleshooting & Verification .........................................................................................................40
8.1 IBM Product Installer (DB2 and WAS) .....................................................................................40
8.2 IBM DB2 Database Configuration Error ...................................................................................42
8.3 IBM DB2 License Registration ..................................................................................................44
8.4 Distributed Installation ...............................................................................................................45
8.5 IBM WebSphere.........................................................................................................................45
9 Error Messages....................................................................................................................................49
9.1 JAVA_HOME environment variable has not been set...............................................................49
9.2 XML Parser - Transformation Aborted ......................................................................................49
9.3 CM-CFG-5063 / CM-SYS-5003 / SQL1032N...........................................................................49
1 Introduction
Term Definition
C8SE Cognos 8 Special Edition
WAS IBM WebSphere Application Server
IHS IBM HTTP Server (Apache)
UDB IBM Universal Database (DB2)
CM Cognos 8 Content Manager Component
ATC Cognos 8 Application Tier Components
GW Cognos 8 Gateway Component
WSE IBM DB2 WorkGroup Server Edition
1.2 Purpose
Cognos 8 Special Edition provides a mechanism that automates the installation and configuration of
Cognos 8, IBM WebSphere, IBM DB2 UDB and IBM HTTP Server with a minimal amount of user input.
This document is for those who have limited experience with Cognos 8 Special Edition and who wish to set
up an environment using the IBM product infrastructure. It also contains some detailed troubleshooting
information and functionality of the scripts used in the install.
In addition to performing the normal Cognos 8 installation ISSetup will prompt for information relating to
the IBM components listed below when the associated Cognos 8 component is selected by the user during
the install.
Cognos 8 – Gateway
IBM HTTP Server
* Note: Only 1 copy of IBM WebSphere or DB2 will be installed when CM or ATC or both CM & ATC
are selected.
1.3 Scope
Product Versions
The Cognos 8.3 Special Edition product suite currently consists of:
• Cognos 8 Special Edition (8.3)
• IBM WebSphere Express Edition v6.1.0.3 Base
• IBM HTTP Server v6.1.0.3 [Apache/2.0.47]
(Packaged with IBM WebSphere but installed and configured separately)
• IBM DB2 Workgroup Server Edition (2 CPU License) v9.1
Platforms
Windows, AIX, Solaris, HP/UX, Linux i386 (Intel)
Update: IBM DB2 is not available on HP-UX 11.2 for PA-RISC so HP support was removed .
Platform Variations
The instructions in this document will work cross platform (Windows / UNIX / Linux) however the
examples shown will often be based on a Windows install although there is a mixture throughout this
document. The user is expected to know the proper format regarding the syntax for variables and other
operating system difference. For example, use ${VARIABLE} for UNIX and %VARIABLE% for
Windows. Consult your UNIX and Windows documentation for more information regarding commands,
syntax and scripting.
Install Types
The installation and setup of a single server environment and the installation of separate components will
be documented. Other install scenarios are simply variations on these two basic install types.
• Clean Environment - C8SE makes the assumption that you have a clean working environment and
that the products that will be installed do not currently reside on your system. It is imperative that
any existing products that may conflict with the C8SE (and the IBM components in particular) be
properly removed prior to running the C8SE installation. Note: Manual deletion of directories is
typically not an appropriate removal method as registration files are left behind in various
locations such as the Windows registry and Unix system directories. Use the appropriate
uninstall tools to successfully remove conflicting/similar products. In addition to path conflicts
(DB2 on UNIX for example must install into a specific path) existing products may use default
ports that will also conflict with the C8SE versions that will be installed.
• User Accounts / Access Rights - IBM DB2 requires Root access on UNIX platforms and on
Windows the user must be a member of the Administrators group. Windows installs will therefore
be performed using a single user ID and you must be logged on as that user to run the C8SE install
(and dependant IBM products). UNIX installs require 3 accounts. You must be logged on as a
root-equivalent user to perform the C8SE install (and dependant IBM products) and must have the
User ID and password information for a DB2 administrative user as well as a DB2 client user.
These accounts must therefore be created prior to running the C8SE installation.
• IBM Product Versions / CD Images - C8SE may only be used with the versions of the IBM
products included in the package and other CD images may cause the installation and
configuration to fail.
• Hardware and Operating System Dependencies – There are many dependencies for DB2,
WebSphere and Cognos 8. As these are numerous, please consult the IBM website and/or the DB2
and WebSphere documentation to determine the software and operating system requirements. The
Cognos customer support web site should also be consulted to determine the minimum
requirements for the Cognos 8 product. In most cases, the hardware and operating system is not
validated for conformance and the install tools assume it is suitable.
• System Resources - Considerably more memory, hard disk space and CPU power is required to
run any full Database Server (DB2) and Application Server (WebSphere). The minimum
requirements for DB2, WebSphere and Cognos 8 should be compared to available resources. 1GB
of physical memory should be considered a minimum to ensure performance and reliability. The
default configuration will set 768MB of memory for the maximum java heap size in WebSphere,
although this can be adjusted manually after the installation and configuration has completed.
Approximately 5GB of disk space is required to hold the CD images and product installs.
• Temporary Disk Space – At least 500MB of temporary working disk space must be available in
addition to the product space requirements to allow for building and deploying application files as
well as other functions.
• Java Version - The JRE used to perform the installation must meet minimum conformance levels
for both WebSphere and Cognos 8. An environment variable with the name JAVA_HOME must
be set prior to running the C8SE installation. The JVM used for running the product after the
installation and configuration will be the one that is installed as part of the WebSphere install.
• Documentation – Installation and administrative documentation for WebSphere, DB2 UDB, IBM
HTTP Server and Cognos 8 must be available as a resource.
• Basic O/S Knowledge - Familiarity with the operating system (O/S) with which you are using is
essential. You must be familiar with O/S level tasks including user commands at the command
line, variable syntax, scripting, etc. as many basic functions that are not documented.
• Product Knowledge - You must already know how to setup and run Cognos 8 in a standard
environment (non-application server). Knowledge of Cognos 8 in an application server
environment would be a definite asset. Familiarity with the IBM product suite (DB2, WAS and
IHS) is also required. Once C8SE and the associated products have been installed and configured,
the user must be able to manage (start / stop / configure) the various processes.
• Default Values – Since the environment into which you are installing is assumed to be “clean”,
default port values will be used to perform the product installs. In addition, some product install
paths (DB2 on Unix for example) are not modifiable by the C8SE scripts.
Default ports:
IBM HTTP Server: 80, 8008
IBM WebSphere: 9080, 9060, 9443, 2809, 8880, 9401, 9402, 9403, 9100, 9353, 7276,
7286, 5558, 5578
IBM DB2: 50001(Windows), 50002 (UNIX)
Cognos 8: 9362
2 System Preparation
• Uninstall existing DB2 client or database server instances. (On Windows, use Add/Remove
Programs. On UNIX, use the db2_deinstall program located under the DB2 install kit.)
• Remove remaining directories that the uninstall program didn’t remove (e.g. C:\DB2, C:\Program
Files\IBM, etc.) You may wish to do a file search for “IBM” and “DB2”.
• Remove any Windows services that may still be registered. (Check Services dialog and regedit)
• Remove the existing Cognos 8 and WebSphere installs or install C8SE to a new location.
• Make sure you have plenty of space available on your hard disk.
• Clear unnecessary files from your Temp or /tmp directory.
Creating accounts with the appropriate rights / privileges is critical to a successful install.
On Unix, ensure the profile of the db2user account is set to run the DB2 profile script even though it won’t
exist until DB2 is installed. (T#579638)
Example .profile
if [ -f /home/db2user/sqllib/db2profile ]; then
. /home/db2user/sqllib/db2profile
fi
2.2.1 Windows
On Windows, a single user account can be used to perform all of the install, configuration and management
tasks. If possible (local security policies may override) create a user called “db2admin” with password
“db2admin_1234” and add the user to the Administrators group. If you cannot use these credentials, read
carefully the section later in this document where the user information may be modified after Cognos 8 is
transferred to disk, prior to running the Special Edition scripts.
Log in as the new DB2 user and run the Cognos 8 issetup utility after performing the other prerequisite
tasks.
Create, and log in as, a user account that has root privileges.
Create 2 accounts to be used for DB2. Use the default names if security policies permit. If you cannot use
these credentials, read carefully the section later in this document where the user information may be
modified after Cognos 8 is transferred to disk, prior to running the Special Edition scripts.
Both the DB2 Administrative and regular user should be made members of a group called “db2” (again, see
the appropriate section if this default group name is not used).
After the installation, the JRE that ships with WebSphere will be used since this is the environment that the
Cognos 8 product will run under.
For UNIX / Linux, install a Cognos 8 compatible JRE or JDK and set an environment variable named
“JAVA_HOME” that points to the appropriate directory.
Important: If you are installing on UNIX or Linux, you cannot copy the files from a Windows computer.
If you do, the file names may be converted to all capital letters, permissions are not set correctly and the
installation will not work. The CD must be mounted on the UNIX computer to maintain the case sensitivity
of the file names and the proper permissions.
More information on this issue can be found on the IBM web site:
Technote (FAQ)
Installation of WebSphere Application Server fails due to file name case sensitivity mismatch
Problem
After FTP download of installation files from a Microsoft® Windows® platform to a UNIX®
platform, file names are in uppercase, causing installation to fail.
Cause
When viewing a UNIX installation CD for WebSphere® Application Server on a Windows
platform, file names all appear in uppercase. The installation files were transferred to the Unix
platform using FTP.
When the files were transferred to the UNIX system, they were received with uppercase file names.
This causes the installation on the UNIX platform to fail.
Solution
On UNIX platforms, mount the installation CD on the system to maintain the case sensitivity of the
files.
Remote installations of WebSphere should be between like platforms, such as UNIX to UNIX or
Windows to Windows, so that the correct file structure, symbolic links and file permissions are
preserved.
Mount the WebSphere CD or Copy WebSphere Application Server and HTTP Server Installation
Source Files
The WebSphere CD contains the installation files for both WebSphere Application Server and HTTP
Server.
The directory where you copy the contents is treated as the root directory of the CD when you are prompted
for the location of the IBM installation source files.
2. On Windows, if the Launchpad window appears because autorun is enabled, close the window.
3. If you cannot mount/load more than 1 CD at a time, copy the entire contents of the CD to your
computer.
The directory where you copy the contents will be the directory you are prompted for in the installation
wizard.
3 Script Architecture
The following diagram outlines the flow and run order for the C8SE scripts. These scripts are located in
<C8SE_install_path>/C8SE.
Issetup is invoked (passing appropriate command line parameters). This step creates / populates the
C8SE_env[.bat|.sh] file based on defaults and user input. Unix users may have to manually edit this file to
match values to their environment.
C8SE_master_env[.bat|.sh] contains all the non-editable values that the remaining scripts will use.
C8SE_env[.bat|.sh] and C8SE_master_env[.bat|.sh] are used as inputs by the other scripts along with a
variety of template files that are also located in this directory.
The C8SE_master[.bat|.sh] script controls the remaining scripts which are invoked in the order listed in the
diagram below.
Note: The IBMSE references in the above diagram should be changed to C8SE
The installation wizard welcome page will be displayed. Select the appropriate language.
The Cognos 8 License Agreement must be read and accepted to continue with the installation.
The IBM License Agreement must be read and accepted to continue with the installation.
Enter or browse to a suitable installation location. The path must not contain spaces.
Select the Cognos 8 component(s) that you will be installing. This example run will be a full install. The
associated IBM products will be automatically selected based on the Cognos 8 components.
On a full C8SE install, in addition to the C8 components, all of the IBM products will be installed. It is
therefore necessary to specify the source locations where the CD images were copied to in order for the
C8SE scripts to launch the IBM installers.
Note: If the WebSphere CD path is entered, it is not necessary to enter the IHS path since they reference
the same location.
The installation summary page will show the Cognos 8 and associated IBM products that will be installed.
The installation progress indicator will show the completion status of the Cognos 8 components. The IBM
products will be installed and configured later in the process.
Once the Cognos 8 components have been transferred to disk, you may view the logs and perform other
selections similar to a tomcat install. In addition, if no other manual configuration changes are required,
you may select to launch the C8SE master script upon exiting issetup.
Important:
If you must make changes to the C8SE_env[.bat|.sh] script, then uncheck the “Launch Cognos 8 Special
Edition Master Script” checkbox now. More information on this is provided in the next section.
It is also possible that you simply want to defer the IBM product installation and configuration until a later
time. In this case, you may also uncheck the “Launch Cognos 8 Special Edition Master Script” checkbox
and launch the script manually when you are ready.
Important:
It is not recommended that you “Start Cognos Configuration” unless you understand the potential
consequences. You run a risk of creating incompatible encryption keys and will potentially be altering
values that will cause the IBM automated configuration to fail. If you want to make changes in Cognos
Configuration, it is advisable to do so after the IBM products have been installed and configured.
These scripts and templates, with the exception of C8SE_env[.bat|.sh], are not meant to be edited or
changed by the user.
C8SE_env[.bat|.sh] contains all the variables that may safely be modified prior to running the IBM product
installs and configuration. This file will be pre-populated with either default values or values that have been
entered via the issetup UI.
Edit the values in the C8SE_env[.bat|.sh] script to match the DB2 user(s) and password that you created.
This is a text based file. Use only a text based editor or be sure to save the file in the proper format.
Notepad (Windows) and vi (UNIX / Linux) are examples of safe editors should you need to make changes
to this file.
The C8SE_C8_DB_Name variable is used by Cognos Configuration to specify the name of the DB2
database instance that will be used for the Cognos 8 Content Manager component. The default value is
“CM”
The C8SE_C8_DB_UID and C8SE_C8_DB_Pass variables are used by Cognos Configuration to connect
to the database instance. On Windows, this must be the administrative account information that you used to
log in to the system. For security purposes, this information should be removed from the file after the
install and configuration is complete.
@rem *******************************************************
@rem IBM DB2 and Cognos 8 Content Store Database Information
@rem *******************************************************
For UNIX and Linux platforms the following information must be provided. Similar to Windows, the
C8SE_C8_DB_Name, C8SE_C8_DB_UID and C8SE_C8_DB_Pass variables must be populated with the
correct values. In this case, though, the C8SE_C8_DB_UID value represents the User ID/Name of the
account that will be used to access the DB2 Content Store instance. On these platforms the DB2
administrative user and the DB2 instance owner must be unique. For security purposes, this information
should be removed from the file after the install and configuration is complete.
The C8SE_DB2_Admin variable must contain the User ID/Name of the account that was previously created
for DB2 Administration.
The C8SE_DB2_Group variable must contain the UNIX group ID/Name that the DB2 user account and
administrator account belong to. The default value is “db2”. This group must exist for successful
completion.
The C8SE_User_Home variable must be set to the root of where user home directories are located. The
user account information and the user home path will be combined during the installation so that scripts and
configuration commands can be run by the DB2 administrative user. The default value is “/home” but this
may not be appropriate for your environment. This directory must exist for successful completion.
# Path to the User Home directories under which the DB2 Instance owner
directory can be found
C8SE_User_Home="/home"
After the DB2 (or other appropriate) values have been modified and saved, you may now launch the IBM
product install and configuration script manually.
Ensure the JAVA_HOME environment variable is set in your system or manually set it within the command
window or terminal window prior to launching the master script.
Navigate to the <C8_Root>/C8SE directory from a command prompt or via Explorer (Windows) and
launch the master script by typing:
Windows: C8SE_master.bat
This detailed log should be examined at the end of the run to find potential issues that the installer ran into.
In some cases it is necessary to look in alternative locations to find some of the third party log files. More
information on this topic can be found in the troubleshooting section of this document.
The following examples show the progress and output from running an install end to end on Windows and
UNIX.
Windows Example:
Unix Example:
When the installation and configuration cycle has completed you will be returned to the command prompt.
The installation wizard welcome page will be displayed. Select the appropriate language.
The Cognos 8 License Agreement must be read and accepted to continue with the installation.
Screen capture available in the Single Server Install chapter
The IBM License Agreement must be read and accepted to continue with the installation.
Screen capture available in the Single Server Install chapter
Enter or browse to a suitable installation location. The path must not contain spaces.
Screen capture available in the Single Server Install chapter
In this distributed install example, all components other than Content Manager will be unselected.
On a C8SE Content Manager install, in addition to the C8 components, DB2 and WebSphere will be
installed. It is therefore necessary to specify the source locations where the CD images were copied to in
order for the C8SE scripts to launch the IBM installers.
The installation summary page will show the Cognos 8 and associated IBM products that will be installed.
The installation progress indicator will show the completion status of the Cognos 8 components. The IBM
products will be installed and configured later in the process.
Screen capture available in the Single Server Install chapter
Once the Cognos 8 components have been transferred to disk, you may view the logs and perform other
selections similar to a tomcat install. In addition, if no other manual configuration changes are required,
you may select to launch the C8SE master script upon exiting issetup.
Important:
If you must make changes to the C8SE_env[.bat|.sh] script, then uncheck the “Launch Cognos 8 Special
Edition Master Script” checkbox now. More information on this is provided in the Manual Environment
Changes section.
It is also possible that you simply want to defer the IBM product installation and configuration until a later
time. In this case, you may also uncheck the “Launch Cognos 8 Special Edition Master Script” checkbox
and launch the script manually when you are ready.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Reminder:
You may need to modify the DB2 User Credentials and home directory,
particularly on UNIX / Linux. The Manual Environment Changes section
under the Single Server install documents the steps required to accomplish
this task.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Note that in the case of a Cognos 8 Content Manager distributed install, IHS is not required and therefore
will not be installed or configured.
Now that the installation and configuration is complete, you may start the installed components / products
at any time. The steps to start the products and test your environment are located later in this document.
Cognos 8 Content Manager must be running before performing other component installs.
Reminder: Cognos 8 Content Manager must be installed, configured and operational before attempting to
perform additional Cognos 8 Application Tier Component installs.
Issetup must be invoked by passing command line parameters to enable the C8SE functionality. Open a
command prompt and navigate to the C8 install directory or CD.
The installation wizard welcome page will be displayed. Select the appropriate language.
The Cognos 8 License Agreement must be read and accepted to continue with the installation.
The IBM License Agreement must be read and accepted to continue with the installation.
Select the Cognos 8 component(s) that you will be installing. This example run will be an Application Tier
Components distributed install. The associated IBM products will be automatically selected based on the
Cognos 8 components. Unselect all other components.
On an Application Tier Components install, in addition to the C8 components, DB2 client and WebSphere
will be installed. It is therefore necessary to specify the source locations where the CD images were copied
to in order for the C8SE scripts to launch the IBM installers. Browse to or type in the source CD path for
the listed products.
The Application Tier Component only install prompts for the Gateway URI and Content Manager URI.
Enter appropriate values for your environment using either host names or IP addresses.
The installation summary page will show the Cognos 8 and associated IBM products that will be installed.
The installation progress indicator will show the completion status of the Cognos 8 components. The IBM
products will be installed and configured later in the process.
Once the Cognos 8 components have been transferred to disk, you may view the logs and perform other
selections similar to a tomcat install. In addition, if no other manual configuration changes are required,
you may select to launch the C8SE master script upon exiting issetup.
Important:
If you must make changes to the C8SE_env[.bat|.sh] script, then uncheck the “Launch Cognos 8 Special
Edition Master Script” checkbox now. More information on this is provided in the next section.
It is also possible that you simply want to defer the IBM product installation and configuration until a later
time. In this case, you may also uncheck the “Launch Cognos 8 Special Edition Master Script” checkbox
and launch the script manually when you are ready.
Important:
It is not recommended that you “Start Cognos Configuration” unless you understand the potential
consequences. You run a risk of creating incompatible encryption keys and will potentially be altering
values that will cause the IBM automated configuration to fail. If you want to make changes in Cognos
Configuration, it is advisable to do so after the IBM products have been installed and configured.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Reminder:
You may need to modify the DB2 User Credentials and home directory,
particularly on UNIX / Linux. The Manual Environment Changes section
under the Single Server install documents the steps required to accomplish
this task.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Note that in the case of a Cognos 8 ATC distributed install, IHS is not required and therefore will not be
installed or configured.
If you are now ready to start the products and test your environment, skip to the appropriate chapter in this
document.
The installation wizard welcome page will be displayed. Select the appropriate language.
The Cognos 8 License Agreement must be read and accepted to continue with the installation.
Screen capture available in the Single Server Install chapter
The IBM License Agreement must be read and accepted to continue with the installation.
Screen capture available in the Single Server Install chapter
Enter or browse to a suitable installation location. The path must not contain spaces.
Screen capture available in the Single Server Install chapter
In this distributed install example, all components other than Gateway will be unselected.
On a C8SE Gateway install, in addition to the C8 components, IBM HTTP Server will be installed. It is
therefore necessary to specify the source location where the CD image was copied to in order for the C8SE
scripts to launch the IBM installer. Browse to or type in the path to the location where you copied the
WebSphere CD as this CD image contains both WebSphere and IHS.
The Gateway only install prompts for the Dispatcher URI. Enter an appropriate value for your environment
using either host names or IP addresses.
The installation summary page will show the Cognos 8 and associated IBM products that will be installed.
The installation progress indicator will show the completion status of the Cognos 8 components. The IBM
products will be installed and configured later in the process.
Screen capture available in the Single Server Install chapter
Once the Cognos 8 components have been transferred to disk, you may view the logs and perform other
selections similar to a tomcat install. In addition, if no other manual configuration changes are required,
you may select to launch the C8SE master script upon exiting issetup.
Important:
If you must make changes to the C8SE_env[.bat|.sh] script, then uncheck the “Launch Cognos 8 Special
Edition Master Script” checkbox now. More information on this is provided in the next section.
It is also possible that you simply want to defer the IBM product installation and configuration until a later
time. In this case, you may also uncheck the “Launch Cognos 8 Special Edition Master Script” checkbox
and launch the script manually when you are ready.
Important:
It is not recommended that you “Start Cognos Configuration” unless you understand the potential
consequences. You run a risk of creating incompatible encryption keys and will potentially be altering
values that will cause the IBM automated configuration to fail. If you want to make changes in Cognos
Configuration, it is advisable to do so after the IBM products have been installed and configured.
Information / steps for this section are identical to the single server install
section that can be found earlier in this document. Please reference the
appropriate chapter for more information and screen captures.
Except as noted, information / steps for this section are identical to the
single server install section that can be found earlier in this document.
Please reference the appropriate chapter for more information and screen
captures.
For Windows and UNIX / Linux, no user interaction is required for the IHS install and configuration.
Note that in the case of a Cognos 8 Gateway distributed install, DB2 and WebSphere are not required and
therefore will not be installed or configured.
Windows Example:
For a single server install or for a distributed install, the product startup order is the same. For a distributed
install, the Content Manager system must be up and running first, followed by the Application Tier
Component system and the Gateway must be started last.
On each system, DB2 must be started first (if installed), followed by WebSphere (if installed) and lastly
IHS (if installed).
In all cases (starting, stopping, managing) it is assumed you are logged in with a user account that has the
appropriate administrative rights to perform the action requested.
UNIX / Linux:
Navigate to the $INSTHOME/sqllib/adm directory. Type in the following:
UNIX / Linux:
Navigate to the $INSTHOME/sqllib/adm directory. Type in the following:
db2stop
Windows:
startServer.bat server1
UNIX / Linux:
./startServer.sh server1
Windows:
stopServer.bat server1
UNIX / Linux:
./stopServer.sh server1
Once running, you can access the Cognos 8 portal using the URL http://localhost/cognos8
To install and start IBM HTTP Server as a service, run the following command:
Apache –k install
Apache –k start
UNIX / Linux:
Navigate to <C8_Root>/IBM/IHS-61/bin and enter:
apachectl start
To stop the IBM HTTP Server as a service, run the following command:
Apache –k stop
UNIX / Linux:
Navigate to <C8_Root>/IBM/IHS-61/bin and enter:
apachectl stop
7.4 Cognos 8
Follow the standard uninstall using the utilities / documentation provided with the main Cognos 8 product.
8.1.1.1 IBM DB2 on HP/UX 11v3 (note support has been removed for this
release)
Installing IBM DB2 on HP-UX 11v3 (11.31) will issue a pre-requisite failure in the logs and DB2 will not
be installed (T#579439). The C8SE_install_{date}.log will indicate the following:
“07-11-03 12:23:17 INFO: DB2-91: Running db2setup -r /{path}/C8SE/C8SE_rspfile_DB2-91.rsp
ERROR:
The required bundle is not found on the system : QPKAPPS (minimum version: 11.23.0505)
ERROR:
The required bundle is not found on the system : QPKBASE (minimum version: 11.23.0505)
Check the following web site for the up-to-date system requirements
of IBM DB2 Version 9.1:
http://www.ibm.com/software/data/db2/udb/sysreqs.html
Aborting the current installation ...
Run installation with -f parameter to force the installation.”
Verify your system is at or above the appropriate patch level for IBM DB2 v9.1. If it is, then edit
<c8_root>/C8SE /C8SE_install_DB2-91.sh
Add a new line right after
# C8SE_DB2_options="-t ${C8SE_scripts}/../logs/C8SE_DB2_install.log"
That contains:
C8SE_DB2_options="-f"
This error can be thrown when your maintenance level exceeds the required minimum maintenance level.
Check to ensure your system is in compliance and then bypass the pre-requisite check.
Example: We have encountered this issue on an AIX 5.3 system with ML6 installed. ML4 is the minimum
requirement for WebSphere 6.1.0.3
% oslevel -r
5300-06
Clear existing Special Edition products from the system (using the appropriate uninstall programs) and run
the Cognos 8 Special Edition install again.
Uninstall the Cognos 8 Special Edition product suite using the appropriate uninstall tools. Alter the script edit
<c8_root>/C8SE/C8SE_install_WAS-61.sh
If you encounter this error, use the IBM DB2 tools to recreate the System Temporary Tablespace with a
32K PageSize
CONNECT TO CM
CREATE BUFFERPOOL "CM_32KBP" IMMEDIATE SIZE 250 PAGESIZE 32K NOT EXTENDED
STORAGE
DROP TABLESPACE TSN_SYS_CM
CREATE SYSTEM TEMPORARY TABLESPACE TSN_SYS_CM IN DATABASE PARTITION
GROUP IBMTEMPGROUP PAGESIZE 32K MANAGED BY SYSTEM USING
('{C8SE_DB2_Dst}/CNT_SYS_CM') EXTENTSIZE 16 PREFETCHSIZE 16
BUFFERPOOL CM_32KBP
ALTER TABLESPACE TSN_SYS_CM OVERHEAD 10.5 TRANSFERRATE 0.14
COMMIT
CONNECT RESET
Add
2) Change:
To
ADM12026W The DB2 server has detected that a valid license for this product has not been registered.
Copy the db2wse_c.lic file (available from Cognos Customer Support) to this directory and run
“db2licm -a db2wse_c.lic” to import the license. Run “db2licm –l” to list the current license information.
Windows Example: -l
db2\BIN>db2licm
Product name: "DB2 Workgroup Server Edition"
License type: "License not registered"
Expiry date: "License not registered"
Product identifier: "db2wse"
Version information: "9.1"
Max number of CPUs: "4"
Max amount of memory (GB): "16"
Annotation: "1;(_b)"
dbB2\BIN>db2licm -a db2wse_c.lic
LIC1426I This product is now licensed for use as specified in the License Agreement and License
Information documents pertaining to the licensed copy of this product. USE OF THE PRODUCT
CONSTITUTES ACCEPTANCE OF THE TERMS OF THE IBM LICENSE AGREEMENT AND
LICENSE INFORMATION DOCUMENTS, LOCATED IN THE FOLLOWING DIRECTORY:
"C:\xxx\license\en"
db2\BIN>db2licm -l
Product name: "DB2 Workgroup Server Edition"
License type: "CPU"
Expiry date: "Permanent"
Product identifier: "db2wse"
Version information: "9.1"
Max number of CPUs: "4"
Max amount of memory (GB): "16"
Annotation: "3;(_c)"
Features:
DB2 Performance Optimization WSE: "Not licensed"
DB2 High Availability WSE: "Not licensed"
Homogeneous Federation for DB2: "Not licensed"
DB2 Workload Management WSE: "Not licensed"
DB2 Pure XML WSE: "Not licensed"
Cognos Proprietary Information
Installation and Configuration of Cognos 8 Special Edition 45
If you encounter this error, start Cognos Configuration and manually enter the Notification Database
information. Save and exit Cognos Configuration. Restart the WebSphere Application server instance.
If you encounter this error, start Cognos Configuration and manually enter the Dispatcher URI for gateway
information. Save and exit Cognos Configuration. Restart IBM HTTP Server.
A User ID is not required at this point unless there is more than one person administering the system.
The administration console will load and the correct version information should be displayed in the upper
right of the console (WebSphere Application Server Express 6.1.0.3).
Select Applications -> Enterprise Applications and you should see Cognos 8 in the list of deployed
applications.
Select Servers -> Application Servers, click on server1 to access the server properties.
Select Java and Process Management under the Server Infrastructure section.
Under the expanded Java and Process Management section click on the Process Definition link.
On the Process Definition page, Under Additional Properties, click on the Custom Properties link.
The IBM DB2 environment variables should be listed along with a Path / SHLIB_PATH / etc. environment
variable. (Example below is for Windows)
The build number and state will be displayed. If the state is “not running” check the Cognos 8 and
WebSphere logs for more information. Note that DB2 must also be running in order for Content Manager
to start correctly.
9 Error Messages
The C8SE install will log pertinent information to a text file located in <C8_Root>/logs. This file should
be examined after the installation and configuration has completed for errors such as those listed below. In
addition, critical errors will also be output to the console window.
XML Parser error: can't declare any more prefixes in this context
- uri = file :/{Path}/c8/C8SE/C8SE_config_DB2-82.xslt
- line = 2
- column = -1
Cause: There is an incompatibility in the JRE used to perform the install and configuration due to the way
certain functions were implemented by the vendor.
Solution: Set JAVA_HOME to an alternate JRE, preferably a Sun JRE if it is available for that platform.
Perform a cleanup and run the installation again.
Cause: DB2 is not running and Cognos 8 Content Manager attempted to connect to the Content Store.
Cause: The volume on which DB2 is being installed / configured does allow the Switch User function to be
called.
Solution: Check swap space and O/S kernel parameters to ensure they meet IBM DB2 system
requirements.
When examining the C8SE installation and configuration log file, there are many instances where warning
messages are displayed. Many of these are expected and will be identified below. These warnings and
errors can safely be ignored as they have no impact on the proper operation of your environment.
9.6.1.1 WASX7017E
Message: Exception received while running file
"/{Path}/c8/C8SE/C8SE_config_WAS6.jacl"; exception information:
com.ibm.ws.scripting.ScriptingException: WASX7254E: "startServer"
action not supported when process type is "UnManagedProcess"
9.6.1.4 CMcheck
Message: [available] DEPRECATED - <available> used to override an existing property.
[available] Build file should not reuse the same property name for different values.
9.6.1.6 Error or Fatal Log Entry for “File <name> will be modified”
Message: <date> <time> ERROR|FATAL: <product>: File <name> will be modified
Cause: incorrect label of the message. Should have been “INFO:”. Future releases will correct this.
The DB2 install script will not run • Load static environment variables from C8SE_master_env
if: • Check to see if DB2 is already installed
C8SE_DB2_Src is not set • Check to see if the install utility is in the proper source
C8SE_install_DB2-91.flg exists directory
• Build an install response file based on the install type (Server
for CM install, client for CM and ATC install)
The WAS install script will not • Load static environment variables from C8SE_master_env
run if: • Check to see if WAS is already ready installed
C8SE_WAS_Src is not set • Check to see if the install utility is in the proper source
C8SE_install_WAS-61.flg exists directory
The WAS updater will not run if • Build an install response file
{C8SE_WAS_Dst}/updateinstalle • Launch the WAS installer passing the response file as an
r/update.exe exists input
• Check to see if the WAS update has already run
• Call “setupCmdLine” from the WAS install to set
environment variables
• Call “backupConfig” from the WAS install to save a default
copy of the configuration
• Check to see if the updater utility is in the proper source
directory
• Copy the update installer from the source directory to the
WAS install directory.
• Launch the update installer passing the default response file
as an input
• Clear environment variables
C8SE_install_IHS-61 • Load dynamic environment variables (User changeable) from
C8SE_env
The IHS install script will not run • Load static environment variables from C8SE_master_env
if: • Check to see if IHS is already ready installed
C8SE_IHS_Src is not set • Check to see if the install utility is in the proper source
C8SE_config_IHS-61.flg exists directory
• Build an install response file
• Launch the IHS installer passing the response file as an input
• Clear environment variables
C8SE_config_DB2-91 • Load dynamic environment variables (User changeable) from
C8SE_env
The DB2 config script will not • Load static environment variables from C8SE_master_env
run if: • Verify DB2 was installed
C8SE_DB2_Src is not set • Verify JAVA_HOME is set
C8SE_config_DB2-91.flg exists
The WAS config script will not • Load static environment variables from C8SE_master_env
run if: • Verify that the configuration has not already been performed
C8SE_WAS_Src is not set • Build the p2pd application file
C8SE_config_WAS-61.flg exists • Copy the BouncyCastle security provider file from the C8
install into the JRE used by WebSphere
• Run “setupCmdLine” from the WAS install to set WAS
specific environment variables
• Use the C8SE_template_WAS6.jacl file as a base and
replace the token values with actual values for servername,
nodename, install paths, DB2 environment variables, etc.
• Run the jacl script through wsadmin to:
Set the maximum heap size to the default value
(768)
Set the DB2 environment variables
Set the Path (or appropriate Unix equivalent) to
C8/bin
Deploy the application file
• Restart WebSphere to ensure the application is deployed and
the classloader is reset
• Remove the p2pd.ear application file
C8SE_config_IHS-61 • Load dynamic environment variables (User changeable) from
C8SE_env
The IHS config script will not run • Load static environment variables from C8SE_master_env
if:
• Verify that the configuration has not already been performed
C8SE_IHS_Src is not set
• Backup the httpd.conf file
C8SE_config_IHS-61.flg exists
• Append the C8 specific information to the http.conf file
The C8 config script will not run • Load static environment variables from C8SE_master_env
if: • Verify that the configuration has not already been performed
C8SE_config_C8.flg exists • Verify JAVA_HOME is set appropriately. Verify and take a
backup copy of cogstartup.xml prior to making modifications
• Use C8SE_template_C8.xslt as a base and replace tokens
with appropriate URI values
• Run the xslt transformation to modify the cogstartup.xml file
• Run Cognos Configuration in silent mode to apply the
cogstartup.xml changes and create encryption keys (if
appropriate based on install type)
• Append the Cognos Configuration log to the C8SE log
C8SE_template_C8.xslt • Used by C8SE_config_C8 for xslt transformations against
cogstartup.xml
C8SE_template_DB2-94.xslt • Used by C8SE_config_DB2-91 for xslt transformations
against cogstartup.xml
C8SE_template_DB2-91.DB2 • Used by C8SE_config_DB2-94 as an input to the DB2
command that will create the DB2 instance and set default
values
C8SE_template_WAS-61.jacl • Used by C8SE_config_WAS-61 to modify the WebSphere
configuration, set environment variables and deploy the C8
application on Windows
C8SE_U_template_WAS-61.jacl • Used by C8SE_config_WAS-61 to modify the WebSphere
configuration, set environment variables and deploy the C8
application on Unix