|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
what happens to message if that queue mgr goes down |
« View previous topic :: View next topic » |
Author |
Message
|
pras |
Posted: Fri Jun 12, 2009 3:23 am Post subject: what happens to message if that queue mgr goes down |
|
|
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 |
|
 |
Vitor |
Posted: Fri Jun 12, 2009 3:32 am Post subject: Re: what happens to message if that queue mgr goes down |
|
|
 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 |
|
 |
bob_buxton |
Posted: Fri Jun 12, 2009 4:33 am Post subject: |
|
|
 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 |
|
 |
bruce2359 |
Posted: Fri Jun 12, 2009 5:44 am Post subject: |
|
|
 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 |
|
 |
|
|
 |
|
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
|
|
|
|