Author |
Message
|
dkiu |
Posted: Mon Dec 28, 2015 11:11 pm Post subject: Issue in sending message when QM in part of Cluster |
|
|
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 |
|
 |
rammer |
Posted: Tue Dec 29, 2015 2:27 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Tue Dec 29, 2015 7:25 am Post subject: |
|
|
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 |
|
 |
dkiu |
Posted: Wed Dec 30, 2015 1:45 am Post subject: |
|
|
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 |
|
 |
rammer |
Posted: Wed Dec 30, 2015 2:26 am Post subject: |
|
|
Partisan
Joined: 02 May 2002 Posts: 359 Location: England
|
|
Back to top |
|
 |
dkiu |
Posted: Wed Dec 30, 2015 2:47 am Post subject: |
|
|
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 |
|
 |
rammer |
Posted: Wed Dec 30, 2015 3:02 am Post subject: |
|
|
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 |
|
 |
rammer |
Posted: Wed Dec 30, 2015 3:06 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Dec 30, 2015 8:26 am Post subject: |
|
|
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 |
|
 |
|