IBM Integration Bus, Version 9.0.0.8 Operating Systems: AIX, HP-Itanium, Linux, Solaris, Windows, z/OS

See information about the latest product version

Deleting a multi-instance broker

How you delete a multi-instance broker.

The order of deletion of a multi-instance message broker and its associated instances is important. You should take care to use the correct command for each step in the process.

Ideally, you should remove all of the broker instances using the mqsiremovebrokerinstance command before you attempt to remove the broker itself. This command removes all local references to the broker instance, but does not affect the shared configuration for the multi-instance broker on the shared work path (which was specified with the -e option on the mqsicreatebroker and mqsiaddbrokerinstance commands).

Note that the mqsiremovebrokerinstance command cannot be issued against a standby broker instance. Stop the active broker instance before you run this command.

Now, remove the multi-instance broker using the mqsideletebroker command. This process removes all references to the broker on both the local and shared work paths.

If you make a mistake, and unintentionally remove a broker instance, it can be re-created using the mqsiaddbrokerinstance command, providing that the mqsideletebroker command has not been used to delete the broker.

If the multi-instance broker has been removed using the mqsideletebroker command before removing any associated broker instances, it will not be possible to start the broker instances.

To recover from this situation, re-create the multi-instance broker using the mqsicreatebroker command with the -e option, specifying the original shared work path location.

The following procedure gives an overview of how you delete a multi-instance broker:

  1. Stop the multi-instance broker MB1 on client node A.
  2. Stop the multi-instance broker MB1 on client node B.
  3. Remove the broker instance MB1 on client node B. Do this by using the following command:
     -mqsiremovebrokerinstance MB1 
    See mqsiremovebrokerinstance command for further information.
  4. Remove the broker MB1 on client node A. Do this by using the following command:
     -mqsideletebroker MB1 
    See mqsideletebroker command for further information.

    Note, that you must remove broker instances created by using the mqsiaddbrokerinstance command before you remove the main broker created using the mqsicreatebroker command.


be13690_.htm | Last updated Friday, 21 July 2017