Hardware prerequisites

Installation scripts are not too smart, they does not analyze free disk space accurate, therefore pls do not separate /opt, /usr, /home, /var. The resulting disk usage after clean installation and empty database will be similar:

12G     /opt
1.7G    /home
2.0G    /usr
121M    /var

/home is default location for DB2 database, this could be configured to other place after DB2 setup but before DB creating.

While you can reorganize partitioning scheme later, just assign 40G disk and assign all to root filesystem, otherwice installation script will fail.

In addition, you will need temporary space at least 12G for unpacked installation media. It could be tmpfs, just add more memory.

At least 8G RAM and 4CPU required. If you will use /tmp tmpfs for unpacking, add 12G RAM for installation time and add following line to /etc/fstab:

tmpfs                   /tmp		tmpfs	size=12g,mode=1777	0 0

Software Requirements

Installation procedure worked on Red Hat Enterprise Linux Server release 6.7 (Santiago) x86_64 architecture

Create /src directory and transferr to it downloaded software.

Ensure that you have installed the following packages, some of them 32bit:

PackageKit-gtk-module.x86_64
binutils.x86_64
compat-libstdc++-33.i686 compat-libstdc++-33.x86_64
expat.i686 expat.x86_64
firefox.x86_64
gcc-c++.x86_64
gcc.x86_64
gtk2-engines.x86_64
kernel-devel.x86_64
libaio.x86_64
libX11.i686 libX11.x86_64 libX11-common.noarch
libXext.i686 libXext.x86_64
libXft.i686 libXft.x86_64
libXmu.i686 libXmu.x86_64
libXp.i686 libXp.x86_64 libXpm.x86_64
libXrender.i686 libXrender.x86_64
libXt.i686 libXt.x86_64
libXtst.i686 libXtst.x86_64
libcanberra-gtk2.x86_64
libgcc.i686 libgcc.x86_64
libstdc++.i686 libstdc++.x86_64 libstdc++-devel.x86_64
libuuid.i686 libuuid.x86_64
ntp.x86_64
openmotif.i686 openmotif.x86_64 openmotif22.i686 openmotif22.x86_64
pam.i686
patch.x86_64
sg3_utils.x86_64
tigervnc-server.x86_64
unzip.x86_64
xorg-x11-twm.x86_64
xorg-x11-xauth.x86_64
xterm.x86_64

The following packages does not exist in distro already (they obsolete). You should download them from RedHat 5 (or CentOS 5 suits too):

compat-glibc-2.3.4-2.26.i386
compat-glibc-2.3.4-2.26.x86_64
compat-glibc-headers-2.3.4-2.26.x86_64

Prepare RH6 as you like. (disable ipv6, etc...)

Do not forget to disable SELINUX, and iptables (even remove them).

Define limits:

# echo -e "*\t-\tnofile\t65535\n*\t-\tnproc\t16384\n*\t-\tmemlock\tunlimited" > /etc/security/limits.d/sc.conf

Installing DB2

Unpack DB2 installation files (DB2_10.5.fp6_LINUX.tar.gz) at temporary place, then run prerequisites check:

# ./db2prereqcheck > precheck.out

Look for "ERROR" lines in resulting file and fix errors. Rerun command to verify everything is OK.

IBM's installer is graphic tool, therefore start vncserver:

# vncserver

Connect to VNC session using viewer on your PC and start :

# ./db2setup

Click on Install a Product. Click on upper Install New button. Follow instruction accepting defaults. Do not define suggested notification unless you need it. Once finished, define DB2 instance to autostart after reboot:

# su - db2inst1
$ db2iauto -on db2inst1

Create SAMPLE database to verify installation:

# su - db2inst1
$ db2sampl
$ db2 connect to sample
$ db2 "select * from staff where dept = 20"
$ db2 connect reset
$ db2 drop database sample

Add user db2inst1 to root group (will be required later:

# usermod -aG root db2inst1

Reboot server to see DB2 comes automatically up. It does not comes immediately, wait for a minute.

Installing rest in one shot

In temporary space create directory jazz (important, some scripts have this name hardcoded). Unpack into this directory the following software

WAS_V8.5.0.1_FOR_JAZZSM_LINUX_ML.zip
JAZZ_FOR_SM_1.1.0.3_FOR_LNX.zip
ITCR_3.1.0.1_FOR_LINUX.tar.gz
ITCR_3.1.0.2_FOR_LINUX.tar.gz

Unpack SPM_CTL_SERVER_V5.2.10.1_LINUX.tar.gz out of jazz directory. Unpacking will create SC directory. Unpack at same place license file. This should place SC/license/key/nodelock.AE at correct place. If not, you will be asked to point correct nodelock.AE file during installation.

Start vncserver (if not started) as root, connect to it.

# /opt/ibm/db2/V10.5/cfg/db2ln
# source /home/db2inst1/sqllib/db2profile
# cd /tmp/SC/
# ./setup.bin

Installer will detect DB2 already installed and will not propmt to install it. Next step to click Install now at "Cognos BI Reporting" section. At next window supply directory with unpacked software (if you followed me, it /tmp/jazz) and click Install now button. Firefox window will opened, select Custom installation. Click Next until "Select Operations" window appear. Change every operation to None, install only "Reporting services" and "IBM Webshere Application Server". Supply correct DB2 user (db2inst1) and password when asked.

Once everything in green state, click on Exit link on the left. Firefox window will closed and you will return to previous installer. Click OK.

Click Next, accept defaults and supply correct usernames and passwords.

JAZZ does not start after reboot

Manual start procedure:

# /opt/IBM/JazzSM/profile/bin/startServer.sh server1

Cleanup

Remove /src directory if needed.

Reduce /tmp size to 1G

Poweroff server and reduce it's memory to 8G.


Updated on Mon Aug 8 13:50:06 IDT 2016 More documentations here