|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
|
|
a strange thing about Cluster Queue |
« View previous topic :: View next topic » |
Author |
Message
|
peterw686 |
Posted: Fri Apr 23, 2004 7:09 am Post subject: a strange thing about Cluster Queue |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Hi,
I have a cluster joined by three QM: QM1(repos) QM2(repos) and QM3(normal). Each QM defines a cluster queue: QM1(Q1) QM2(Q2) and QM3(Q1).
A strange thing happened is that on QM1 and QM2, everything looks ok.
When I use "dis clusqmgr(*)" I can see three QMs and "dis qcluster(*)" I can see three cluster queues.
However, on QM3, the "dis clusqmgr(*)" looks fine and I can see three QMs, but "dis qcluster(*)" I can only see two cluster queues (Q1(QM1) and Q1(QM3).
Why can't I see the cluster queue of QM2?
(MQ V5.3 installed on Unix solaris
Peter |
|
Back to top |
|
|
jefflowrey |
Posted: Fri Apr 23, 2004 7:17 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
As I understand it, this is normal behavior.
A partial repository will only store the definitions it has made use of "recently".
So if you haven't put any messages to the cluster queue from QM3, then QM3 won't see the cluster definitions.
Plus, if QM3 has a local instance of the queue, it will NEVER put messages to the clustered version - unless an application SPECIFICALLY indicates that a message should go to a different queue in the cluster. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
|
mqonnet |
Posted: Fri Apr 23, 2004 7:23 am Post subject: |
|
|
Grand Master
Joined: 18 Feb 2002 Posts: 1114 Location: Boston, Ma, Usa.
|
Cluster queues are published to non-repository queue managers only upon request. For example, you issue an amqsput specifying Q2 and qmgr QM3, the queue would be queried within the cluster and the clustered queue would be advertised to QM3.
In the case of Q1, since you had a local instance of the clustered queue that you created. Immediately after you create it, it is advertised to the full-repos which in turn sync it with the other instances and hence you get the advertisement from full repos qms for Q1 onto the partial repos qm, QM3.
Hope this helps.
Cheers
Kumar |
|
Back to top |
|
|
peterw686 |
Posted: Fri Apr 23, 2004 7:47 am Post subject: |
|
|
Acolyte
Joined: 26 Sep 2002 Posts: 73
|
Hi All,
Thanks. It's very helpful. |
|
Back to top |
|
|
|
|
|
|
Page 1 of 1 |
|
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
|
|
|
|