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 » Issue in sending message when QM in part of Cluster

Post new topic  Reply to topic
 Issue in sending message when QM in part of Cluster « View previous topic :: View next topic » 
Author Message
dkiu
PostPosted: Mon Dec 28, 2015 11:11 pm    Post subject: Issue in sending message when QM in part of Cluster Reply with quote

Apprentice

Joined: 28 Feb 2013
Posts: 25

I have created 3 QM on my local machine (QMA, QMB and QMC)

Cluster1 - STORE
Cluster2 - SUPER
Qalias on QMA = TORONTO ; Base obj - NEWYORK
Qalias on QMB = NEWYORK ; Base Obj - LONDON
Qlocal on QMC = LONDON

Queue Alias TORONTO is member of Cluster1- STORE
Queue Alias NEWYORK is member of Cluster1- STORE and Cluster2- SUPER.
Queue local LONDON is member of Cluster2 - SUPER

Problem - Unable to send message to queue LONDON on QMC by putting message to Qalias- TORONTO on queue manager QMA. However, while posting message in qalias NEWYORK on QMB, message is reaching qlocal LONDON on QMC
Back to top
View user's profile Send private message
rammer
PostPosted: Tue Dec 29, 2015 2:27 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Set up a Queue Manager Alias on QMGRS A (I think if I remember correctly) It talks about it in the Info Centre if you have a quick search.

Cheers
Back to top
View user's profile Send private message
mqjeff
PostPosted: Tue Dec 29, 2015 7:25 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

You probably don't need TORONTO.

Or you could simply put TORONTO on QMB
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
dkiu
PostPosted: Wed Dec 30, 2015 1:45 am    Post subject: Reply with quote

Apprentice

Joined: 28 Feb 2013
Posts: 25

TORONTO will be there.... QMB is acting as a Gateway.
In this scenario , QMA need to be isolated from QMC and hence it is kept as part of different cluster
Back to top
View user's profile Send private message
rammer
PostPosted: Wed Dec 30, 2015 2:26 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

http://www-01.ibm.com/support/knowledgecenter/SSFKSJ_7.0.1/com.ibm.mq.csqzah.doc/qc10830_.htm?lang=en
Back to top
View user's profile Send private message
dkiu
PostPosted: Wed Dec 30, 2015 2:47 am    Post subject: Reply with quote

Apprentice

Joined: 28 Feb 2013
Posts: 25

@ Rammer - this link is not appropriate as it explain how to access cluster QM from outside using distributed queuing.

In my example above ; I am trying to transfer message from one cluster member to another cluster member. QMA is part of cluster STORE and QMC is part of Cluster SUPER. In between, there is another QM - QMB which is kept part of both Cluster1 and Cluster2. I wnt to isolate QMA from QMC
Back to top
View user's profile Send private message
rammer
PostPosted: Wed Dec 30, 2015 3:02 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

Hi Sorry,

I missread it as I was on my phone without any glasses on!...
Back to top
View user's profile Send private message
rammer
PostPosted: Wed Dec 30, 2015 3:06 am    Post subject: Reply with quote

Partisan

Joined: 02 May 2002
Posts: 359
Location: England

So you probably (again im out of office on phone) need to set up QMGR B to use overlapping cluster by setting up a cluster namelist. This works fine on ones I have back in office, if I am reading your question right, for example

QMGRA belowns to CLUSTERA
QMGRB belongs to CLUSTERA & CLUSTERB
QMGRC belongs to CLUSTERB

On QMGRA A I have a cluster queue alias resolving to a cluster queue alias on QMGRB that is part of CLusterA. This Alias on QMGRB then points to a cluster Queue on QMGRC which is part of CLUSTERB.

I think you also need DEFBIND(NOTFIXED) set.
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Dec 30, 2015 8:26 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

If you need to use the name 'TORONTO', which is why I gave you two options, then it should work if you put the alias on QMGB, named 'TORONTO'.

Then you are allowing the cluster to determine the path from QMGRA, or any other qmgr in CLUSTER1 to the object named TORONTO, and you don't need two objects.

So in your notation
Qalias on QMB = TORONTO(shared in CLUSTER1) ; Base Obj - LONDON

You only need to share TORONTO in cluster 1, and shouldn't need to share it in cluster 2. LONDON does need to be shared in CLUSTER2.

And you do need to make sure that QMGRB is using a CLUSNL to belong to both CLUSTER1 and CLUSTER2, as rammer says.
_________________
chmod -R ugo-wx /
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 » Issue in sending message when QM in part of Cluster
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.