tag:blogger.com,1999:blog-6740338341177826314.post6770308834965032389..comments2024-03-28T09:19:27.711+00:00Comments on A Portal to a Portal: Installing IBM WebSphere MQ on LinuxDave Hayhttp://www.blogger.com/profile/10444759805764485699noreply@blogger.comBlogger9125tag:blogger.com,1999:blog-6740338341177826314.post-31835824086268354382020-09-27T17:54:48.618+01:002020-09-27T17:54:48.618+01:00AwesomeAwesomeSyed Aamer Saeedhttps://www.blogger.com/profile/10208283133999217146noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-80185147246858412212020-09-26T18:30:56.057+01:002020-09-26T18:30:56.057+01:00Syed
As promised, a post here: -
It's been a...Syed<br /><br />As promised, a post here: -<br /><br /><a href="https://portal2portal.blogspot.com/2020/09/its-been-while-tinkering-with-ibm-mq.html" rel="nofollow">It's been a while, tinkering with IBM MQ and scripting ... </a><br /><br />Hope it's of some use.<br /><br />Dave<br />Dave Hayhttps://www.blogger.com/profile/10444759805764485699noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-58846557107101568012020-09-26T16:42:36.873+01:002020-09-26T16:42:36.873+01:00Hey Syed
Yes, you can run commands such as echo &...Hey Syed<br /><br />Yes, you can run commands such as <i>echo "DISPLAY QUEUE(*)" | runmqsc QM_MDB</i> to see ALL the Queues in a particular Queue Manger.<br /><br />I'll write a separate post about this shortly ...<br /><br />Cheers, Dave<br />Dave Hayhttps://www.blogger.com/profile/10444759805764485699noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-60682891290680864262020-09-23T11:58:47.225+01:002020-09-23T11:58:47.225+01:00Okay thank you Dave. I have two more questions
Can...Okay thank you Dave. I have two more questions<br />Can we see all queues through a runmqsc command because I have read the commands list but in every command we have to give queue name to display its status ......But I want to check all queues that are already defined in a running system.Syed Aamer Saeedhttps://www.blogger.com/profile/10208283133999217146noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-48466280652508215182020-09-21T09:32:12.334+01:002020-09-21T09:32:12.334+01:00Hi Syed
Thanks for your comments.
So, as a cavea...Hi Syed<br /><br />Thanks for your comments.<br /><br />So, as a caveat, I'm not an MQ expert <i>per se</i> and haven't worked with it since I switched job roles in early 2019.<br /><br />With regard to your first question, I'd suggest exploring a combination of <b>dspmq</b> and <b>runmqsc</b> in a script, similar to the examples in this most excellent presentation from 2014 - <a href="https://mqtechconference.com/sessions_v2014/MQTC_v2014_Toolbox.pdf" rel="nofollow">The WebSphere MQ Toolbox</a><br /><br />The MQ <a href="https://www.ibm.com/support/knowledgecenter/SSFKSJ_9.2.0/com.ibm.mq.ref.adm.doc/q083460_.htm" rel="nofollow">Knowneldge Center</a> is also worth a look ...<br /><br />With regard to your second question, I <b>believe</b> that the order of creation is Queue > Channel > Listener, but I may well be wrong .....<br /><br />Thanks, DaveDave Hayhttps://www.blogger.com/profile/10444759805764485699noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-60008570965916106422020-09-18T11:02:08.589+01:002020-09-18T11:02:08.589+01:00Hi Dave,
Nice article. As a beginner I have multip...Hi Dave,<br />Nice article. As a beginner I have multiple questions.<br />1. In already installed IBM MQ server how to check that how many queues, listener and channels are already created? and their names?<br />2. I have installed MQ V9 and I want to know does the order of creation of queue, listener or channel matters? <br />Syed Aamer Saeedhttps://www.blogger.com/profile/10208283133999217146noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-87565863236922112672018-10-08T11:09:17.293+01:002018-10-08T11:09:17.293+01:00Hi Sujeet
Thanks for the comments.
So I've j...Hi Sujeet<br /><br />Thanks for the comments.<br /><br />So I've just installed MQ 8 again, on a fresh VM: -<br /><br />/tmp/mqlicense.sh -accept<br />rpm -ivh --prefix /opt/ibm/mqm /tmp/MQSeriesRuntime-8.0.0-0.x86_64.rpm<br />rpm -ivh --prefix /opt/ibm/mqm /tmp/MQSeriesServer-8.0.0-0.x86_64.rpm<br />rpm -ivh --prefix /opt/ibm/mqm /tmp/MQSeriesSamples-8.0.0-0.x86_64.rpm<br />rpm -ivh --prefix /opt/ibm/mqm /tmp/MQSeriesJRE-8.0.0-0.x86_64.rpm <br />rpm -ivh --prefix /opt/ibm/mqm /tmp/MQSeriesExplorer-8.0.0-0.x86_64.rpm <br />rpm -Uvh --prefix /opt/ibm/mqm /tmp/MQSeriesRuntime-U8009-8.0.0-9.x86_64.rpm<br />rpm -Uvh --prefix /opt/ibm/mqm /tmp/MQSeriesServer-U8009-8.0.0-9.x86_64.rpm<br />rpm -Uvh --prefix /opt/ibm/mqm /tmp/MQSeriesSamples-U8009-8.0.0-9.x86_64.rpm<br />rpm -Uvh --prefix /opt/ibm/mqm /tmp/MQSeriesJRE-U8009-8.0.0-9.x86_64.rpm <br />rpm -Uvh --prefix /opt/ibm/mqm /tmp/MQSeriesExplorer-U8009-8.0.0-9.x86_64.rpm <br /><br />and have also installed the RPMs necessary to support the tunnelling of X11 over SSH etc.<br /><br />/usr/bin/yum --noplugins install -y gtk2<br />/usr/bin/yum --noplugins install -y xterm<br />/usr/bin/yum --noplugins install -y libgtk-x11-2.0.so.0<br />/usr/bin/yum --noplugins install -y libXtst<br />/usr/bin/yum --noplugins install -y xeyes<br />/usr/bin/yum --noplugins install -y xauth<br /><br />With these installed, I can SSH to my Linux VM: -<br /><br />ssh -Y mqm@mqserver<br /><br />and start MQ Explorer.<br /><br />Bottom line, your VM will need to have the necessary X11-related RPMs installed, AND you'll need to be able to tunnel X11 over SSH from your host OS to the VM.<br /><br />I'm using XQuartz to host an X11 server on macOS. On Windows, other tools such as XMing and Cygwin etc.<br /><br />Cheers, Dave<br />Dave Hayhttps://www.blogger.com/profile/10444759805764485699noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-91897045960881108212018-10-05T19:06:52.792+01:002018-10-05T19:06:52.792+01:00Or do i need to install anything on my windows sys...Or do i need to install anything on my windows system, where i can see the things.Anonymoushttps://www.blogger.com/profile/12190613666681379849noreply@blogger.comtag:blogger.com,1999:blog-6740338341177826314.post-36180162046633549302018-10-05T19:03:20.707+01:002018-10-05T19:03:20.707+01:00Hi Sir
I am bigginer in MQ, have followed your ste...Hi Sir<br />I am bigginer in MQ, have followed your steps to install. Now i want to open the MQ in explorer, when i ran strmqcfg it didn’t open. Do i need to install anything befor running this command on linux. Need your help.Anonymoushttps://www.blogger.com/profile/12190613666681379849noreply@blogger.com