First navigate to the WebSphere MQ Resource Properties Panel or the Resource Context Menu described above. The resource must be in service to modify the Listener Protection value. Then click on Listener Protection Configuration icon or menu item. The following dialog will appear:
Now select YES if you want LifeKeeper to start, stop and monitor the WebSphere MQ listener. Select NO if LifeKeeper should not start, stop and monitor the WebSphere MQ listener. Click Next. You will be asked if you want to enable or disable listener protection; click Continue. If you have chosen to enable listener management, the LifeKeeper GUI checks if the listener is already running. If it is not already running, it will try to start the listener. If the listener start was successful, the LifeKeeper GUI will enable listener management on each server in the cluster. If the listener is not running and could not be started, the LifeKeeper GUI will not enable listener management on the servers in the cluster.
To set the LifeKeeper listener management via command line, use the following command:
/opt/LifeKeeper/lkadm/subsys/appsuite/mqseries/bin/mq_modqmgrparam -c -s -i TEST.QM -p LISTENERPROTECTION -v YES
This will set (-s) the LifeKeeper listener management (-p) on each node of the cluster (-c) to YES (-v) (enable listener management) 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.