mqsideleteconfigmgr command

Supported platforms

  • Windows 2000, Windows XP

Purpose

This command:
  • Stops the service on the Windows platform that runs the Configuration Manager.
  • Stops and deletes the WebSphere MQ queue manager for the Configuration Manager, if requested.
  • Removes the tables from the configuration repository, if requested.
  • Removes the record for the component in the broker registry.

Syntax

Parameters

-q
(Optional) Deletes the Configuration Manager's queue manager. (If this option is not specified, only the WebSphere Business Integration 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 re-create every resource within it to recover the broker domain.

If you want to change the user ID that you used to create the database tables for the configuration repository:
  • Stop the Configuration Manager.
  • Delete the Configuration Manager, but do not specify the -n flag. The data is preserved in the existing tables.
  • Create the Configuration Manager. Specify the new user ID as the user ID that you want to use for database access. You can specify a unique user ID for configuration repository access (flag -u), or you can specify the user ID as the service user ID (flag -i) and allow database access to default to that user ID. See the mqsicreateconfigmgr command for details.
  • Copy the old database tables to the new tables.
  • Restart the Configuration Manager.
  • When you are confident that the transfer is complete, delete the old tables.

If this flag is not specified, the tables remain intact in the database.

Responses

  • BIP8012 Unable to connect to system components
  • BIP8013 Component does not exist
  • BIP8017 Component cannot be deleted
  • BIP8018 Component running
  • BIP8038 Unsupported command option
  • BIP8048 Unable to start queue manager
  • BIP8049 Unable to stop queue manager
  • BIP8052 Unable to delete queue
  • BIP8055 Unable to load Java class
  • BIP8074 Unable to create JVM
  • BIP8075 Java exception
  • BIP8076 Unable to set current directory
  • BIP8077 Error initializing configuration data
  • BIP8078 Error initializing configuration data
  • BIP8082 Unable to delete queue manager
  • BIP8093 Queue manager being created
  • BIP8094 Queue manager stopping
  • BIP8095 Queue manager reserved
  • BIP8097 Unable to create Java object

Examples


mqsideleteconfigmgr -q

Related concepts
Configuration Manager

Related tasks
Deleting the Configuration Manager

Related reference
Syntax preference
mqsicreateconfigmgr command
mqsichangeconfigmgr command