- Download IBM WebSphere MQ from following link
- Select WebSphere MQ V8.0 from list and click on Continue
- Select the license agreement and confirm
- Select WebSphere MQ V8.0 Trial for Linux on X86 from the list and click on
- It may take few minutes to download depending on your internet speed. Once downloaded, you should see following file
[root@localhost Downloads]# ls -ltr total 0 -rw-r-----. 1 chandan chandan 0 Aug 31 09:49 WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar.gz [root@localhost Downloads]#
- Let's gunzip the file now. Once done, you should see tar file as following.
[root@localhost Downloads]# gunzip WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar.gz [root@localhost Downloads]# ls -ltr total 482608 -rw-r-----. 1 chandan chandan 431800320 Aug 31 08:37 WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar [root@localhost Downloads]#
- Extract the tar file by using tar -xvf command and you should see following files extracted.
[root@localhost READMES]# tar -xvf WS_MQ_V8.0_TRIAL_LNX_ON_X86_64_ML.tar [root@localhost Downloads]# ls -ltr total 1068500 -rw-r--r--. 1 226 12201 24227385 May 6 06:35 MQSeriesRuntime-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 251529 May 6 06:35 MQSeriesSDK-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 786408 May 6 06:35 MQSeriesSamples-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 5043802 May 6 06:35 MQSeriesClient-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 42354037 May 6 06:36 MQSeriesJava-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 88953596 May 6 06:36 MQSeriesJRE-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 19878931 May 6 06:36 MQSeriesGSKit-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 183922 May 6 06:36 MQSeriesMsg_de-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 312908 May 6 06:36 MQSeriesMan-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 162976 May 6 06:36 MQSeriesMsg_ja-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 172824 May 6 06:36 MQSeriesMsg_it-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 173762 May 6 06:36 MQSeriesMsg_fr-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 172276 May 6 06:36 MQSeriesMsg_es-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 165440 May 6 06:36 MQSeriesMsg_ru-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 171498 May 6 06:36 MQSeriesMsg_pt-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 155265 May 6 06:36 MQSeriesMsg_ko-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 150192 May 6 06:36 MQSeriesMsg_Zh_CN-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 174384 May 6 06:36 MQSeriesMsg_pl-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 174448 May 6 06:36 MQSeriesMsg_hu-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 171160 May 6 06:36 MQSeriesMsg_cs-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 151331 May 6 06:36 MQSeriesMsg_Zh_TW-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 23647132 May 6 06:37 MQSeriesServer-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 22271431 May 6 06:37 MQSeriesFTBase-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 25603 May 6 06:37 MQSeriesFTTools-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 15009811 May 6 06:37 MQSeriesFTService-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 2728965 May 6 06:37 MQSeriesFTAgent-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 7112412 May 6 06:37 MQSeriesFTLogger-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 18276 May 6 06:37 MQSeriesAMS-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 211123878 May 6 06:38 MQSeriesExplorer-8.0.0-0.x86_64.rpm -rw-r--r--. 1 226 12201 1762276 May 6 06:38 MQSeriesXRService-8.0.0-0.x86_64.rpm -rwxr-xr-x. 1 226 12201 5631 May 6 06:41 crtmqpkg -rw-r--r--. 1 226 12201 241 May 6 06:41 copyright drwxr-sr-x. 4 226 12201 48 May 6 06:41 lap drwxr-sr-x. 2 226 12201 4096 May 6 06:41 repackage drwxr-sr-x. 2 226 12201 4096 May 6 06:41 READMES drwxr-sr-x. 3 226 12201 17 May 6 06:41 PreReqs -rwxr-xr-x. 1 226 12201 8471 May 6 06:41 mqlicense.sh drwxr-sr-x. 2 226 12201 4096 May 6 06:41 licenses
- Accept the license agreement and use rpm -ivh command to install the components you require. The minimum component to have MQ Server running are:-
MQSeriesServer-8.0.0-0.x86_64.rpm
MQSeriesRuntime-8.0.0-0.x86_64.rpm
- Accept the license agreement by executing mqlicense.sh file
[root@localhost Downloads]# ./mqlicense.sh Licensed Materials - Property of IBM 5724-H72 (C) Copyright IBM Corporation 1994, 2014 US Government Users Restricted Rights - Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Displaying license agreement on :0
- Click on accept and you will see confirmation as following
Agreement accepted: Proceed with install. [root@localhost Downloads]#
Now, it's time to install MQSeriesRuntime & MQSeriesServer
[root@localhost Downloads]# rpm -ivh MQSeriesRuntime-8.0.0-0.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:MQSeriesRuntime-8.0.0-0 ################################# [100%] [root@localhost Downloads]# [root@localhost Downloads]# rpm -ivh MQSeriesServer-8.0.0-0.x86_64.rpm Preparing... ################################# [100%] Updating / installing... 1:MQSeriesServer-8.0.0-0 ################################# [100%] [root@localhost Downloads]#
Installation Verification
You can use rpm -qa command to ensure MQ is installed and also check MQ binaries are available under /opt/mqm
[root@localhost Downloads]# rpm -qa | grep -i mq MQSeriesServer-8.0.0-0.x86_64 MQSeriesRuntime-8.0.0-0.x86_64 [root@localhost Downloads]# [root@localhost Downloads]# ls -ltr /opt/mqm/ total 48 -r--r--r--. 1 mqm mqm 0 May 6 06:35 mqpatch.dat -r--r----. 1 mqm mqm 13543 May 6 06:35 instinfo.tsk dr-xr-xr-x. 3 mqm mqm 20 May 6 06:36 properties dr-xr-xr-x. 2 mqm mqm 6 May 6 06:36 inc dr-xr-xr-x. 2 mqm mqm 4096 Sep 1 09:26 READMES dr-xr-xr-x. 3 mqm mqm 18 Sep 1 09:26 msg dr-xr-xr-x. 3 mqm mqm 103 Sep 1 09:26 samp dr-xr-xr-x. 2 mqm mqm 4096 Sep 1 09:26 licenses dr-xr-xr-x. 16 mqm mqm 4096 Sep 1 09:26 doc dr-xr-xr-x. 5 mqm mqm 38 Sep 1 09:26 java dr-xr-xr-x. 3 mqm mqm 4096 Sep 1 09:26 bin dr-xr-xr-x. 4 mqm mqm 4096 Sep 1 09:26 lib dr-xr-xr-x. 3 mqm mqm 4096 Sep 1 09:26 lib64 [root@localhost Downloads]#
[root@localhost MQV8]# su - mqm
-bash-4.1$ . /opt/mqm/bin/setmqenv -s
-bash-4.1$
-bash-4.1$
-bash-4.1$ crtmqm KARTHICK
There are 90 days left in the trial period for this copy of WebSphere MQ.
WebSphere MQ queue manager created.
Directory '/var/mqm/qmgrs/KARTHICK' created.
The queue manager is associated with installation 'Installation1'.
Creating or replacing default objects for queue manager 'KARTHICK'.
Default objects statistics : 79 created. 0 replaced. 0 failed.
Completing setup.
Setup completed.
-bash-4.1$
-bash-4.1$
-bash-4.1$ strmqm KARTHICK
There are 90 days left in the trial period for this copy of WebSphere MQ.
The system resource RLIMIT_NOFILE is set at an unusually low level for
WebSphere MQ.
The system resource RLIMIT_NPROC is set at an unusually low level for WebSphere
MQ.
WebSphere MQ queue manager 'KARTHICK' starting.
The queue manager is associated with installation 'Installation1'.
5 log records accessed on queue manager 'KARTHICK' during the log replay phase.
Log replay for queue manager 'KARTHICK' complete.
Transaction manager state recovered for queue manager 'KARTHICK'.
WebSphere MQ queue manager 'KARTHICK' started using V8.0.0.0.
-bash-4.1$
-bash-4.1$ dspmq
QMNAME(KARTHICK) STATUS(Running)
-bash-4.1$
-bash-4.1$
-bash-4.1$ dspmqver
Name: WebSphere MQ
Version: 8.0.0.0
Level: p000-L140506
BuildType: IKAP - (Production)
Platform: WebSphere MQ for Linux (x86-64 platform)
Mode: 64-bit
O/S: Linux 2.6.32-220.el6.x86_64
InstName: Installation1
InstDesc:
Primary: No
InstPath: /opt/mqm
DataPath: /var/mqm
MaxCmdLevel: 800
LicenseType: Trial
-bash-4.1$
-bash-4.1$ runmqsc KARTHICK
5724-H72 (C) Copyright IBM Corp. 1994, 2014.
Starting MQSC for queue manager KARTHICK.
dis qmstatus all
2 : dis qmstatus all
AMQ8705: Display Queue Manager Status Details.
QMNAME(KARTHICK) STATUS(RUNNING)
CONNS(22) CMDSERV(RUNNING)
CHINIT(RUNNING) INSTNAME(Installation1)
INSTPATH(/opt/mqm) INSTDESC( )
LDAPCONN(INACTIVE) STANDBY(NOPERMIT)
STARTDA(2014-11-27) STARTTI(05.06.52)
:
dis qmgr
3 : dis qmgr
AMQ8408: Display Queue Manager details.
QMNAME(KARTHICK) ACCTCONO(DISABLED)
ACCTINT(1800) ACCTMQI(OFF)
ACCTQ(OFF) ACTIVREC(MSG)
ACTVCONO(DISABLED) ACTVTRC(OFF)
ALTDATE(2014-11-27) ALTTIME(05.05.49)
AUTHOREV(DISABLED) CCSID(1208)
CERTLABL(ibmwebspheremqkarthick) CERTVPOL(ANY)
CHAD(DISABLED) CHADEV(DISABLED)
CHADEXIT( ) CHLEV(DISABLED)
CHLAUTH(ENABLED) CLWLDATA( )
CLWLEXIT( ) CLWLLEN(100)
CLWLMRUC(999999999) CLWLUSEQ(LOCAL)
CMDEV(DISABLED) CMDLEVEL(800)
COMMANDQ(SYSTEM.ADMIN.COMMAND.QUEUE) CONFIGEV(DISABLED)
CONNAUTH(SYSTEM.DEFAULT.AUTHINFO.IDPWOS)
CRDATE(2014-11-27) CRTIME(05.05.49)
CUSTOM( ) DEADQ( )
DEFCLXQ(SCTQ) DEFXMITQ( )
DESCR( ) DISTL(YES)
INHIBTEV(DISABLED) IPADDRV(IPV4)
LOCALEV(DISABLED) LOGGEREV(DISABLED)
MARKINT(5000) MAXHANDS(256)
MAXMSGL(4194304) MAXPROPL(NOLIMIT)
MAXPRTY(9) MAXUMSGS(10000)
MONACLS(QMGR) MONCHL(OFF)
MONQ(OFF) PARENT( )
PERFMEV(DISABLED) PLATFORM(UNIX)
PSMODE(ENABLED) PSCLUS(ENABLED)
PSNPMSG(DISCARD) PSNPRES(NORMAL)
PSRTYCNT(5) PSSYNCPT(IFPER)
QMID(KARTHICK_2014-11-27_05.05.49) REMOTEEV(DISABLED)
REPOS( ) REPOSNL( )
REVDNS(ENABLED) ROUTEREC(MSG)
SCHINIT(QMGR) SCMDSERV(QMGR)
SPLCAP(DISABLED) SSLCRLNL( )
SSLCRYP( ) SSLEV(DISABLED)
SSLFIPS(NO)
SSLKEYR(/var/mqm/qmgrs/KARTHICK/ssl/key)
SSLRKEYC(0) STATACLS(QMGR)
STATCHL(OFF) STATINT(1800)
STATMQI(OFF) STATQ(OFF)
STRSTPEV(ENABLED) SUITEB(NONE)
SYNCPT TREELIFE(1800)
TRIGINT(999999999) VERSION(08000000)
XRCAP(NO)
Comments
Post a Comment