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 » what happens to message if that queue mgr goes down

Post new topic  Reply to topic
 what happens to message if that queue mgr goes down « View previous topic :: View next topic » 
Author Message
pras
PostPosted: Fri Jun 12, 2009 3:23 am    Post subject: what happens to message if that queue mgr goes down Reply with quote

Newbie

Joined: 08 Jun 2009
Posts: 9

Hi,

I am new to cluster concept.
I have a scenario where 2 Qmgrs are in cluster.
One clustered queue has been created in both the Qmgrs.
This queue has 1000 messages in both the queue managers.
Also, assuming both queue managers are being connected by application reading from its queue.

I ahve 2 queries:
1.If one queue manager starts to shutdown, will it stay in queising state till all messages are processed?

2. Is it possible that messages from queue mgr gouing down will be transferred to another queue manager?
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Jun 12, 2009 3:32 am    Post subject: Re: what happens to message if that queue mgr goes down Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

pras wrote:
1.If one queue manager starts to shutdown, will it stay in queising state till all messages are processed?


Clustering does not affect queue manager behaviour. If the queue manager is signalled to controlled shutdown, all well behaved application will disconnect and the queue manager will close, leaving messages on the queue unprocessed (subject to persistence and other related issues). If the applications do not shut down and try and finish processing the messages, the queue manager will wait until they disconnect unless the admin get bored with waiting and signals immediate shutdown, when the messages will be left as above.

Obviously if the queue manager is signalled to immediate shutdown by the admins without the controlled step above, the same applies.

pras wrote:
2. Is it possible that messages from queue mgr gouing down will be transferred to another queue manager?


No. Messages delivered to a queue manager remain on that queue manager. Likewise if a queue manager shuts down, messages will continue to be sent to that queue manager, and sit on the transmit queue, until the cluster notices the queue manager is unavailable.

It is this that makes clustering unsuitible for failover.

You'll find a number of useful discussions on this in here.
_________________
Honesty is the best policy.
Insanity is the best defence.


Last edited by Vitor on Fri Jun 12, 2009 4:34 am; edited 1 time in total
Back to top
View user's profile Send private message
bob_buxton
PostPosted: Fri Jun 12, 2009 4:33 am    Post subject: Reply with quote

Master

Joined: 23 Aug 2001
Posts: 266
Location: England

On z/OS you can use shared queues if you want messages to be accesible from more than one queue manager
_________________
Bob Buxton
Ex-Websphere MQ Development
Back to top
View user's profile Send private message
bruce2359
PostPosted: Fri Jun 12, 2009 5:44 am    Post subject: Reply with quote

Poobah

Joined: 05 Jan 2008
Posts: 9469
Location: US: west coast, almost. Otherwise, enroute.

Quote:
This queue has 1000 messages in both the queue managers

The exact same 1000 messages would not be on both cluster queues. Clusters do not replicate.
_________________
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
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » Clustering » what happens to message if that queue mgr goes 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.