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 » General IBM MQ Support » Best practice to scriupt a queue manager stop on W2K ?

Post new topic  Reply to topic
 Best practice to scriupt a queue manager stop on W2K ? « View previous topic :: View next topic » 
Author Message
mjgurney
PostPosted: Thu May 20, 2004 4:46 am    Post subject: Best practice to scriupt a queue manager stop on W2K ? Reply with quote

Novice

Joined: 17 May 2004
Posts: 15
Location: UK, London

I know from past experience that the best way to reliably script a qmgr shutdown is something like:

endmqm QMGRNAME

sleep x seconds

endmqm -i QMGRNAME

sleep x seconds

endmqm -p QMGRNAME

sleep x seconds

kill qmgr process in the order specified in the Admin guide

My question is, on the windows platform we also have the "amqmdain end" command. In regard to this command:
1) Which of the above endmqm commands is it equivalent to?
2) Where should I fit it into my qmgr shutdown?
3) Is there also value in scripting a stop of the MQ Windows service, just to ensure everything has shutdown ok?

Thanks,
Matt.
Back to top
View user's profile Send private message
JasonE
PostPosted: Thu May 20, 2004 6:10 am    Post subject: Reply with quote

Grand Master

Joined: 03 Nov 2003
Posts: 1220
Location: Hursley

amqmdain end is equivalent to endmqm -i

net stop "IBM MQSeries" will stop the service and all qmgrs running, which might be your better bet.
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 » General IBM MQ Support » Best practice to scriupt a queue manager stop on W2K ?
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.