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 » IBM MQ Installation/Configuration Support » Channel Setup - Same Queue Manager Problem

Post new topic  Reply to topic
 Channel Setup - Same Queue Manager Problem « View previous topic :: View next topic » 
Author Message
kayhansefat
PostPosted: Wed Apr 25, 2007 6:52 am    Post subject: Channel Setup - Same Queue Manager Problem Reply with quote

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
View user's profile Send private message
ashoon
PostPosted: Wed Apr 25, 2007 7:09 am    Post subject: Re: Channel Setup - Same Queue Manager Problem Reply with quote

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
View user's profile Send private message
Vitor
PostPosted: Wed Apr 25, 2007 7:22 am    Post subject: Reply with quote

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
View user's profile Send private message
kayhansefat
PostPosted: Thu Apr 26, 2007 12:21 am    Post subject: Reply with quote

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
View user's profile Send private message
Michael Dag
PostPosted: Thu Apr 26, 2007 1:08 am    Post subject: Reply with quote

Jedi Knight

Joined: 13 Jun 2002
Posts: 2607
Location: The Netherlands (Amsterdam)

happy reading:
http://www.mqseries.net/phpBB2/viewtopic.php?t=36187
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Vitor
PostPosted: Thu Apr 26, 2007 1:59 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

Michael Dag wrote:
happy reading:
http://www.mqseries.net/phpBB2/viewtopic.php?t=36187


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
View user's profile Send private message
kayhansefat
PostPosted: Thu Apr 26, 2007 5:29 am    Post subject: Reply with quote

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
View user's profile Send private message
jefflowrey
PostPosted: Thu Apr 26, 2007 5:35 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » IBM MQ Installation/Configuration Support » Channel Setup - Same Queue Manager Problem
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.