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 » MQ Cluster issue via Remote Queue

Post new topic  Reply to topic
 MQ Cluster issue via Remote Queue « View previous topic :: View next topic » 
Author Message
vivica12
PostPosted: Fri Jul 13, 2007 12:31 pm    Post subject: MQ Cluster issue via Remote Queue Reply with quote

Acolyte

Joined: 13 Jul 2007
Posts: 58

I have a qmgr - QM1, which is a single node.
I have a gateway qmgr QMGW1, and 2 other qmgrs in a cluster. Queue Q5 exists in the 2 other qmgrs in this cluster, as a clustered queue.

I have a remote queue definition on QM1 with RMNAME=Q5 and RQMNAME=QMGW1.

When I do a put to the remote queue on QM1, it should end up on Q5 on one of the 2 qmgrs in the cluster. Instead it ends up in the Dead Letter queue on QMGW1, with an MQRC_UNKNOWN_OBJECT_NAME error.

So I know that the gateway is trying to find the RMNAME=Q5 locally, instead of in the clustered repository. But that's not how it's supposed to work.

If I do a direct amqsput to Q5, through the gateway, it works just fine. So this is only an issue when using a remote queue definition.
(I have also done tests to rule out sdr/rcvr/xmitq issues, and this all functions properly using remote Q to local Q on GW)

Any thoughts?
_________________
Vivica - signing off
Back to top
View user's profile Send private message
mqperson
PostPosted: Fri Jul 13, 2007 1:14 pm    Post subject: Reply with quote

Apprentice

Joined: 10 Jan 2006
Posts: 32

this might help..

http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg21213009
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Fri Jul 13, 2007 2:34 pm    Post subject: Re: MQ Cluster issue via Remote Queue Reply with quote

Grand High Poobah

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

vivica12 wrote:
I have a qmgr - QM1, which is a single node.
I have a gateway qmgr QMGW1, and 2 other qmgrs in a cluster. Queue Q5 exists in the 2 other qmgrs in this cluster, as a clustered queue.

I have a remote queue definition on QM1 with RMNAME=Q5 and RQMNAME=QMGW1.

When I do a put to the remote queue on QM1, it should end up on Q5 on one of the 2 qmgrs in the cluster. Instead it ends up in the Dead Letter queue on QMGW1, with an MQRC_UNKNOWN_OBJECT_NAME error.

So I know that the gateway is trying to find the RMNAME=Q5 locally, instead of in the clustered repository. But that's not how it's supposed to work.


That's exactly how it is supposed to work.
Check your remote qdef....
What you need to do is RQMNAME=MYCLUSTER and on the GWY:
def qr(MYCLUSTER) (mark no rname and no rqmname nor xmitq). This acts then as a cluster alias when trying to resolve the destination. Works wonders for me....

Read up the intercommunications manual on queue manager alias ...

Enjoy
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Michael Dag
PostPosted: Sun Jul 15, 2007 1:33 am    Post subject: Reply with quote

Jedi Knight

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

on QM1 you need a remote q def Q5 RMNAME=Q5 and RQMNAME=QMGW1ALIAS

on QMGW1 you need a remote q def QMGW1ALIAS RMNAME=' ' and RQMNAME=' '

when the message for Q5 hits QMGW1 the QMGW1ALIAS will cause the Qmgr to start looking for Q5 without a specific Qmgrname and will find the clustered Q5 queues...
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
vivica12
PostPosted: Mon Jul 16, 2007 6:27 am    Post subject: Reply with quote

Acolyte

Joined: 13 Jul 2007
Posts: 58

That worked!!

Thanks for your help.
_________________
Vivica - signing off
Back to top
View user's profile Send private message
mqperson
PostPosted: Mon Jul 16, 2007 2:17 pm    Post subject: Reply with quote

Apprentice

Joined: 10 Jan 2006
Posts: 32

If I had Q5 defined on the GWY as well and shared in the cluster, will the messages round-robin between the gwy and the other 2 qmgrs ?
Back to top
View user's profile Send private message
Michael Dag
PostPosted: Mon Jul 16, 2007 9:54 pm    Post subject: Reply with quote

Jedi Knight

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

only if you have V6 with CLWLUSEQ set
_________________
Michael



MQSystems Facebook page
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
mqperson
PostPosted: Tue Jul 17, 2007 10:18 am    Post subject: Reply with quote

Apprentice

Joined: 10 Jan 2006
Posts: 32

Thanks Michael. Thats very useful info!
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 » MQ Cluster issue via Remote Queue
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.