Change configuration information on UNIX, Linux, and Windows
On UNIX, Linux, and Windows, we can change the IBM MQ configuration attributes that are held in configuration files, at the level of the node and of the queue manager.
On UNIX, Linux, and Windows platforms, we can change IBM MQ configuration attributes within the following files:
- An IBM MQ configuration file (mqs.ini) to effect changes for IBM MQ on the node as a whole. There is one mqs.ini file for each node.
- A queue manager configuration file (qm.ini) to effect changes for specific queue managers. There is one qm.ini file for each queue manager on the node.
Client configuration options are held separately, in the client configuration file(mqclient.ini).
A configuration file (or stanza file) contains one or more stanzas, which are groups of lines in the .ini file that together have a common function or define part of a system, such as log functions, channel functions, and installable services.
Because the IBM MQ configuration file is used to locate the data associated with queue managers, a nonexistent or incorrect configuration file can cause some or all MQSC commands to fail. Also, applications cannot connect to a queue manager that is not defined in the IBM MQ configuration file.
Important: Any changes you make to a configuration file usually do not take effect until the next time the queue manager is started.
Procedure
- Before editing a configuration file, make a backup.
- Edit the configuration files using commands or a standard text editor.
- On Windows and Linux (x86 and x86-64) systems use IBM MQ Explorer to make changes to the configuration files.
- On Windows systems, we can use the amqmdain command.
- Editing configuration files
- IBM MQ configuration file, mqs.ini
- Queue manager configuration files, qm.ini
- Installation configuration file, mqinst.ini
Parent topic: Change IBM MQ and queue manager configuration information
Related tasks
- Configure IBM MQ
- Change IBM MQ and queue manager configuration information
- Change configuration information on IBM i
- Attributes for changing queue manager configuration information
Related reference
Related information