|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
Find Queue Manager port using command |
« View previous topic :: View next topic » |
Author |
Message
|
gaurav.udgir |
Posted: Mon Jun 08, 2009 1:51 am Post subject: Find Queue Manager port using command |
|
|
Apprentice
Joined: 18 May 2009 Posts: 32
|
Hi All.
I am new to MQ. I need to find MQ Queue Manager port number using the command as I am working on AIX box. Could you please help me with the command for this?
Thank you in advance.
Regards,
Gaurav |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 08, 2009 2:03 am Post subject: Re: Find Queue Manager port using command |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
gaurav.udgir wrote: |
Could you please help me with the command for this? |
Depending on WMQ method & level (neither of which you mention), it's netstat, runmqlsr or DISPLAY LISTENER. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 08, 2009 2:06 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
If it's V6.0 or above, as it should be, look at the attributes of the Listener object(s). If, however, you are using V5.3 (and you shouldn't be) look at the entries in /etc/services and inetd.conf (if the deprecated method has been used), or the start-up script of the queue manager to see if runmqlsr has been used, and if so, which IP Port is being used. Also ps -ef|grep runmqlsr will tell you, if runmqlsr is being used. That's your free fish used up... _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 08, 2009 2:07 am Post subject: Re: Find Queue Manager port using command |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
...it's netstat... |
Damn, I always forget that one! _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 08, 2009 3:20 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
If it's V6.0 or above, as it should be, look at the attributes of the Listener object(s). |
Also be aware that even if it's a v6 queue manager it's not mandatory (but is certainly best practice) to be using listener objects. If the queue manager was defined using v5.3 it may still be using the original method.
So if you've got a v6 queue manager which is working, but has no listener objects, don't panic!
(just reach for your towel and be certain the port number is not 42..... ) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Mon Jun 08, 2009 3:25 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Vitor wrote: |
exerk wrote: |
If it's V6.0 or above, as it should be, look at the attributes of the Listener object(s). |
Also be aware that even if it's a v6 queue manager it's not mandatory (but is certainly best practice) to be using listener objects. If the queue manager was defined using v5.3 it may still be using the original method.
So if you've got a v6 queue manager which is working, but has no listener objects, don't panic!
(just reach for your towel and be certain the port number is not 42..... ) |
That would be me naively assuming that being in the process of dragging my current site kicking and screaming into the 20th century (I know we have advanced one more, but baby steps), that no one would be so 'out there' as to continue with anything but that which is righteous...
...now going for a sulk in the dungeon. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
Vitor |
Posted: Mon Jun 08, 2009 3:38 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
exerk wrote: |
That would be me naively assuming that being in the process of dragging my current site kicking and screaming into the 20th century (I know we have advanced one more, but baby steps), that no one would be so 'out there' as to continue with anything but that which is righteous... |
A number of sites of my personal experience have upgraded to WMQv6 on the "ain't broke, don't fix it" principle, where a given server has been upgraded to v6, the existing queue managers simply restarted and left in their existing configuration (in some of the more progressive sites, they did a regression test at this point, others just assumed the upgraded queue managers would be working).
So you could easily have a situation where a number of queue managers are using older methods while other queue managers (even on the same server) are using listener objects. Of course, someone might have gone through, edited all the existing configurations, added listeners and so forth but that depends on site workload.
I was simply underlining a point which could be encountered in the real world, rather than disagreeing with you. Stop sulking and sweep the floor before you come back up...  _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
RogerLacroix |
Posted: Mon Jun 08, 2009 7:19 pm Post subject: Re: Find Queue Manager port using command |
|
|
 Jedi Knight
Joined: 15 May 2001 Posts: 3264 Location: London, ON Canada
|
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|