Note: 1. During the installation process of Cognos10.2, English must be selected for language selection; otherwise, it will be troublesome to deal with too many Chinese compatibility issues, and it will not be compatible, and the startup service will always report an error; 2. Use IE browser.
一、Cognos BI Server 10.2 32Bit
二、Cognos Transformer 10.2
3. Cognos Framework Manager 10.2
4. Environment
1. If you use the Tomcat web container that comes with Cognos, copy all the files under E:\common\Cognos\c10\webcontent to E:\common\Cognos\c10\webapps\p2pd. (Generally we use Tomcat, This step must be done)
2. Copy the database driver jar package
3. Install the DB2 database, refer to the article " WIN10: DB2 and Tools DBeaver Client Installation "
4. Cognos resource library DB2 database creation
Set the database character set and settings such as page size:
Note: 'E:\common\Cognos\db2cognosdb\cognosdbusrtmp2' 》》'E:\common\Cognos\db2[database name]\[database name]usrtmp2'
db2 CREATE DATABASE cognosdb USING CODESET UTF-8 TERRITORY cognosdb COLLATE USING SYSTEM
db2 CONNECT TO cognosdb
db2 UPDATE DATABASE CONFIGURATION USING APPLHEAPSZ 512 DEFERRED
db2 UPDATE DATABASE CONFIGURATION USING LOCKTIMEOUT 250 DEFERRED
db2 CREATE BUFFERPOOL TEMP IMMEDIATE SIZE 1000 PAGESIZE 16 K
db2 CREATE SYSTEM TEMPORARY TABLESPACE COGNOSDBSYS PAGESIZE 16 K MANAGED BY SYSTEM USING ( 'E:\common\Cognos\db2cognosdb\cognosdbsystmp2' ) EXTENTSIZE 16 OVERHEAD 10.5 PREFETCHSIZE 16 TRANSFERRATE 0.14 BUFFERPOOL TEMP
db2 CREATE USER TEMPORARY TABLESPACE COGNOSDBUSR PAGESIZE 4 K MANAGED BY SYSTEM USING ('E:\common\Cognos\db2cognosdb\cognosdbusrtmp2' ) EXTENTSIZE 16 OVERHEAD 10.5 PREFETCHSIZE 16 TRANSFERRATE 0.14 BUFFERPOOL IBMDEFAULTBP
Database configuration for database Cognos
db2 get db cfg for cognosdb
5. Start Cognos Configuration
Set the gateway URI to http://localhost:80/ibmcognos/cgi-bin/cognos.cgi
Replace with http://localhost:9300/p2pd/servlet/dispatch
Start the Cognos service
Visit: http://localhost:9300/p2pd/servlet/dispatch
6. Problem summary
1. The test can use IE browser, other tests are not compatible without IBM Cognos Administration option
2. IE-10 browser opens the configuration data source, clicks on IBM Cognos Administration and prompts undefined, and the F12 console reports an error incompatible. The browser object does not support the "getBoxObjectFor" property or method
Approach
【Internet Options】-
Enable all under [ActiveX Controls and Plug-ins]
3. DB2 database
The existing database cognos does not specify parameters such as character sets
db2 drop database cognos
view database
db2 list db directory
The drop database cannot be deleted cleanly and needs to be deleted manually
The db2 database is not easy to delete completely, create a new database, and modify the Cognos configuration
Set the database character set and settings such as page size:
Note: 'E:\common\Cognos\db2cognosdb\cognosdbusrtmp2' 》》'E:\common\Cognos\db2[database name]\[database name]usrtmp2'
db2 CREATE DATABASE cognosdb USING CODESET UTF-8 TERRITORY cognosdb COLLATE USING SYSTEM
db2 CONNECT TO cognosdb
db2 UPDATE DATABASE CONFIGURATION USING APPLHEAPSZ 512 DEFERRED
db2 UPDATE DATABASE CONFIGURATION USING LOCKTIMEOUT 250 DEFERRED
db2 CREATE BUFFERPOOL TEMP IMMEDIATE SIZE 1000 PAGESIZE 16 K
db2 CREATE SYSTEM TEMPORARY TABLESPACE COGNOSDBSYS PAGESIZE 16 K MANAGED BY SYSTEM USING ( 'E:\common\Cognos\db2cognosdb\cognosdbsystmp2' ) EXTENTSIZE 16 OVERHEAD 10.5 PREFETCHSIZE 16 TRANSFERRATE 0.14 BUFFERPOOL TEMP
db2 CREATE USER TEMPORARY TABLESPACE COGNOSDBUSR PAGESIZE 4 K MANAGED BY SYSTEM USING ('E:\common\Cognos\db2cognosdb\cognosdbusrtmp2' ) EXTENTSIZE 16 OVERHEAD 10.5 PREFETCHSIZE 16 TRANSFERRATE 0.14 BUFFERPOOL IBMDEFAULTBP
Database configuration for database Cognos
db2 get db cfg for cognosdb