Posted: Mon Apr 28, 2008 1:30 am Post subject: Script for ending qmgr in a clean way (for HA purposes)
Newbie
Joined: 24 Apr 2008 Posts: 1
Hi,
I've configured HA for MQ as described in "High-availability middleware on Linux" article (http://www.ibm.com/developerworks/linux/library/l-halinux2/). But I have an issue with this configuration. When I turn hearbeat off on primary node, it ends qmgr and than gives up shared disk. But I've noticed that not all MQ processes are ended:
The script puts endmqm command in background and waits only thirty seconds. Then the script ends, and hearbeat gives up shared disk. But endmqm command didn't end during these thirty minutes, and hangs because it could not write anything to disk.
Could somebody tell me why author of the article did it this way? Why not use -w switch without putting command into background:
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