IBM Support

IBM MQ and WebSphere MQ installation directories

Question & Answer


Question

Where do IBM MQ and WebSphere MQ install their code on distributed platforms?

Answer

IBM MQ allows multiple installations to different directories on most systems, but it does have a default installation directory on each system.



Linux and UNIX

The default IBM MQ installation directory is shown below. MQ may be installed to other directories by following the installation instructions in the IBM Knowledge Center:

    AIX


    /usr/mqm

    HP-UX, Linux and Solaris


    /opt/mqm



In order to find out what MQ installations exist in other locations, check the /etc/opt/mqm/mqinst.ini file for a list of installation directories. For example:

    Listing MQ installation directories


    sh> grep FilePath /etc/opt/mqm/mqinst.ini
      FilePath=/opt/IBM/MQ80
    FilePath=/opt/IBM/MQ80Test
    FilePath=/opt/IBM/WMQ-7.5
    FilePath=/opt/WebSphere_MQ_V7R1



Windows


The default IBM MQ installation directory when performing the first MQ installation is shown below. The MQ installer will suggest an alternate directory for subsequent installations by adding _1, _2, and so on. The MQ installer also allows the administrator to specify the installation directory:

    IBM MQ V8.0


    C:\Program Files\IBM\MQ

    WebSphere MQ V7.5 and earlier


    C:\Program Files (x86)\IBM\WebSphere MQ



In order to find out what MQ installations exist on your system, use the reg.exe program to query the Windows registry. The syntax of the reg command differs between 64-bit and 32-bit Windows, so use the command appropriate to your system:

    Listing MQ installation directories (64-bit Windows)


    C:\> REG QUERY "HKLM\Software\Wow6432Node\IBM\WebSphere MQ\Installation" /S | FINDSTR FilePath
        FilePath    REG_SZ    C:\Program Files\IBM\WebSphere MQ
    FilePath REG_SZ C:\Program Files\IBM\WebSphere MQ_1
    FilePath REG_SZ C:\Program Files (x86)\IBM\WebSphere MQ


    Listing MQ installation directories (32-bit Windows)


    C:\> REG QUERY "HKLM\Software\IBM\WebSphere MQ\Installation" /S | FINDSTR /C:FilePath
        FilePath    REG_SZ    C:\Program Files (x86)\IBM\WebSphere MQ
    FilePath REG_SZ C:\Program Files (x86)\IBM\WebSphere MQ_1
    FilePath REG_SZ C:\Program Files (x86)\IBM\WebSphere MQ_2



IBM i


IBM i allows only a single version of IBM MQ or WebSphere MQ to be installed at any time. The MQ binaries are available under the following directories:

    IBM i Library Filesystem


    /QSYS.LIB/QMQM.LIB

    IBM i QOpenSys Filesystem


    /QIBM/ProdData/mqm/bin

[{"Product":{"code":"SSFKSJ","label":"WebSphere MQ"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Documentation","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF012","label":"IBM i"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"9.0;8.0;7.5;7.1;7.0;6.0","Edition":"All Editions","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
22 June 2018

UID

swg21677986