Recovering after the broker fails

Before you start

Try to get to the root of the problem first, using the diagnosis techniques described throughout the Diagnosing errors section of the information center.

If your problem cannot be resolved using these techniques, contact your IBM Support Center.

Use the procedure in this section only as a last resort.

If the environment for a particular broker becomes damaged, or if one or more of the broker database tables are unusable, and the problem cannot be corrected using problem determination, or by the IBM Support Center, perform the following sequence of operations to re-create it:

  1. Ensure that no workbench users are deploying to brokers. You must wait until these actions have completed.
  2. Stop the broker using the mqsistop command.
  3. Stop the broker's queue manager using the endmqm command.
  4. If there is no damage to any of the broker database tables, take a backup of these tables. These tables are interdependent and must all be in a consistent state when restored. You cannot backup or restore individual tables.
  5. Delete the broker using the mqsideletebroker command.
  6. Re-create the broker using the mqsicreatebroker command.
  7. Restore the broker database tables, either from the backup you have just taken, or from a previously successful backup version.
  8. Start the broker using the mqsistart command.
  9. Redeploy the domain configuration to ensure that the configuration across the broker domain is consistent.
Related tasks
Creating a broker
Deleting a broker
Recovering after failure
Related reference
mqsicreatebroker command
mqsideletebroker command
mqsistart command
mqsistop command