mqsideleteconfigmgr command - Linux and UNIX systems

Syntax

Parameters

ConfigmgrName
(Required) The name of the Configuration Manager that you want to delete.

This must be the first parameter specified and the name is case-sensitive.

-q
(Optional) Deletes the Configuration Manager's queue manager. (If this option is not specified, only the WebSphere Message Broker queues are deleted.)

If the queue manager hosts another component (a broker, or the User Name Server, or both) that still exists, this command fails.

-w
(Optional) Deletes all files related to the Configuration Manager from the workpath.
-n
(Optional) Deletes the configuration repository.

Be very careful using this option. The configuration repository contains the configuration data for the whole broker domain, not just data internal to the Configuration Manager. Deleting this repository destroys all information pertinent to the broker domain, and requires you to recreate every resource within it to recover the broker domain.

If the configuration repository is not deleted as part of deleting the Configuration Manager, and the Configuration Manager is later recreated with the same name, it will continue to use the existing configuration repository.

If you do not specify –n to delete the configuration repository data, you can delete it manually later by locating the directory in which the configuration repository is stored and deleting the entire directory. This must be done with extreme caution as all domain information for the Configuration Manager is deleted.

To delete the configuration repository manually:
  1. Locate the Configuration Manager’s working directory. The default location is/var/mqsi
  2. Locate the components directory. Delete the directory with the same name as the Configuration Manager.

Examples

mqsideleteconfigmgr CMGR01 -q