These steps tell you how to back up a
Configuration Manager domain
so that it can be restored for migration purposes or in the event of an unrecoverable
failure. The backup and restoration of a broker needs to extend to every broker
that is deployed to by the
Configuration Manager. All the
topics that you need to carry out these steps are listed in the 'Related information'
section at the end of this topic.
To back up the components:
- Stop each broker.
- Note the BrokerUUID value in the following way:
- On Windows, use regedit to examine HKLM\SOFTWARE\IBM\WebSphereMQIntegrator\<BROKER_NAME>\BrokerUUID and note the BrokerUUID value.
- On UNIX, use cat $MQSI_REGISTRY/registry/VBROKER_NAME>/BrokerUUID and
note the BrokerUUID value.
- Stop the Configuration Manager.
- Back up the Configuration Manager data repository.
- Back up each broker database.
To restore the components:- Stop and remove the existing components in the Configuration Manager domain.
- Stop each broker.
- Stop the Configuration Manager.
- Exit from the Message
Brokers Toolkit.
- Delete each broker using the mqsideletebroker command,
specifying the -w parameter, which is an optional parameter
on Windows and UNIX platforms
that deletes from the workpath all files related to these brokers.
- Delete the Configuration Manager using the mqsideleteconfigmgr command, specifying
the -w and -n parameters. The -n parameter
deletes all data in the configuration repository.
- Drop each broker database.
- Drop the Configuration Manager repository.
- Recreate the components.
- Create each broker database.
- Create the Configuration Manager repository.
- Create the Configuration Manager.
- Create each broker.
- Start the Configuration Manager.
- Start each broker.
- Run the Message
Brokers Toolkit.
- Connect to the Configuration Manager.
- Add to the Configuration Manager domain new brokers
with the same names as the originals.
- Deploy the topology configuration.
- Restore the components.
- Stop each broker.
- Stop the Configuration Manager.
- Restore the Configuration Manager repository.
- Restore each broker database.
- Set the BrokerUUID to the value that you noted during backup in the following
way:
- On Windows, use regedit to set HKLM\SOFTWARE\IBM\WebSphereMQIntegrator\<BROKER_NAME>\BrokerUUID to the value that you noted during backup.
- On UNIX, use print -n <VALUE_NOTED> <$MQSI_REGISTRY/registry/<BROKER_NAME>/BrokerUUID.
- Start the Configuration Manager.
- Start each broker.
- Connect to the Configuration Manager.
- Deploy the topology configuration.