Automatically starting a broker that is stopped
This scenario describes how you can use the WebSphere® Message Broker Monitoring Agent to automatically restart a broker whenever it is stopped.
After you have configured the WebSphere Message Broker Monitoring Agent, start the agent so that necessary statistics can be gathered, and then perform the following steps:
- Define a situation for the Broker Status workspace/Broker Information workspace that checks whether the broker status is stopped.
- Set the action for the situation to use the QI Start
Broker command to restart the broker.Tip: There is a predefined situation for the Components workspace that you can use for the same purpose, but that situation also starts the Configuration Manager and User Name Server, if either one stops.