|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
cluster queue available even qmgr is down |
« View previous topic :: View next topic » |
Author |
Message
|
sebastia |
Posted: Wed Jan 15, 2014 1:49 am Post subject: cluster queue available even qmgr is down |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Good morning.
We have a MQ (v7.5) cluster with 2 FR's.
Then, few Front End MQ's get connections from remote MQ Clients using CCDT. No cluster queues are defined on FEMQ's.
Finally we have few "server" MQ's where some cluster queues are defined, providing input for MB flows. Lets call them MBMQ's, and QIN the cluster queue name.
The problem is that if ALL MBMQs are down (queue manager stopped), the QIN queue is still available, and messages get stuck in SYSTEM.CLUSTER.TRANSMIT.QUEUE
This is, I can do "amqsputc QIN FEMQ1" and the message is accepted, even no QIN is available !
Code: |
echo display QUEUE(SYSTEM.CLUSTER.TRANSMIT.QUEUE) CURDEPTH | runmqsc FEMQ1
5724-H72 (C) Copyright IBM Corp. 1994, 2011. ALL RIGHTS RESERVED.
Starting MQSC for queue manager QMENT1.
1 : display QUEUE(SYSTEM.CLUSTER.TRANSMIT.QUEUE) CURDEPTH
AMQ8409: Display Queue details.
QUEUE(SYSTEM.CLUSTER.TRANSMIT.QUEUE) TYPE(QLOCAL)
CURDEPTH(104) |
Is there a way for messages to be rejected if all instances on the cluster queue are not reachable ?
Sebastian. |
|
Back to top |
|
 |
PeterPotkay |
Posted: Wed Jan 15, 2014 4:33 am Post subject: |
|
|
 Poobah
Joined: 15 May 2001 Posts: 7722
|
If QIN is a clustered queue, just because the QMs that host it are N/A doesn't mean your local QM will reject messages that want to go to QIN. The ability for the queue manage to queue these messages is sorta the whole point of this
If you unclustered QIN across all QMs, or put inhibited QIN across all QMs, then you are telling MQ to tell the cluster there are no valid targets. But if QMs are simply unavailable and the last known state of the QIN queue was that it was a valid clustered q , the logic is that this is a temporary situation and MQ will queue messages up until they can be delivered to their final destination. _________________ Peter Potkay
Keep Calm and MQ On |
|
Back to top |
|
 |
sebastia |
Posted: Wed Jan 15, 2014 7:38 am Post subject: |
|
|
 Grand Master
Joined: 07 Oct 2004 Posts: 1003
|
Aaja, Peter - I got the idea
So, if all providers should indicate "put disabled" then the amqsputc should get some kind of error.
Now, it does not happen because of "last known state" was "available".
Ok, let me have some thinking about it.
Thanks a lot. Sebastian. |
|
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
|
|
|
|