IBM Support

How to Install Cognos Analytics 11.1.1 on RHEL 7.6

How To


Summary

The document provides step by step instructions on how to install Cognos Analytics 11.1.1 on a Linux server.

Objective

Basic Learning on how to install CA on Linux server.

Environment

Linux

Steps

Prerequisites to install Cognos Analytics 11.1.1

  • Before starting to install, make sure “SSH client”, “FTP/SFTP” and “XServer” is installed on local machine.

  • Connect to the server with root user
  • Install “nano” to edit files: # yum install nano (nano is used to edit files)
  • Transfer the downloaded files to the server using file transfer tool. Preferably keep it under “usr/ibm” folder.
  • Make sure that x11 forwarding is enabled on the server.

  • Install OS updates on the server : #yum update
  • Once updated, reboot the server. #reboot
  • Run #xclock to check if X11 is properly configured.
  • Check if the necessary  packages are already installed or not we used the following command: #yum list glibc libstdc++ nspr nss openmotif
  • Need to install all the following packages. Have noticed that 32 bit libraries are required on 64 bit system.

glibc             #yum install glibc.i686                   // For 32-bit
glibc             #yum install glibc.x86_64             // For 64-bit
libstdc++     #yum install libstdc++.i686           // For 32-bit
libstdc++     #yum install libstdc++.x86_64     // For 64-bit
nspr            #yum install nspr.i686                    // For 32-bit
nspr            #yum install nspr.x86_64              // For 64-bit
nss             #yum install nss.i686                     // For 32-bit
nss            #yum install nss.x86_64                // For 64-bit
openmotif  #yum install motif.i686                   // For 32-bit
openmotif  #yum install motif.x86_64             // For 64-bit

  • Set ulimits:

CPU time (seconds) :# ulimit -t unlimited
File size (blocks) :# ulimit -f unlimited
Maximum memory size (kbytes) :# ulimit -m unlimited
Maximum user processes :# ulimit -n
Open files (minimum value) :# ulimit -n 8192
Stack size (kbytes) :# ulimit -s unlimited

  • Add hard and soft nofile for root user and another user (which we will create in a minute): #nano /etc/security/limits.conf
Appand the following values at the end of the file.

cognos soft nofile 100000
cognos hard nofile 100000
root soft nofile 250000
root hard nofile 250000

  • Create a user to install Cognos and give appropriate permissions:

Must be logged in as root :

# groupadd cognos

# useradd cognos -g cognos -m

# passwd cognos <as per your requirement>

# mkdir -p /opt/ibm/cognos/analytics

# chown -R cognos:cognos /opt/ibm/cognos

# chmod -R 0755 /opt/ibm/cognos

=====================================================================

Cognos Analytics Installation:

  • Make sure Cognos installation files have executable permission.

  • Logon using newly created user : cognos (Consult your Linux Administrator if the user does not have sufficient privileges)
  • Go to the directory where we have copied the files and run the installer:

# cd /usr/ibm

# ./ca_installer_xxxx.bin

  • If everything was configured properly, you should be seeing Installer being projected on your local machine from the server. If not, go through all the steps one by one and make sure everything is correct.
  • If it throws X11 forwarding error, you might want to run following commands: (Consult your Linux Administrator before executing following xauth commands)

# xauth add $(xauth -f ~cognos/.Xauthority list|tail -1) //cognos is the user we created

#xauth list

Output:

server.domain.com:11  MIT-MAGIC-COOKIE-1  e****************************a

server.domain.com:10  MIT-MAGIC-COOKIE-1  2****************************2

Must add all the entries

# sudo -s //changes user to root, will not be able to add using "cognos" user.

#xauth add server.domain.com:11  MIT-MAGIC-COOKIE-1  e****************************a

#xauth add server.domain.com:10  MIT-MAGIC-COOKIE-1  2****************************2

  • Re run the installer and follow the installer as usual.
  • Select the target folder and server file properly. /opt/ibm/cognos/analytics
  • To open Cognos configuration: /opt/ibm/cognos/analytics/bin64/ # ./cogconfig.sh
 

Configure Cognos and Start the service.

Document Location

Canada

Operating System

IntelliStation Pro:Red Hat Linux

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSTSF6","label":"Cognos Analytics"},"Component":"Server Installation","Platform":[{"code":"PF016","label":"Linux"}],"Version":"Cognos Analytics 11.1.x","Edition":""}]

Document Information

Modified date:
08 March 2019

UID

ibm10875126