Directory structure on Windows systems
How to find queue manager configuration information and directories on Windows.
The default directory for IBM® MQ for Windows installation is:
- 32 bit
- C:\Program Files (x86)\WebSphere MQ
- 64 bit program directories
- C:\Program Files\IBM\WebSphere MQ
- Data directory
- C:\ProgramData\IBM\MQ
A Windows 32-bit client installs on a 32-bit machine, by default, only into C:\Program Files\IBM\WebSphere MQ.
A Windows 64-bit client installs on a 64-bit machine, by default, only into C:\Program Files\IBM\WebSphere MQ.
If you want to know which installation directory and which data directory is being used, run the dspmqver command.
The installation directory is listed in the InstPath field and the data directory is listed in the DataPath field.
>dspmqver
Name: WebSphere MQ
Version: 8.0.0.0
Level: p000-L140303.5
BuildType: IKAP - (Production)
Platform: IBM MQ for Windows (x64 platform)
Mode: 64-bit
O/S: Windows 7 Professional x64 Edition, Build 7601: SP1
InstName: Installation1
InstDesc:
Primary: Yes
InstPath: C:\Program Files\IBM\WebSphere MQ
DataPath: C:\ProgramData\IBM\MQ
MaxCmdLevel: 800
LicenseType: Production
Multi-instance queue managers
To configure a multi-instance queue manager, the log and data directories must be placed on networked storage, preferably on a different server to any of the servers that are running instances of the queue manager.Two parameters are provided on the crtmqm command, -md and -ld, to make it easier specify the location of the queue manager data and log directories. The effect of specifying the -md parameter is fourfold:
- The mqs.ini stanza QueueManager\QmgrName contains a new variable, DataPath, which points to the queue manager data directory. Unlike the Prefix variable, the path includes the name of the queue manager directory.
- The queue manager configuration information stored in the mqs.ini file is reduced to Name, Prefix, Directory and DataPath.