You are planning to install or upgrade a WebSphere MQ server on a UNIX or Linux system and need to know how to tune the operating system, including user limits and kernel parameters for resources like shared memory and semaphores.
You can Install MQ Series in UNIX you should be Logged as a ROOT. First you can Install MQ7.0 after you can Install FIX Pack MQ v7.1.0.3/8/9
Switch User :- / su root
/ password
Give the path of the MQ Software, where u have that specify here
Home/Nagireddy/Desktop/MQ v7.0
Change the permissions of the File : / chmod 755 FILENAME
To Change the all files at a time the command is / chmod 755 *.*
After you can accept the License the command is ./mqlicense.sh –accept
You can Install these Applications In MQ7.0 :-
MQSeriesRuntime-7.0.1.3.i386.rpm
MQSericeSDK-7.0.1.3.i386.rpm
MQSeriesJava-7.0.1.3.i386.rpm
MQSeriesServer -7.0.1.3.i386.rpm
MQSeriesSamples-7.0.1.3.i386.rpm
The Command Is:-
rpm –ivh MQSeriesRuntime-7.0.1.3.i386.rpm
rpm –ivh MQSeriesServer -7.0.1.3.i386.rpm
(Some time's the installation fails, when that time you need to use the following command.
"SETENFORCE 0" : force installation)
In the same way Install all the Applications……… using ( rpm –ivh ) After Installing MQ7.0 you can Install MQ7.1 FIX Pack
PATH=$PATH:/ opt/mqm/samp/bin
Un-installation Procedure:-
If you want to un Install the MQ Series First you can un Install the MQ7.1FIX PACK after un Install MQ7.0
In Un-install process you can remove the .rpm of the application. The command is
==> rpm –ev MQSeriesRuntime-7.0.1.3.i386.rpm (OR) rpm –e MQSeriesRuntime-7.0.1.3.i386.rpm
Using this Command you can un-install all applications
***************MQ V7.5 installation in Linux
machine*********************
[reddy@nagireddy ~]$ su root
Password:
[root@nagireddy reddy]# ls
Desktop Documents Downloads
Music Pictures Public
Templates Videos
[root@nagireddy reddy]# cd
Desktop/
[root@nagireddy Desktop]# ls
MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML
[root@nagireddy Desktop]# cd MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML/
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# ls
copyright
MQSeriesMsg_es-7.5.0-2.i386.rpm
crtmqpkg
MQSeriesMsg_fr-7.5.0-2.i386.rpm
lap
MQSeriesMsg_hu-7.5.0-2.i386.rpm
licenses
MQSeriesMsg_it-7.5.0-2.i386.rpm
mqlicense.sh
MQSeriesMsg_ja-7.5.0-2.i386.rpm
MQSeriesAMS-7.5.0-2.i386.rpm
MQSeriesMsg_ko-7.5.0-2.i386.rpm
MQSeriesClient-7.5.0-2.i386.rpm
MQSeriesMsg_pl-7.5.0-2.i386.rpm
MQSeriesExplorer-7.5.0-2.i386.rpm MQSeriesMsg_pt-7.5.0-2.i386.rpm
MQSeriesFTAgent-7.5.0-2.i386.rpm MQSeriesMsg_ru-7.5.0-2.i386.rpm
MQSeriesFTBase-7.5.0-2.i386.rpm MQSeriesMsg_Zh_CN-7.5.0-2.i386.rpm
MQSeriesFTLogger-7.5.0-2.i386.rpm MQSeriesMsg_Zh_TW-7.5.0-2.i386.rpm
MQSeriesFTService-7.5.0-2.i386.rpm MQSeriesRuntime-7.5.0-2.i386.rpm
MQSeriesFTTools-7.5.0-2.i386.rpm MQSeriesSamples-7.5.0-2.i386.rpm
MQSeriesGSKit-7.5.0-2.i386.rpm MQSeriesSDK-7.5.0-2.i386.rpm
MQSeriesJava-7.5.0-2.i386.rpm MQSeriesServer-7.5.0-2.i386.rpm
MQSeriesJRE-7.5.0-2.i386.rpm PreReqs
MQSeriesMan-7.5.0-2.i386.rpm READMEs
MQSeriesMsg_cs-7.5.0-2.i386.rpm repackage
MQSeriesMsg_de-7.5.0-2.i386.rpm
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# ls -a all
ls: cannot access all: No such file or directory
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# ls - a all
ls: cannot access -: No such file or directory
ls: cannot access a: No such file or directory
ls: cannot access all: No such file or directory
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# ls
copyright
MQSeriesMsg_es-7.5.0-2.i386.rpm
crtmqpkg
MQSeriesMsg_fr-7.5.0-2.i386.rpm
lap
MQSeriesMsg_hu-7.5.0-2.i386.rpm
licenses
MQSeriesMsg_it-7.5.0-2.i386.rpm
mqlicense.sh
MQSeriesMsg_ja-7.5.0-2.i386.rpm
MQSeriesAMS-7.5.0-2.i386.rpm
MQSeriesMsg_ko-7.5.0-2.i386.rpm
MQSeriesClient-7.5.0-2.i386.rpm
MQSeriesMsg_pl-7.5.0-2.i386.rpm
MQSeriesExplorer-7.5.0-2.i386.rpm MQSeriesMsg_pt-7.5.0-2.i386.rpm
MQSeriesFTAgent-7.5.0-2.i386.rpm MQSeriesMsg_ru-7.5.0-2.i386.rpm
MQSeriesFTBase-7.5.0-2.i386.rpm MQSeriesMsg_Zh_CN-7.5.0-2.i386.rpm
MQSeriesFTLogger-7.5.0-2.i386.rpm MQSeriesMsg_Zh_TW-7.5.0-2.i386.rpm
MQSeriesFTService-7.5.0-2.i386.rpm MQSeriesRuntime-7.5.0-2.i386.rpm
MQSeriesFTTools-7.5.0-2.i386.rpm MQSeriesSamples-7.5.0-2.i386.rpm
MQSeriesGSKit-7.5.0-2.i386.rpm MQSeriesSDK-7.5.0-2.i386.rpm
MQSeriesJava-7.5.0-2.i386.rpm MQSeriesServer-7.5.0-2.i386.rpm
MQSeriesJRE-7.5.0-2.i386.rpm PreReqs
MQSeriesMan-7.5.0-2.i386.rpm READMEs
MQSeriesMsg_cs-7.5.0-2.i386.rpm repackage
MQSeriesMsg_de-7.5.0-2.i386.rpm
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# ./mqlicense.sh -accept
Licensed Materials - Property of IBM
5724-H72
(C) Copyright IBM Corporation 1994, 2013 All rights reserved.
US Government Users Restricted Rights - Use, duplication or disclosure
restricted by GSA ADP Schedule Contract with IBM Corp.
Agreement accepted: Proceed
with install.
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# rpm -ivh
MQSeriesRuntime-7.5.0-2.i386.rpm
Preparing...
########################################### [100%]
Creating group mqm
Creating user mqm
1:MQSeriesRuntime
########################################### [100%]
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# rpm -ivh
MQSeriesServer-7.5.0-2.i386.rpm
Preparing... ###########################################
[100%]
1:MQSeriesServer
########################################### [100%]
After the installation has completed, run the '/opt/mqm/bin/mqconfig'
command, using the 'mqm' user ID.
For example, execute the following statement when running as the
'root' user:
su mqm -c
"/opt/mqm/bin/mqconfig"
The 'mqconfig' command validates that the system configuration
satisfies the
requirements for WebSphere MQ, and ensures that the settings for the
'mqm'
user ID are suitably configured.
Other WebSphere MQ administrators in the
'mqm' group can run this command to ensure their user limits are also
properly configured to use WebSphere MQ.
If 'mqconfig' indicates that any of the requirements have not been met,
consult the installation section within the WebSphere MQ Information
Center
for details about how to configure the system and user limits.
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# rpm -ivh
MQSeriesClient-7.5.0-2.i386.rpm
Preparing... ###########################################
[100%]
1:MQSeriesClient
########################################### [100%]
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# rpm -ivh
MQSeriesSamples-7.5.0-2.i386.rpm
Preparing... ###########################################
[100%]
1:MQSeriesSamples
########################################### [100%]
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# rpm -ivh
MQSeriesSDK-7.5.0-2.i386.rpm
Preparing... ###########################################
[100%]
1:MQSeriesSDK
########################################### [100%]
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# dspmqver
AMQ8594: WebSphere MQ commands
are no longer available in /usr/bin.
In order to run MQ commands you
must manage your path configuration as
described in the WebSphere MQ
product documentation. In particular review the
topic on "Choosing a
primary installation".
[root@nagireddy MQ_7.5.0.2_TRIAL_LNX_ON_X86_32_ML]# dspmq
bash: dspmq: command not found
[root@nagireddy home]# /opt/mqm/bin/setmqinst -i -p /opt/mqm
Refreshing settings for Primary
Installation 'Installation1' (/opt/mqm).
87 of 87 tasks have been
completed successfuly.
'Installation1' (/opt/mqm) set
as the Primary Installation.
[root@nagireddy home]# dspmqinst
InstName: Installation1
InstDesc:
Identifier: 1
InstPath: /opt/mqm
Version: 7.5.0.2
Primary: Yes
State: Available
*****************Installation done**********
[root@nagireddy home]# crtmqm QM1
AMQ7077: You are not authorized to perform the requested operation.
[root@nagireddy home]# su mqm
bash-4.1$ crtmqm QM1
There are 90 days left in the trial period for this copy of WebSphere
MQ.
WebSphere MQ queue manager created.
Directory '/var/mqm/qmgrs/QM1' created.
The queue manager is associated with installation 'Installation1'.
Creating or replacing default objects for queue manager 'QM1'.
stDefault objects statistics : 74 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
rbash-4.1$ strmqm QM1
There are 90 days left in the trial period for this copy of WebSphere
MQ.
WebSphere MQ queue manager 'QM1' starting.
The queue manager is associated with installation 'Installation1'.
5 log records accessed on queue manager 'QM1' during the log replay
phase.
Log replay for queue manager 'QM1' complete.
Transaction manager state recovered for queue manager 'QM1'.
WebSphere MQ queue manager 'QM1' started using V7.5.0.2.
bash-4.1$ runmqsc QM1
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QM1.