You are on page 1of 7

IBM Cognos(one machine) Installation on WebSphere

Application Server(AIX)
1. Install IBM WebSphere Application Server V6.1(32 bit)(with Application Server profile) and
IBM HTTP Server V6.1(32 bit)
Sample installation path /usr/IBM/WebSphere/AppServer
Sample installation path /usr/IBM/HTTPServer

2. Create new server instance to run IBM Cognos application


Sample server name cognos8
Creating Application Server on standalone profile
a) Start IBM WebSphere Server server1
Sample command to start Application server
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh server1

a) Go to profile bin(/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin)
b) Start wsadmin tool using command ./wsadmin.sh lang jython
c) Excute following command
AdminTask.createApplicationServer(AdminControl.getNode(), '[-name <name of
server on which cognos application would run> -templateName default ]')
Sample command
AdminTask.createApplicationServer(AdminControl.getNode(), '[-name
cognos8 -templateName default ]')

d) Save configuration changes.


AdminConfig.save()
e) Enter exit to exit from wsadmin tool.

f) Open WAS admin console for server1

g) Add virtual host entry for the WC_defaultport Port for server cognos8 (example 9081)
h) Add WAS environment variable LIBPATH and its value /usr/cognos/c8/bin
i) set JVM parameter to 256 MB min and 768 MB max

3. Install Cognos Business Intelligence Server v8.4(Part no CZA8CML)


a) Download above part no from XL.
b) Extract CZA8CML.tar in separate directory
c) Enter into aix32/ directory where installable are extracted.
d) Run issetup in VNC to start installation.
e) Accept License Agreement

f) Specify the installation path.


Sample installation path /usr/cognos/c8

g) Select all the components to install

h) Confirm the installation summery and proceed to installation.


4. Copy bcprov-jdk14-134.jar from /usr/cognos/c8/bin/jre/1.5.0/lib/ext to
/usr/IBM/WebSphere/AppServer/java/jre/lib/ext. This step is required to have
cryptographic library required for Cognos. If you want to use another JVM . Then copy this jar
file to that JVMs lib/ext directory. Prefer to use JVM that comes with IBM WebSphere
Application Server or any other application server JVM on which application needs to be
installed.

5. Set Environment variable JAVA_HOME=/usr/IBM/WebSphere/AppServer/java for the


user under which cognos and WebSphere Application Server is running

6. Add /usr/cognos/c8/bin to LIBPATH and PATH variable

7. Start /usr/cognos/c8/bin/cogconfig.sh in VNC. Its GUI tool to manage IBM Cognos

8. Export application that will be deployed to WebSphere Application Server for WebSphere
Application Version V6.x and V7.x

Application will be built under /usr/cognos/c8/ with name p2pd.ear

9. Install p2pd.ear application on Websphere Application Server and map that application on
server cognos8

10. Edit configuration in content manager for following URI according to hostname name and
port no of server on WebSphere application Server on which cognos application is running.
Save the configuration after making changes.

11. Create alias in IBM HTTP Server for IBM Cognos


Open httpd.conf from /usr/IBM/HTTPServer/conf and enter following values.
(follow correct order first define scriptalias)
#Setting for IBM Cognos

ScriptAlias /cognos8/cgi-bin "/usr/cognos/c8/cgi-bin"


<Directory "/usr/cognos/c8/cgi-bin">
Options Indexes FollowSymLinks
</Directory>

Alias /cognos8 "/usr/cognos/c8/webcontent"


<Directory "/usr/cognos/c8/webcontent">
Options Indexes FollowSymLinks
</Directory>

11. Start IBM HTTP Server


/usr/IBM/HTTPServer/bin/apachectl k start

12. Start Content Manager


12. Start IBM Cognos server. That will automatically start the Cognos application.
Sample command to start IBM WebSphere cognos server
/usr/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/startServer.sh cognos8

13. If application starts successfully SystemOut.log of Websphere Application server will have
following message.
The dispatcher is ready to process request.(If this message does not come and there is no
other error in log file. Stop server and set JAVA_HOME same as cognos and restart WebSphere
application Server)

14. URL to access IBM cognos http://<hostname>/cognos8/

15.If above url gives error that dispatcher is not ready to dispatch requests. Then restart cognos8
server and it will work

15. Removing Tomcat service after configuration on WAS works fine. Right click on IBM
Cognos 8 under IBM cognos 8 service and delete it and save configuration.

16.Comman error in WAS cognos8 server SystemOut.log


http://www-01.ibm.com/support/docview.wss?uid=swg21342147

You might also like