Monday, September 10, 2012

MQ Series: Installation - Linux


Install MQ Series

mkdir -p /export/home/mqm
groupadd -g 358 mqm
useradd -g 358 -u 246 -d /export/home/mqm -s /bin/bash mqm
chown -R mqm:mqm /export/home/mqm

 Prepare Installable

tar xzvf mq.tar.gz

Below system packages are required

compat-gcc 
compat-gcc-c++ 
compat-libstdc++
libstdc++ 
glibc-devel 
glibc-headers
Tune  System Parameters:
# /etc/sysctl.conf
# MQ
kernel.msgmni = 1024
kernel.shmmni = 4096
kernel.sem = 500 256000 250 1024
fs.file-max = 32768
net.ipv4.tcp_keepalive_time = 300
then run “sysctl –p” to take effect the new settings.

Update GSK7
cd /opt/installbinaries/MQ
rpm -Uvh gsk7bas64-7.0-4.23.x86_64.rpm
rpm -Uvh gsk7bas-7.0-4.23.i386.rpm

Process MQ License Agreement
cd /opt/installbinaries/MQ
./mqlicense.sh

Install MQ Binary
cd /opt/installbinaries/MQ
rpm -ivh MQSeriesRuntime-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesServer-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesJava-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesKeyMan-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesJRE-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesMan-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesSamples-7.0.1-0.x86_64.rpm
rpm -ivh MQSeriesClient-7.0.1-0.x86_64.rpm
Apply MQ Patch
cd /opt/installbinaries/MQ/fixpack
rpm -Uvh gsk7bas*
rpm -Uvh MQSeriesRuntime*
rpm -Uvh MQSeriesServer*
rpm -Uvh MQSeriesJava*
rpm -Uvh MQSeriesKeyMan*
rpm -Uvh MQSeriesJRE*
rpm -Uvh MQSeriesMan*
rpm -Uvh MQSeriesSamples*
rpm -Uvh MQSeriesClient*
Verify the MQ installation
rpm -qa | grep MQ | sort./
MQSeriesClient-7.0.1-0
MQSeriesClient-U827231-7.0.1-1
MQSeriesJava-7.0.1-0
MQSeriesJava-U827231-7.0.1-1
MQSeriesJRE-7.0.1-0
MQSeriesJRE-U827231-7.0.1-1
MQSeriesKeyMan-7.0.1-0
MQSeriesKeyMan-U827231-7.0.1-1
MQSeriesMan-7.0.1-0
MQSeriesMan-U827231-7.0.1-1
MQSeriesRuntime-7.0.1-0
MQSeriesRuntime-U827231-7.0.1-1
MQSeriesSamples-7.0.1-0
MQSeriesSamples-U827231-7.0.1-1
MQSeriesServer-7.0.1-0
MQSeriesServer-U827231-7.0.1-1
su – mqm
dspmqver
Name:        WebSphere MQ
Version:     7.0.1.5
CMVC level:  p701-105-110419
BuildType:   IKAP - (Production)

No comments:

Post a Comment