互联网服务server

Cognos 10 BI server 安装经验分享,安装注意要点

最近自己尝试安装cognos,一开始没弄好,遇到不少问题,现在都解决了,故就此分享下经验:



1.这次安装的server是使用c10自带的JDK,如果本机没有安装配置过JDK的话,可以跳过。

有安装配置过JDK的话,先将JDK环境去掉:

    ①删除JAVA_HOME环境变量和path环境变量%JAVA_HOME%bin;

    ②将C:WINDOWSsystem32目录下的java.exe、javaw.exe、javaws.exe这三个文件剪切出来.

2.然后按提示安装c10 server;

3.(默认安装好DB2)复制DB2数据库jdbc驱动到cognos中,复制DB2安装目录下java目录中的DB2jcc.jar 和 jcc_license_cu.jar到cognos安装目录下的webappp2pdWEB-INFlib下;

4.content manager 用到的数据库用户要有足够的权限,createtab、connect、load等等权限;

5.内容库的db2数据库要按符合cognos一定的标准,例如:缓冲池、应用程序堆栈大小、锁定超时、表空间等等;


这里给个例子:


如果用到的数据库不符合标准,会报以下错误信息:



20:16:32, 'LogService', 'StartService', 'Success'.
20:16:32, CAF input validation disabled.
20:16:32, CAF Third Party XSS checking disabled.
20:16:36, 'com.cognos.pogo.contentmanager.coordinator.ActiveCMControl', 'pogo', 'Failure'.
DPR-DPR-1035 调度程序检测到错误。
null
20:16:35, CM-CFG-5063 A Content Manager configuration error was detected while connecting to the content store.  CM-CFG-5063 A Content Manager configuration error was detected while connecting to the content store. Cause: CM-CFG-5137 Content Manager was unable to complete the initialization of the content store. For more information, review the log file. Before you restart Content Manager, you may need to recreate the content store database or clean it using dbClean_*.sql.    Runtime Exception stack trace:  CM-CFG-5137 Content Manager was unable to complete the initialization of the content store. For more information, review the log file. Before you restart Content Manager, you may need to recreate the content store database or clean it using dbClean_*.sql.  at com.cognos.cm.dbstore.CMDbStoreFactory.initContentIndependentBeforeLock(CMDbStoreFactory.java:1976)  at com.cognos.cm.dbstore.CMDbStore.initializeContentIndependentBeforeLock(CMDbStore.java:3828)    at com.cognos.cm.server.CMServlet.initializeContentStoreContentIndependentBeforeLock(CMServlet.java:2122)     at com.cognos.cm.server.CMServlet.init(CMServlet.java:1894)     at com.cognos.cm.server.ContentManager.start(ContentManager.java:403)  at com.cognos.cm.server.ContentManagerLifecycleHandler.start(ContentManagerLifecycleHandler.java:62)      at com.cognos.pogo.services.DefaultHandlerService.start(DefaultHandlerService.java:94)  at com.cognos.pogo.services.DispatcherServices.startInititalServices(DispatcherServices.java:388)  at com.cognos.pogo.transport.PogoServlet$PogoStartup.run(PogoServlet.java:604)    at com.cognos.pogo.util.threads.SafeThread.safeRun(SafeThread.java:70)  at com.cognos.pogo.util.threads.SafeThread.run(SafeThread.java:61) 
20:16:36, 'ContentManager', 'getActiveContentManager', 'Failure'.
DPR-CMI-4006 无法确定活动的 Content Manager。 请定期重试。
20:17:35, 'CPS Producer Registration Service', 'StopService', 'Success'.
20:17:35, 'MetadataService', 'StopService', 'Success'.
20:17:35, 'EventService', 'StopService', 'Success'.
20:17:35, 'AgentService', 'StopService', 'Success'.
20:17:35, 'AnnotationService', 'StopService', 'Success'.
20:17:35, 'IndexUpdateService', 'StopService', 'Success'.
20:17:35, 'HumanTaskService', 'StopService', 'Success'.
20:17:35, 'JobService', 'StopService', 'Success'.
20:17:35, 'DeliveryService', 'StopService', 'Success'.
20:17:35, 'com.cognos.pogo.services.DefaultHandlerService', 'pogo', 'Failure'.
DPR-DPR-1035 调度程序检测到错误。
null
20:17:35, 'IndexDataService', 'StopService', 'Success'.
20:17:36, 'IndexSearchService', 'StopService', 'Success'.
20:17:36, 'IBM Cognos Enhanced Search Service', 'StopService', 'Success'.
20:17:36, 'ReportDataService', 'StopService', 'Success'.
20:17:36, 'GraphicsService', 'StopService', 'Success'.
20:17:36, 'BUX Service', 'StopService', 'Success'.
20:17:36, 'com.cognos.pogo.services.DefaultHandlerService', 'pogo', 'Failure'.
DPR-DPR-1035 调度程序检测到错误。
null
20:17:36, 'MonitorService', 'StopService', 'Success'.
20:17:36, 'DimensionManagementService', 'StopService', 'Success'.
20:17:36, 'ReportService', 'StopService', 'Success'.
20:17:36, 'ContentManagerCacheService', 'StopService', 'Success'.
20:17:36, 'camAsyncAA', 'StopService', 'Success'.
20:17:38, 'SystemService', 'StopService', 'Success'.
20:17:38, 'BatchReportService', 'StopService', 'Success'.
20:17:38, 'Fragment Server Service', 'StopService', 'Success'.
20:17:38, 'ContentManagerService', 'StopService', 'Success'.
20:17:38, 'QueryService', 'StopService', 'Success'.
20:17:38, 'LogService', 'StopService', 'Success'.
[错误] CFG-ERR-0103 无法启动 IBM Cognos 服务。
执行外部进程后返回值为“-1”的错误代码。



处理方法,创建符合标准的数据库:


get database configuration for cognosdb;
 
update db cfg for cognosdb using applheapsz 1024;
 

update db cfg for cognosdb using LOCKTIMEOUT 240;

 create bufferpool bigbuff immediate size 250 pagesize 32 k;
 
create system temporary tablespace bigbuffsttmptabl pagesize 32 k managed by automatic storage extentsize 16 overhead 10.5 prefetchsize 16 transferrate 0.14 bufferpool bigbuff; 
 
create user temporary tablespace smallbuffsttmptabl pagesize  4 k managed by automatic storage extentsize 16 overhead 10.5
prefetchsize 16 transferrate 0.14 bufferpool ibmdefaultbp; 
 
create regular tablespace smallbuffusrregtbl pagesize  4 k managed by automatic storage extentsize 16 overhead 10.5 prefetchsize 16 transferrate 0.14 bufferpool ibmdefaultbp dropped table recovery on;
      


最后在configuration中配置好Cognos的内容存储数据库。


安装时注意好这几点,cognosserver安装就应该可以完美启动了。



测试过,cognosserver可以正常运行后就可以重新配置好原来的JDK环境,还有记得将java.exe、javaw.exe、javaws.exe 放回C:WINDOWSsystem32目录下,这样其他程序也可以正常使用这个JDK.

参与27

22同行回答

kaicskaics学生home
多谢楼主分享显示全部
多谢楼主分享收起
IT分销/经销 · 2012-11-25
浏览962
wyf2wyf2软件开发工程师IBM
启动服务器时出错了,CFG-ERR-0103显示全部
启动服务器时出错了,CFG-ERR-0103收起
互联网服务 · 2012-09-12
浏览921
cognos2010cognos2010系统分析师IBM
那要每次自启动,是不是都要这么做下?显示全部
那要每次自启动,是不是都要这么做下?收起
银行 · 2012-09-12
浏览927
fuyue880715fuyue880715BI开发工程师landing
经验宝贵啊显示全部
经验宝贵啊收起
零售/批发 · 2012-09-12
浏览930
zhaolei_suiningzhaolei_suining其它cloudthinks
多谢分享显示全部
多谢分享收起
农业其它 · 2013-08-01
浏览1215
alp168alp168学生学生
我安装10.2(也是默认安装好DB2)后,找不到DB2安装目录。  请大家指教。谢。:(显示全部
我安装10.2(也是默认安装好DB2)后,找不到DB2安装目录。  请大家指教。谢。:(收起
IT培训教育 · 2013-07-28
浏览1244
he305461055he305461055软件开发工程师创意信息技术
学习·············显示全部
学习·············收起
软件开发 · 2013-07-26
浏览1288
奥利弗奥利弗数据库开发工程师北纬股份有限公司
好像比8简单了显示全部
好像比8简单了收起
互联网服务 · 2013-06-27
浏览1239
green_wolf1green_wolf1数据库管理员八宝茶
楼主是雷锋!显示全部
楼主是雷锋!收起
互联网服务 · 2013-06-27
浏览1273
timmerchentimmerchen其它Infosys
我同事配置的时候也遇到过JVM的问题,因为他的机子本来是做JAVA开发的,看来你的帖子之后问题解决了,多谢。显示全部
我同事配置的时候也遇到过JVM的问题,因为他的机子本来是做JAVA开发的,看来你的帖子之后问题解决了,多谢。收起
互联网服务 · 2013-05-23
浏览1251

提问者

gufeng20081010
软件开发工程师PCCW
擅长领域: 大数据商业智能

问题状态

  • 发布时间:2012-09-03
  • 关注会员:1 人
  • 问题浏览:12280
  • 最近回答:2013-08-01
  • X社区推广