ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General IBM MQ Support » Multiple QM's listening on same port

Post new topic  Reply to topic
 Multiple QM's listening on same port « View previous topic :: View next topic » 
Author Message
Cyberherbalist
PostPosted: Thu Jul 23, 2009 3:10 pm    Post subject: Multiple QM's listening on same port Reply with quote

Guest




Our production MQ server has two queue managers, one for production and the other for QA (staging). Oddly enough, in the MQ Explorer Properties of both QMs is the TCP port assignment 1414, though they each one's listener is listening on different ports (1414 & 1415).

I'm not sure what to think of this. Shouldn't the TCP port in the Queue Manager Properties be the same as the Listener.TCP? And what is the effect if they're the same?
Back to top
manicminer
PostPosted: Thu Jul 23, 2009 11:41 pm    Post subject: Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

TCP port property on a queue manager is the default port, if you don't specify one for runmqlsr on the command line, or use magic port 0 in your listener object definition.

You only need to worry about it in those 2 cases. Otherwise just check the way your listener objects are defined (or how your runmqlsr commands are run)
_________________
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Back to top
View user's profile Send private message
PeterPotkay
PostPosted: Fri Jul 24, 2009 6:08 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

manicminer wrote:
TCP port property on a queue manager is the default port, if you don't specify one for runmqlsr on the command line, or use magic port 0 in your listener object definition.


That number is also what gets appended to the end of the CONNAME parm in your sending channels and CLUSRCVRs if you don't specify a port # explicitly in the channel def.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
manicminer
PostPosted: Fri Jul 24, 2009 6:26 am    Post subject: Reply with quote

Disciple

Joined: 11 Jul 2007
Posts: 177

PeterPotkay wrote:

That number is also what gets appended to the end of the CONNAME parm in your sending channels and CLUSRCVRs if you don't specify a port # explicitly in the channel def.


Ah ha, you learn something new everyday
_________________
Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Fri Jul 24, 2009 10:29 am    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

I highly recommend you always be specific. One day, some one will get clever and change that and go on vacation. Then, on the weekend late at night, someone will reboot that machine or recycle that QMGR. You will get a call that goes something like "MQ is broken again. Fix it! Just fix it!"

You will be wondering what is wrong.
Back to top
View user's profile Send private message AIM Address
PeterPotkay
PostPosted: Fri Jul 24, 2009 10:44 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7722

You said a mouthful. That's why I know this. None of out channels had the (1414) at the end of the CONNAME. One day someone says, "Oh, this QM is listening on 1415, let me change that parm to match." It took a while to figure out why the channels were all going after the wrong ports.
_________________
Peter Potkay
Keep Calm and MQ On
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Sat Jul 25, 2009 2:46 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Worse case scenario.... someone changes the default port for MQ and tells nobody... You recycle a qmgr and the channels go into retry... and not just yours, your partners as well....

This is why you should always state the channel number explicitely, on the listener, on the conname...

Have fun
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General IBM MQ Support » Multiple QM's listening on same port
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.