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 » Clustering » Cluster message routing problem...

Post new topic  Reply to topic
 Cluster message routing problem... « View previous topic :: View next topic » 
Author Message
guest468
PostPosted: Wed Oct 18, 2006 5:25 am    Post subject: Cluster message routing problem... Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

Hi
We have a cluster setup on AIX. And the Gateway has distributed connection with Mainframe QM. Now When Mainframe sends a message to a local queue in Gateway, the message succesfully gets routed there. But if the queue is a cluster queue which is hosted on non-Gateway QM then the QM raises the following error...
AMQ9599: Program could not open queue manager object.
EXPLANATION:
The attempt to open either the queue or queue manager object
'Q1' on queue manager 'GWQM' by user 'brokerdev'
failed with reason code 2085.

It is a working cluster (The cluster queue is accessible from GWQM using any put tool). But not sure why I am seeing the above error. The user 'brokerdev' is the broker service id in AIX machine( with mqm membership)
Could someone please help.
Back to top
View user's profile Send private message
Nigelg
PostPosted: Wed Oct 18, 2006 6:23 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

The msg sent from the machine outside the cluster has the ObjectQMgr populated with the RQMNAME from the remote queue, GWQM in this case. If the queue does not exist on GWQM, then the 2085 is correctly returned. To get the gateway qmgr to send the msg on to a clustered queue, the qmgr name must be blank. Look at the Clusters manual for how to do this; the technique is to define a qmgr alias with a blank RQMNAME, and use the name of the qmgr alias when sending msgs from outside the cluster.
_________________
MQSeries.net helps those who help themselves..
Back to top
View user's profile Send private message
guest468
PostPosted: Thu Oct 19, 2006 12:38 pm    Post subject: Reply with quote

Centurion

Joined: 30 May 2006
Posts: 146
Location: NY

Thanks Nigel, I created the alias and it is working fine now.
But I didn't understand why GWQM can't put the message to the cluster queue. Using the same QM-name and Queue-name parameters I can put the message using amqsput command. I was expecting the GWQM to resolve the cluster queue Q1 just like a remote queue.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Thu Oct 19, 2006 1:08 pm    Post subject: Reply with quote

Grand High Poobah

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

Using a channel from MQ to MQ and using a svrconn channel things work a little bit differently. This is why you use the cluster alias.

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Nigelg
PostPosted: Fri Oct 20, 2006 1:09 am    Post subject: Reply with quote

Grand Master

Joined: 02 Aug 2004
Posts: 1046

Quote:
I was expecting the GWQM to resolve the cluster queue Q1 just like a remote queue.


The qmgr name is already set when the msg arrives at the gateway qmgr, so the msg can only be put to a queue on that qmgr. The qmgr alias technique sends a blank qmgr name to the put processing, so allowing a cluster qmgr to be selected.
_________________
MQSeries.net helps those who help themselves..
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 » Clustering » Cluster message routing 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.