GUI
First, navigate to the WebSphere MQ resource properties panel or the resource context menu described above. Then click on Shutdown Timeout Configuration icon or menu item. The following dialog will appear:
Now enter the immediate shutdown timeout value in seconds and click Next. If you want to disable the immediate shutdown timeout, enter 0. Now the following dialog will appear:
Now enter the preemptive shutdown timeout value in seconds and click Next. If you want to disable the preemptive shutdown timeout enter 0. You will be asked if you want to set the new LifeKeeper timeout parameters, click Continue. Next, the LifeKeeper GUI will set the LifeKeeper immediate and preemptive timeout values on each server in the cluster.
Command Line
To set the preemptive shutdown timeout values via command line, use the following command:
/opt/LifeKeeper/lkadm/subsys/appsuite/mqseries/bin/mq_modqmgrparam -c -s -i TEST.QM -p PREEMPTIVE_TIMEOUT -v 20
This will set (-s) the LifeKeeper preemptive shutdown timeout (-p) on each node of the cluster (-c) to 20 seconds (-v) for queue manager TEST.QM (-i).
To set the immediate shutdown timeout values via command line, use the following command:
/opt/LifeKeeper/lkadm/subsys/appsuite/mqseries/bin/mq_modqmgrparam -c -s -i TEST.QM -p IMMEDIATE_TIMEOUT -v 20
This will set (-s) the LifeKeeper immediate shutdown timeout (-p) on each node of the cluster (-c) to 20 seconds (-v) for queue manager TEST.QM (-i).
Note: You can either use the queue manager name (-i) or the LifeKeeper TAG (-t) name.
Post your comment on this topic.