|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
cluster queue not appearing in other queue manager |
« View previous topic :: View next topic » |
Author |
Message
|
narayanarvr |
Posted: Tue Mar 29, 2016 7:12 am Post subject: |
|
|
 Voyager
Joined: 09 Oct 2012 Posts: 84
|
YES, both the queues advertised in the cluster |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 29, 2016 7:45 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
If your objective is for you to specify precisely which queue on which qmgr your messages are to go, don't use MQ cluster queues.
MQ clustering software (algorithm) chooses the 'best fit' destination queue. The usual 'best fit' is the local instance of a queue, rather than sending a message across a network. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
bruce2359 |
Posted: Tue Mar 29, 2016 7:58 am Post subject: |
|
|
 Poobah
Joined: 05 Jan 2008 Posts: 9469 Location: US: west coast, almost. Otherwise, enroute.
|
IBM offers a 3-day lecture and hands-on 'Architecting MQ clusters' training. WM252 is the course code. _________________ I like deadlines. I like to wave as they pass by.
ב''ה
Lex Orandi, Lex Credendi, Lex Vivendi. As we Worship, So we Believe, So we Live. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Mar 29, 2016 8:15 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
narayanarvr wrote: |
I did not change any other attributes. |
Then you'll hit the default that says always put messages to the local instance, or you'll hit the default that says always put messages from the same application to the same instance (which is usually the local one).
narayanarvr wrote: |
manual only gives this info and exact steps with syntax for above steps |
It has a lot more than that if you actually read all of the material and not just the list of commands to set up an example cluster.
Certainly the example cluster that defines isn't going to do what you're expecting. It also matters (for reasons explained in the material) what you're using to put the messages. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
exerk |
Posted: Wed Mar 30, 2016 12:29 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
narayanarvr wrote: |
...created one CLUSSDR (TO.B), created one CLUSRCVR (TO.A), created one cluster queue InventQ, define qlocal(IneventQ) cluster (Inventory)... |
So you have in QMA a CLUSSDR TO.B and a CLUSRCVR TO.A, and in QMB a CLUSSDR TO.A and a CLUSRCVR TO.B?
The CLUSSDR/CLUSRCVR channels are running, in both directions?
You have definitely set the CLWLUSEQ attribute of the queue in the queue manager to which you are connecting to ANY, with nothing having that queue open? _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
narayanarvr |
Posted: Wed Mar 30, 2016 9:19 am Post subject: |
|
|
 Voyager
Joined: 09 Oct 2012 Posts: 84
|
Yes, I did the same, do I need to create 2 local queues in both the queue managers and try sending data will that work, please provide good link to do simple cluster for better understanding, I exactly followed cluster manual and did not miss a step but not working as expected, your help much appreciated. |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Mar 30, 2016 9:29 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
|
Back to top |
|
 |
exerk |
Posted: Thu Mar 31, 2016 12:57 am Post subject: |
|
|
 Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
Delete your current queue managers and start again as follows:
1. Define queue manager QM1;
2. Make QM1 a Full Repository, define a Listener and start the Listener;
3. Define queue manager QM2;
4. Make QM2 a Full Repository, define a Listener and start the Listener;
5. In QM1, define a CLUSRCVR named TO.QM1 using the IP Address/Host Name and Listener Port for QM1;
6. In QM2, define a CLUSRCVR named TO.QM2 using the IP Address/Host Name and Listener Port for QM2;
7. In QM2, define a CLUSSDR named TO.QM1 using the IP Address/Host Name and Listener Port for QM1;
8. In QM1, define a CLUSSDR named TO.QM1 using the IP Address/Host Name and Listener Port for QM2;
9. Ensure both sets of channels are running;
10. In QM1, define a QLOCAL named TEST, share it in the cluster ensuring its DEFAULT BIND TYPE is NOT FIXED and CLUSTER WORK LOAD USE QUEUE is ANY;
11. Using the amqsput sample application, in QM2, PUT one message to queue TEST;
12. In QM1, check the queue depth of TEST has increased to 1;
13. In QM2, define a QLOCAL named TEST, share it in the cluster ensuring its DEFAULT BIND TYPE is NOT FIXED and CLUSTER WORK LOAD USE QUEUE is ANY;
14. Using the amqsput sample application, in QM2, PUT two messages to queue TEST;
15. In QM2, check the queue depth of TEST has increased to 1;
16. In QM1, check the queue depth of TEST has increased to 2;
If you follow the above exactly you should see the results you expect and you can analyse what is working and how it works. It would also be useful for you to examine the various queue manager, cluster channel, and queue attributes in a command console session.
If you follow the above exactly and do not get the results you expect then you're doing something wrong. _________________ It's puzzling, I don't think I've ever seen anything quite like this before...and it's hard to soar like an eagle when you're surrounded by turkeys. |
|
Back to top |
|
 |
narayanarvr |
Posted: Thu Mar 31, 2016 1:42 am Post subject: |
|
|
 Voyager
Joined: 09 Oct 2012 Posts: 84
|
Hi Exerk,
Thank you so much for spending time and giving steps, I will repeat these steps and try to set up small cluster, will post you if i face any issues, once again thank you so much |
|
Back to top |
|
 |
|
|
|
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
|
|
|
|