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 » WebSphere Message Broker (ACE) Support » mqsistop - effect on existing work?

Post new topic  Reply to topic
 mqsistop - effect on existing work? « View previous topic :: View next topic » 
Author Message
zpat
PostPosted: Mon Dec 21, 2009 3:26 am    Post subject: mqsistop - effect on existing work? Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Can anyone elaborate what mqsistop does to currently running message flows?

I presume it waits for the current executing flows to complete their processing before closing the broker?

How long does it wait (suppose you have a flow running a MQGET node with a wait interval)?

Is it transactionally safe to stop/start a running broker?
Back to top
View user's profile Send private message
mqmatt
PostPosted: Mon Dec 21, 2009 4:26 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Transactionally, mqsistop is a safe command to use to bring down a broker as any existing work items are completed before the flow stops. The command will wait a little while (I forget how long exactly), and then fail with a BIP8016 if any execution group could not finish cleanly in the allotted time.

The mqsistop command with '-i' is more severe; if normal shutdown fails and you've specified this parameter, then the command will forcibly stop any execution groups after this time period, and thus end any work items in progress. This will usually trigger a backout if you've enabled transactionality.
Back to top
View user's profile Send private message
nathanw
PostPosted: Mon Dec 21, 2009 4:58 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

or to put it another way the flows will finish their current unit of work but not read anymore incoming messages thus starting a new unit of work

once all are completed it will shut down taking any errors or transactionality into account

as matt says -i will shut things down alot more severely
_________________
Who is General Failure and why is he reading my hard drive?

Artificial Intelligence stands no chance against Natural Stupidity.

Only the User Trace Speaks The Truth
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » mqsistop - effect on existing work?
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.