Author |
Message
|
exerk |
Posted: Tue Mar 29, 2016 4:57 am Post subject: |
|
|
Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
narayanarvr wrote: |
CLUSTER
DEFBIND
CLUSQT
CLUSQMGR
QMID
CLWLRANK
CLWLPRTY |
And what about the one right at the bottom of the cluster-related pop-up window when you check the properties of the queue? _________________ 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 |
|
|
bruce2359 |
Posted: Tue Mar 29, 2016 5:13 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
narayanarvr wrote: |
I am creating this simple cluster using MQ Explorer, please help me if I miss anything, nothing was discussed in cluster manual regarding attributes, and I am not doing it using command line. |
The object attributes and their values are the same whether you use the MQExplorer or command-line.
Refer to the the MQSC manual or IBMs Knowledge Center or the MQ Intercommunications manual for object attributes. _________________ 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 |
|
|
mqjeff |
Posted: Tue Mar 29, 2016 5:24 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
And, of course, you could put The MQSC Editor into MQExplorer. _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
narayanarvr |
Posted: Tue Mar 29, 2016 5:46 am Post subject: |
|
|
Voyager
Joined: 09 Oct 2012 Posts: 84
|
Hi,
I have cluster workload use queue (any, queue manager, local) -- is this the one you are talking about ? |
|
Back to top |
|
|
exerk |
Posted: Tue Mar 29, 2016 5:52 am Post subject: |
|
|
Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
narayanarvr wrote: |
Hi,
I have cluster workload use queue (any, queue manager, local) -- is this the one you are talking about ? |
What does the KC state about that attribute? What have you tried in regard to that attribute? _________________ 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: Tue Mar 29, 2016 6:03 am Post subject: |
|
|
Voyager
Joined: 09 Oct 2012 Posts: 84
|
I tried 'Any' option for cluster workload use queue, below is the description, but still message sits on the sender queue only
The CLWLUSEQ queue attribute specifies whether a local instance of a queue is given preference as a destination over other instances in a cluster.
The CLWLUSEQ queue attribute is valid only for local queues. It only applies if the message is put by an application, or a channel that is not a cluster channel.
LOCAL
The local queue is the only target of MQPUT, providing the local queue is put enabled. MQPUT behavior depends upon the cluster workload management.
QMGR
The behavior is as specified by the CLWLUSEQ queue manager attribute.
ANY
MQPUT treats the local queue the same as any other instance of the queue in the cluster for workload distribution. |
|
Back to top |
|
|
exerk |
Posted: Tue Mar 29, 2016 6:05 am Post subject: |
|
|
Jedi Council
Joined: 02 Nov 2006 Posts: 6339
|
And how many messages did you try and put? _________________ 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: Tue Mar 29, 2016 6:11 am Post subject: |
|
|
Voyager
Joined: 09 Oct 2012 Posts: 84
|
only one message I tried to PUT in QM A in queue TEST1, expecting to be sent to QM B in TEST1 queue |
|
Back to top |
|
|
Vitor |
Posted: Tue Mar 29, 2016 6:21 am Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
narayanarvr wrote: |
only one message I tried to PUT in QM A in queue TEST1, expecting to be sent to QM B in TEST1 queue |
What in your reading led you to expect that a message put to the queue TEST1 in QM A would be sent to the TEST1 queue in QM B?
What happens if you put more than one message?
(Hint - this may demonstrate something enlightening) _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
|
narayanarvr |
Posted: Tue Mar 29, 2016 6:22 am Post subject: |
|
|
Voyager
Joined: 09 Oct 2012 Posts: 84
|
I put 2 messages, queue depth increases and no message transfer |
|
Back to top |
|
|
Vitor |
Posted: Tue Mar 29, 2016 6:34 am Post subject: |
|
|
Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
narayanarvr wrote: |
I put 2 messages, queue depth increases |
So this tells you that when you put the message, it's being resolved to the instance of TEST1 on QM A irrespective of if it's the first one or not - why would that be? What of the various options control that? What options exist that are not listed on either the queue manager or the queue?
narayanarvr wrote: |
no message transfer |
Again I ask - what makes you think the message will be transferred? What have you read that makes you think clusters work that way? See my previous post on this matter. _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
|
narayanarvr |
Posted: Tue Mar 29, 2016 6:46 am Post subject: |
|
|
Voyager
Joined: 09 Oct 2012 Posts: 84
|
Hi Vitor,
I dont have any knowledge of clusters, just started learning it, to start of with I have created a created 2 Queue Managers, altered the QMs to be part of Inventory cluster (alter qmgr repos(inventory).
created one CLUSSDR (TO.B), created one CLUSRCVR (TO.A), created one cluster queue InventQ, define qlocal(IneventQ) cluster (Inventory).
created 2 listeners and started.no issues with listeners and channels, I could see the cluster queue in cluster.
this is a initial test to understand cluster concepts, apart from this I dont have deep understanding of attributes, manual only gives this info and exact steps with syntax for above steps. |
|
Back to top |
|
|
mqjeff |
Posted: Tue Mar 29, 2016 7:04 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
So.
You have connected the queue managers into a cluster.
What have you done to configure queues? _________________ chmod -R ugo-wx / |
|
Back to top |
|
|
narayanarvr |
Posted: Tue Mar 29, 2016 7:06 am Post subject: |
|
|
Voyager
Joined: 09 Oct 2012 Posts: 84
|
created a cluster queue on each queue manager with same name.I see cluster queue advertised in the cluster, I could see clussdr and clusrcvr.
I did not change any other attributes. |
|
Back to top |
|
|
bruce2359 |
Posted: Tue Mar 29, 2016 7:11 am Post subject: |
|
|
Poobah
Joined: 05 Jan 2008 Posts: 9442 Location: US: west coast, almost. Otherwise, enroute.
|
Do you see both queues advertised in the cluster? _________________ 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 |
|
|
|