Making an existing queue manager the default

You can make an existing queue manager the default queue manager. The way you do this depends on the platform you are using.

WebSphere MQ for Windows and WebSphere MQ for Linux (x86 and x86-64 platforms) systems

About this task

Use the following instructions to make an existing queue manager the default queue manager on WebSphere® MQ for Windows and WebSphere MQ for Linux® (x86 and x86-64 platforms) systems:

Procedure

  1. Open the IBM® WebSphere MQ Explorer.
  2. Right-click IBM WebSphere MQ, then select Properties.... The Properties for WebSphere MQ panel is displayed.
  3. Type the name of the default queue manager into the Default queue manager name field.
  4. Click OK.

UNIX and Linux systems

About this task

When you create a default queue manager, its name is inserted in the Name attribute of the DefaultQueueManager stanza in the WebSphere 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.

What to do next

See Changing IBM WebSphere MQ and queue manager configuration information for information about configuration files.