Author |
Message
|
kayhansefat |
Posted: Wed Apr 25, 2007 6:52 am Post subject: Channel Setup - Same Queue Manager Problem |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
I am trying to setup a channel between two systems. It works fine and we are able to send messages over the transmission queues IF the queue managers on the systems are different.
However if the channels and queues are created on both the systems where the queue managers on them both are: WBRK6_DEFAULT_QUEUE_MANAGER, the channel can successfully ping put I cannot put any messages on the remote queue definition.
Has anyone come across this problem before? Thanks. |
|
Back to top |
|
 |
ashoon |
Posted: Wed Apr 25, 2007 7:09 am Post subject: Re: Channel Setup - Same Queue Manager Problem |
|
|
Master
Joined: 26 Oct 2004 Posts: 235
|
I've done this without any problems... what ports are your listeners on? and have you checked the channel configurations to make sure it's kosher? |
|
Back to top |
|
 |
Vitor |
Posted: Wed Apr 25, 2007 7:22 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
If you have 2 queue managers with the same name it will confuse the automatic name resolution; the system will be unable to tell which of the 2 queue managers the message is destined for.
You'll need to use explicit transmission queues in the remote queue definitions and/or queue managers aliases to deal with.
Or use recommended best practice and name the queue managers differently. Aside from the problems with name resolution it makes tracking messages and error resolution harder. There's also very seldom a good reason for having 2 identically named queue managers when you drill through the requirements.
Also if you ever go to clustering it simply won't work. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kayhansefat |
Posted: Thu Apr 26, 2007 12:21 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
ashoon - Well I seem to be able to do it with different queue managers so that is all kosher. Both the listeners on their respective 2414 ports.
Vitor - I understand what you are saying but I would have thought that as I specify the connection name, IP_ADDRESS(PORT), that that would resolve/sort the issue. I have my channel (Sender and Receiver named the same on both qmanagers) , remote queue definition, transmission queue and remote queue on the target system. In the remote queue definition I set the remote queue, remote qm and trans queue.
Is this not using explicit transmission queues?
Renaming one of the qm's wont be an option at the moment as there are a number of live flows running on both. |
|
Back to top |
|
 |
Michael Dag |
Posted: Thu Apr 26, 2007 1:08 am Post subject: |
|
|
 Jedi Knight
Joined: 13 Jun 2002 Posts: 2607 Location: The Netherlands (Amsterdam)
|
|
Back to top |
|
 |
Vitor |
Posted: Thu Apr 26, 2007 1:59 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
My comments on this thread still apply. What was the business justification for naming the queue managers the same? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
kayhansefat |
Posted: Thu Apr 26, 2007 5:29 am Post subject: |
|
|
Acolyte
Joined: 18 Oct 2006 Posts: 65
|
There was no justification for naming the queue managers the same. Seeing as this was my first install of the broker and mq etc I used the Default Configuration Wizard. My colleague who set up his server on a different site was in the same position and done the same. At that point we had no idea that we would need to create a channel between the two of us and weren't really aware of each other have the IBM broker.
Thanks for the link, I'll work through it. |
|
Back to top |
|
 |
jefflowrey |
Posted: Thu Apr 26, 2007 5:35 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Just delete and rebuild one broker with a new qmgr name. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
|