Author |
Message
|
guest468 |
Posted: Wed Oct 18, 2006 5:25 am Post subject: Cluster message routing problem... |
|
|
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 |
|
 |
Nigelg |
Posted: Wed Oct 18, 2006 6:23 am Post subject: |
|
|
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 |
|
 |
guest468 |
Posted: Thu Oct 19, 2006 12:38 pm Post subject: |
|
|
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 |
|
 |
fjb_saper |
Posted: Thu Oct 19, 2006 1:08 pm Post subject: |
|
|
 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 |
|
 |
Nigelg |
Posted: Fri Oct 20, 2006 1:09 am Post subject: |
|
|
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 |
|
 |
|