File structure of the IBM MQ Console and REST API installation component
There are two sets of directory structures that are associated with the IBM® MQ Console and REST API installation component. One directory structure contains files that can be edited. The other directory structure contains files that cannot be edited.
Editable files
The user editable files are laid down as part of the initial installation of the IBM MQ Console and REST API installation component. As these files can be edited, the files are not changed when maintenance is applied.
- In an IBM MQ installation, the user editable files
are in one of the following directories:
![[AIX]](ngaix.gif)
On AIX® or Linux®:
/var/mqm/web/installations/installationName
On Windows:
MQ_DATA_PATH\web\installations\installationName,
where MQ_DATA_PATH is the IBM MQ data
path. This path is the data path that is selected during the installation of IBM MQ. By default, this path is
C:\ProgramData\IBM\MQ.
On z/OS®: the directory that was
specified when the crtmqweb script ran to create the mqweb server
definition.
![[MQ 9.3.5 Feb 2024]](ng935.gif)
In a stand-alone IBM MQ Web Server installation:
MQ_OVERRIDE_DATA_PATH/web/installations/MQWEBINSTwhere MQ_OVERRIDE_DATA_PATH is the IBM MQ Web Server data directory that the MQ_OVERRIDE_DATA_PATH environment variable points to.
| Directories and files | Description |
|---|---|
| angular.persistence/ | Directory where the IBM MQ Console dashboard configuration is stored. |
| servers/ | WebSphere® Liberty servers directory. |
| servers/mqweb | Directory that contains the mqweb server directory structure. |
| servers/mqweb/logs | Directory that contains logs for the mqweb server. |
| servers/mqweb/logs/console.log | Log of basic server status and operation messages. |
| servers/mqweb/logs/ffdc | First Failure Data Capture (FFDC) output directory. |
| servers/mqweb/logs/messages.log | Log of runtime messages from the mqweb server, including the IBM MQ Console and REST API. Older messages are stored in files that are called messages_timestamp.log. |
| servers/mqweb/logs/trace.log | Log of trace from the mqweb server, including the IBM MQ Console and REST API. Older trace is stored in files that are called trace_timestamp.log. These files exist only if trace is enabled. |
| servers/mqweb/logs/state | Server-specific state. |
| servers/mqweb/server.xml | Main server configuration file. This file is read only. Edit the mqwebuser.xml file to override the default configuration. |
| servers/mqweb/mqwebuser.xml | Configuration file for the IBM MQ Console and
REST API. Settings that are configured in this file override the default
configuration. You must be a privileged user to edit this file. |
| servers/mqweb/resources | Directory that contains various server resources such as keystores. |
| servers/mqweb/workarea | Directory that is created by the server as it operates. This directory is created after the server is first run. |
Non-editable files
The non-editable files are laid down as part of the initial installation of the IBM MQ Console and REST API installation component. These files are updated when maintenance is applied.
- In an IBM MQ installation, the non-editable files are
in one of the following directories:
On AIX, Linux, and Windows: MQ_INSTALLATION_PATH/web
On IBM i: MQ_INSTALLATION_PATH/web
On z/OS:
installation_directory/web/where installation_directory is the IBM MQ for z/OS UNIX System Services Components installation path.
![[MQ 9.3.5 Feb 2024]](ng935.gif)
In a stand-alone IBM MQ Web Server installation, the directory to which the IBM MQ Web Server installation file was decompressed.
| Directories and files | Description |
|---|---|
| bin/ | Directory that contains WebSphere Liberty
commands. You must be a privileged user to execute scripts in this directory. |
| mq/ | Directory structure that contains various IBM MQ resources. |
| mq/apps/ | Directory that contains the IBM MQ Console and REST API applications. |
| mq/etc/ | |
| mq/etc/mqweb.xml | Read-only configuration file for the mqweb server. Edit the mqwebuser.xml file to make configuration changes. |
| mq/libs | Directory that contains shared libraries for use by the IBM MQ Console and REST API. |
| mq/samp | Directory that contains samples. |
| mq/samp/configuration | Directory that contains sample configuration files that can be copied into the mqwebuser.xml file. |