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$
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$
-bash-3.2$ su - mgm typo
ReplyDeletemqm is the correction
This comment has been removed by the author.
DeleteThis comment has been removed by the author.
ReplyDeletehow i came here i don’t know , but this is the excellent one for my technical information
ReplyDeletewebsphere Online Training
Big data training .All the basic and get the full knowledge of hadoop.
ReplyDeleteBig data training
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
ReplyDeletehadoop online training
Interesting Article
ReplyDeleteJMS Online Training | JMS Training in Chennai
Nice idea,keep sharing your ideas with us.i hope this information's will be helpful for the new learners.
ReplyDeletePython Training in Chennai
Python Training in Anna Nagar
JAVA Training in Chennai
Hadoop Training in Chennai
Selenium Training in Chennai
Python Training in Chennai
Python Training in Velachery