Getting Started with Websphere MQ on Linux CentOS

Install Procedure for MQ Series 7.1.0-0

Step 1 - Create Working Folder
-bash-3.2$ mkdir $HOME/MQ
-bash-3.2$ cd $HOME/MQ

Step 2 - Download
-bash-3.2$ wget https://www15.software.ibm.com/sdfdl/v2/fulfill/CI50ZML/Xa.2/Xb.JSiMj8YMb5GyHPzC8QrNFjOjmKulz6rMpstKQz2u2A/Xc.CI50ZML/CI50ZML.tar.gz/Xd./Xf.LPr.D1VK/Xg.6326855/Xi.ESD-WSMQ-EVAL/XY.regsrvs/XZ.xZgIo09btSUWIzRzk9IMAGmpv4I/CI50ZML.tar.gz

Step 3 - Run License Acceptance Script
-bash-3.2$ ./mqlicense.sh -accept

Step 4- Install MQ Runtime Environment
-bash-3.2$ rpm -ivh MQSeriesRuntime-7.1.0-0.i386.rpm

Step 5 - Install MQ Server
-bash-3.2$ rpm -ivh MQSeriesServer-7.1.0-0.i386.rpm

Step 6 - Install MQ Samples need these for testing

-bash-3.2$ rpm -ivh MQSeriesSamples-7.1.0-0.i386.rpm


Step 7 - Lets Test
Login as super user root
-bash-3.2$ su - mgm
-bash-3.2$ cd /opt/mqm/bin

-bash-3.2$ ./crtmqm -q dtm.queue.manager # create a queue manager
-bash-3.2$ ./strmqm # start the queue manager
-bash-3.2$ ./runmqsc # run MQMS commands
define qlocal (dtmtest.queue)
end

Step 8 - Test
-bash-3.2$cd  /opt/mqm/samp/bin
-bash-3.2$./amqsput DTMTEST.QUEUE # runmqsc will put it in caps
-bash-3.2$./amqsput DTMTEST.QUEUE
Sample AMQSPUT0 start
target queue is DTMTEST.QUEUE
First MQ Script
end

Sample AMQSPUT0 end

-bash-3.2$./amqsget DTMTEST.QUEUE
Sample AMQSGET0 start
message <First MQ Script>
message <end>

no more messages
Sample AMQSGET0 end
-bash-3.2$
-bash-3.2$

Comments

  1. -bash-3.2$ su - mgm typo

    mqm is the correction

    ReplyDelete
    Replies
    1. This comment has been removed by the author.

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. how i came here i don’t know , but this is the excellent one for my technical information
    websphere Online Training

    ReplyDelete
  4. Big data training .All the basic and get the full knowledge of hadoop.
    Big data training


    ReplyDelete
  5. Big data and data warehousing related information is always updated to me at hadoop online training in hyderabad. Nice insight on the topic refer the details at
    hadoop online training

    ReplyDelete

Post a Comment

Popular posts from this blog

Basic Send Message to MQ with Java and IBM MQ JMS

Basic Receive Message to MQ with Java and IBM MQ JMS

Creating a simple Alert / Success Message with ASP.NET/VB using Bootstrap