Author |
Message
|
Hosam |
Posted: Mon Apr 30, 2012 2:38 pm Post subject: should have multiple Listener for all Q Manager |
|
|
Newbie
Joined: 30 Apr 2012 Posts: 7
|
Hi Every body I'm New in MQ Server v7.0
please to help me in my case I'm create multiple Queue Manager and should be connect form out side from application in my environment that mean should have listener ..
But the question is should have for all q Manager have own Listener or just one listener by TCP, port, control, and Name it's enough
please help me in this Issue and I will thankful
Cheers |
|
Back to top |
|
 |
fjb_saper |
Posted: Mon Apr 30, 2012 6:08 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
To communicate, each qmgr neads its own listener.
Multiple qmgrs on the same machine will mean each qmgr on that machine needs its own port for its listener.
Hope that clears up things for you.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Hosam |
Posted: Mon Apr 30, 2012 8:35 pm Post subject: |
|
|
Newbie
Joined: 30 Apr 2012 Posts: 7
|
hmmmm OK it's good and should each Listenre have own port number for Example
QM - APP
Listener - APPL
Port - 1414 <---------
QM - DAS
Listener - DASL
Port - 1415 <---------
that's right ?? |
|
Back to top |
|
 |
bruce2359 |
Posted: Mon Apr 30, 2012 9:00 pm Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9470 Location: US: west coast, almost. Otherwise, enroute.
|
In an o/s instance, each qmgr must have a unique port number. This is really a tcp/ip network issue. Mq is likely one of several apps using sockets. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Hosam |
Posted: Mon Apr 30, 2012 9:41 pm Post subject: |
|
|
Newbie
Joined: 30 Apr 2012 Posts: 7
|
cool thanks guys  |
|
Back to top |
|
 |
zpat |
Posted: Mon Apr 30, 2012 11:39 pm Post subject: |
|
|
 Jedi Council
Joined: 19 May 2001 Posts: 5866 Location: UK
|
You can have more than one listener per QM if you want. Occasionally useful for firewall reasons.
Also you can optionally bind the listener to a given IP address on the host - if you have more than one IP address (this then helps with HA/CMP to keep a HA QM associated with the HA service address only, also useful sometimes for VLAN separation). |
|
Back to top |
|
 |
mqjeff |
Posted: Tue May 01, 2012 1:36 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
bruce2359 wrote: |
In an o/s instance, each qmgr must have a unique port number. This is really a tcp/ip network issue. Mq is likely one of several apps using sockets. |
strictly speaking, it's a unique combination of ip address and port #.
You can easily ensure that a listener is only tied to one specific ipaddress on a given box. So I can create ten listeners all on port 1414, provided there are ten separate ip addresses on the box. |
|
Back to top |
|
 |
|