Editing configuration files
Before editing a configuration file, back it up so that you have a copy we can revert to if the need arises.
We can edit configuration files either:
- Automatically, using commands that change the configuration of queue managers on the node
- Manually, using the EDTF CL editor
We can edit the default values in the WebSphere MQ configuration files after installation.
If you set an incorrect value on a configuration file attribute, the value is ignored and an operator message is issued to indicate the problem. (The effect is the same as missing out the attribute entirely.)
When you create a new queue manager:
- Back up the WebSphere MQ configuration file
- Back up the new queue manager configuration file
When do we need to edit a configuration file?
You might need to edit a configuration file if, for example:
- You lose a configuration file; recover from backup if possible.
- You need to move one or more queue managers to a new directory.
- You need to change your default queue manager; this could happen if you accidentally delete the existing queue manager.
- You are advised to do so by your IBM Support Center.
Configuration file priorities
The attribute values of a configuration file are set according to the following priorities:
- Parameters entered on the command line take precedence over values defined in the configuration files.
- Values defined in the qm.ini files take precedence over values defined in the mqs.ini file.