+

Search Tips | Advanced Search

Making an existing queue manager the default

We can make an existing queue manager the default queue manager either manually by using a text editor or, on Windows and Linux, by using IBM MQ Explorer.


About this task

To use a text editor to make an existing queue manager the default queue manager, complete the following steps.

On Windows and Linux (x86 and x86-64 platforms) systems, if you prefer to use IBM MQ Explorer to make this change, see Use IBM MQ Explorer to make a queue manager the default.

When creating a default queue manager, its name is inserted in the Name attribute of the DefaultQueueManager stanza in the IBM MQ configuration file (mqs.ini). The stanza and its contents are automatically created if they do not exist.


Procedure

  • To make an existing queue manager the default, change the queue manager name on the Name attribute to the name of the new default queue manager. We can do this manually, using a text editor.
  • If we do not have a default queue manager on the node, and we want to make an existing queue manager the default, create the DefaultQueueManager stanza with the required name yourself.
  • If you accidentally make another queue manager the default and want to revert to the original default queue manager, edit the DefaultQueueManager stanza in mqs.ini, replacing the unwanted default queue manager with that of the one you want.

Parent topic: Create queue managers on Multiplatforms


Related tasks

Last updated: 2020-10-04