Posted: Fri Dec 12, 2008 8:02 am Post subject: MQ startup/ shutdown scripts on Windows server reboot
Yatiri
Joined: 11 Nov 2008 Posts: 610
Hi Guys,
We are using MQ V.6.0 on Windows 2003 servers.
We have the QMgrs on Windows servers which are part of a cluster.
All of a sudden a Windows servers goes down for some reason, the QMgrs on that Windows server will be down.
When the server goes down we want to implement a proper procedure for the MQ shutdown like
SUSPEND QMGR CLUSTER(ClusterName)
server reboot.
When the Windows server comes, we should issue RESUME QMGR CLUSTER(ClusterName).
I am not sure how to automate this process in Windows.
I know that there are WIndows startup/ shutdown scripts here:
Type in the run dialog box "gpedit.msc" and then press enter. After
pressing you will see another window under local computer setting>
Computer Configuration > Windows Settings > Scripts start-up/shutdown.
double click on start-up and show all and paste your batch files here
first and then add your file(s).
Question:
How to write a Windows batch file for MQ MQSC commands?.
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