Você está na página 1de 3

Add below line to httpd.

conf

LoadModule cognos_module "C:/IBM/cognos/c10_64/cgi-bin/mod2_2_cognos.dll"

ScriptAlias /ibmcognos/cgi-bin "C:/IBM/cognos/c10_64/cgi-bin"

<Directory "C:/IBM/cognos/c10_64/cgi-bin">
AllowOverride None
Options None
Order allow,deny
Allow from all
</Directory>

Alias /ibmcognos "C:/IBM/cognos/c10_64/webcontent"

<Directory "C:/IBM/cognos/c10_64/webcontent">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>

<Location /ibmcognos/cgi-bin/cognos.cgi>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>

<Location /ibmcognos/cgi-bin/diag_cognos.cgi>
SetHandler cognos-handler
Order allow,deny
Allow from all
</Location>

<IfModule mod2_2_cognos.c>
CGIBinDir "C:/IBM/cognos/c10_64/cgi-bin"
</IfModule>

Alias /cognos/realtime "C:\IBM\cognosrtm\c10_64\realtime\webcontent"


Include conf.d/*.conf

and run below command

C:\IBM\cognos\c10_64\cgi-bin>copyGateMod.bat 32bit

Ref Url:

https://www.ibm.com/developerworks/community/blogs/ibm-bi-
capabilities/entry/ibm_cognos_bi_installation_configuration_on_redhat_linux?lang=en

===================================================================================
========================
COGNOS RTM

create "endorsed" folder in C:\IBM\WebSphere\AppServer\java\jre\lib


copy jaxb1-impl.jar,jaxb-api.jar,jaxb-impl.jar,jaxb-xjc.jar,log4j-1.2.7.jar from
C:\IBM\cognosrtm\c10_64\realtime\bin64 to endorsed

and restart the server

UPDAT Server properties

CLASSPATH:
C:\IBM\cognosrtm\c10_64\realtime\bin64\obiProperties.jar

Generic JVM arguments:


-Xmns256M -Xmnx256M -verbose:sizes -verbose:gc -Xgcthreads2 -Xgcpolicy:gencon
-Xcompactgc -Xalwaysclassgc -Xverbosegclog:C:\IBM\cognosrtm\c10_64\realtime\logs
-DBOOTPROPS=C:\IBM\cognosrtm\c10_64\realtime\configuration\realtime.properties
-Dcom.cognos.obi.bootstrap.envpropname=BOOTPROPS -Xms3072M -Xmx3072M
-Dfile.encoding=utf8 -Danonymousaccessenabled=true
-Dcom.cognos.obi.property.LOCALE_LANGUAGE=EN

Change Initial,MAX HeapSize:1024,2048

Update realtime.conf file in "configuration\realtime.conf"

from localhost:8080 to cognosrtmhostname:9080

Update realtime.properties file in "configuration\realtime.properties"

uncomment the below configurations

Admin\ Keystore\
Location=c:/ibm/cognos_rtm/c10_64/realtime/configuration/keystore/admin.jks
Keystore\
Location=c:/ibm/cognos_rtm/c10_64/realtime/configuration/keystore/user_sample.jks
Keystore\ Password=8deb5102f8
User\ PrivateKey\ Password=8deb5102f8
Logging\ Directory=c:/ibm/cognos_rtm/c10_64/realtime/logs
Recovery\ Log\ Directory=c:/ibm/cognos_rtm/c10_64/realtime/checkpoints
Additional\ Log4j\
Properties=c:/ibm/cognos_rtm/c10_64/realtime/configuration/log4j.properties
Log\ File\ Prefix=rtm

If you are using one webserver for BI and RTM

you have to merge the plugins.

Steps:

COPY the plugin-cfg.xml from BI server to C:\TEMPPLUGINS


rename it: plugin-cfg_BI.xml

GENERATE plugins for RTM server run the command :

C:\IBM\WebSphere\AppServer\profiles\AppSrv02\bin>GenPluginCfg.bat
It will generate the plugin-cfg.xml in below location

C:\IBM\WebSphere\AppServer\profiles\AppSrv01\config\cells

COPY the plugin-cfg.xml from to C:\TEMPPLUGINS


rename it: plugin-cfg_RTM.xml

C:\IBM\WebSphere\AppServer\bin>pluginCfgMerge.bat plugin-cfg_BI.xml plugin-


cfg_RTM.xml plugin-cfg_BI_RTM.xml

and update the httpd.conf with

#WebSpherePluginConfig "C:\IBM\WebSphere\Plugins\config\webserver1\plugin-cfg.xml"
WebSpherePluginConfig "C:\plugin-cfg_BI_RTM.xml"

and restart IHS server

Você também pode gostar