ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » Clustering » cluster queue available even qmgr is down

Post new topic  Reply to topic
 cluster queue available even qmgr is down « View previous topic :: View next topic » 
Author Message
sebastia
PostPosted: Wed Jan 15, 2014 1:49 am    Post subject: cluster queue available even qmgr is down Reply with quote

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
View user's profile Send private message Visit poster's website
PeterPotkay
PostPosted: Wed Jan 15, 2014 4:33 am    Post subject: Reply with quote

Poobah

Joined: 15 May 2001
Posts: 7717

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
View user's profile Send private message
sebastia
PostPosted: Wed Jan 15, 2014 7:38 am    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » cluster queue available even qmgr is down
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.