一、Cognos BI Server 10.2 32Bit
二、Cognos Transformer 10.2
三、Cognos Framework Manager 10.2
四、环境
1、如果使用Cognos自带的Tomcat web容器,将E:\common\Cognos\c10\webcontent下的所有文件拷贝到E:\common\Cognos\c10\webapps\p2pd 下面.(一般我们就使用Tomcat,这一步必须做)
2、复制数据库驱动jar包
五、启动Cognos Configuration
将网关URI http://localhost:80/ibmcognos/cgi-bin/cognos.cgi
替换为 http://localhost:9300/p2pd/servlet/dispatch
已有数据库cognos未指定字符集等参数
db2 drop database cognos
查看数据库
db2 list db directory
drop database 删不干净,还需手动删除
db2数据库不好彻底删除,重新新建一个数据库,修改Cognos 配置
设置数据库字符集以及页大小之类的设置:
注:'E:\common\Cognos\db2cognosdb\cognosdbusrtmp2' 》》'E:\common\Cognos\db2[数据库名]\[数据库名]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
数据库Cognos的数据库配置
db2 get db cfg for cognosdb
启动Cognos服务
访问:http://localhost:9300/p2pd/servlet/dispatch