![]()
Occasionally, for one reason or another, you may wish to delete and recreate a broker. This can cause some confusion to the ConfigMgr because even though you have deleted and recreated the broker, the ConfigMgr may still remember the old broker details. This can be especially confusing if the new broker has the same name as the old and should be the same. The following is the recipe for removing a broker and recreating:
Shutdown the original broker (if applicable)
Delete the original broker (if applicable)
mqsideletebroker <brokerName>
In the Control Center, go to the Topology page, check out the topology and select Delete for the broker that you just deleted.
Shutdown the ConfigMgr
Start a DB2 command window and issue:
db2 connect to <ConfigMgrDatabaseName>
db2 delete from <SchemaName>.CBROKER where CNAME = '<brokerName>'
db2 terminate
Start the ConfigMgr
Recreate the broker
Start the broker
Using the Control Center, re-add the broker in the topology section.
All should now work.
![]()
Last Updated: 06/14/2002