Making an existing queue manager the default
You 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 Using IBM MQ Explorer to make a queue manager the default.
When you create 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. You can do this manually, using a text editor. -
If you do not have a default queue manager on the node, and you 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.