Author |
Message
|
mqjim |
Posted: Fri Apr 22, 2005 5:28 am Post subject: Sharing Listener Ports between Multiple QMGRs |
|
|
Novice
Joined: 01 Jul 2004 Posts: 22 Location: TEXAS
|
Understand that it is possible to share listening ports betwen multiple QMGRs on the same platform.
Has anyone done this and what are the pitfalls you encountered? It would appear that depending on the message traffic this could be a bottleneck. I am being asked to use this and have concerns.
If we are concerned about opening ports in the firewall this may be a solution, I just do not want to go down a path into deeper issues trying to avoid a simpler issue. |
|
Back to top |
|
 |
Nigelg |
Posted: Fri Apr 22, 2005 5:56 am Post subject: |
|
|
Grand Master
Joined: 02 Aug 2004 Posts: 1046
|
Where did you get that idea?
An incoming port has to be dedicated to a single qmgr. Either it is runmqlsr, or inetd starting amqcrsta; either way the qmgr is named on the command line. |
|
Back to top |
|
 |
Anirud |
Posted: Fri Apr 22, 2005 5:58 am Post subject: Re: Sharing Listener Ports between Multiple QMGRs |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
mqjim wrote: |
share listening ports betwen multiple QMGRs on the same platform. |
Did you mean to say multiple QMgrs on the same machine or multiple QMgrs on different machines on the same OS? |
|
Back to top |
|
 |
mqjim |
Posted: Fri Apr 22, 2005 6:20 am Post subject: |
|
|
Novice
Joined: 01 Jul 2004 Posts: 22 Location: TEXAS
|
My understanding is that multiple QMGRs on the same server can share the same port. As I mentioned I have not done this and that is why I am asking this question. |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 22, 2005 6:21 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
mqjim wrote: |
My understanding is that multiple QMGRs on the same server can share the same port. |
This is wrong. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
markt |
Posted: Fri Apr 22, 2005 6:36 am Post subject: |
|
|
 Knight
Joined: 14 May 2002 Posts: 508
|
To be pedantic, you CAN have multiple qmgrs using the same portnumber. However you cannot have them using the same (IP address, portnumber) combination. I suspect the original question was not considering the subtle version where the listener address is specified. |
|
Back to top |
|
 |
Anirud |
Posted: Fri Apr 22, 2005 6:43 am Post subject: |
|
|
 Master
Joined: 12 Feb 2004 Posts: 285 Location: Vermont
|
mqjim wrote: |
My understanding is that multiple QMGRs on the same server can share the same port. |
Nigelg wrote: |
An incoming port has to be dedicated to a single qmgr. Either it is runmqlsr, or inetd starting amqcrsta; either way the qmgr is named on the command line. |
|
|
Back to top |
|
 |
mqjim |
Posted: Fri Apr 22, 2005 6:48 am Post subject: |
|
|
Novice
Joined: 01 Jul 2004 Posts: 22 Location: TEXAS
|
Currently we use Logical IPs and I intend to use the -i parm on the runmqlsr comand. This will allow the listener to only listen to ip xxx for the port.
Question is does this cause a bottleneck? I am concerned that using the same port on a diff IP would cause some issues?? Since I am using a diff IP this may not be the issue?? |
|
Back to top |
|
 |
jefflowrey |
Posted: Fri Apr 22, 2005 7:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
mqjim wrote: |
Question is does this cause a bottleneck? I am concerned that using the same port on a diff IP would cause some issues?? Since I am using a diff IP this may not be the issue?? |
It should not be an issue. I've never seen an issue with similar configurations when using Apache. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|