Removing a queue manager from a disaster recovery configuration by using the command line

You can remove a queue manager from a disaster recovery configuration by using the command line.

About this task

If you remove a queue manager from a disaster recovery configuration while it is in the primary role, the queue manager is not deleted.

If you remove a queue manager from a disaster recovery configuration while it is in the secondary role, the queue manager is deleted.

Procedure

  • To remove a primary queue manager from a disaster recovery configuration:
    1. Enter the IBM® MQ administration mode by entering the following command:

      mqcli

    2. Ensure that the queue manager is stopped. Enter the following command if necessary:

      endmqm qmanager

    3. Enter the following command to remove the queue manager from the disaster recovery configuration.

      dltdrprimary -m qmanager

  • To remove a secondary queue manager from a disaster recovery configuration:
    1. Enter the IBM MQ administration mode by entering the following command:

      mqcli

    2. Enter the following command to remove the queue manager from the disaster recovery configuration and delete it.

      dltdrsecondary -m qmanager