Primary installation on AIX, Linux, and Windows
IBM® MQ for AIX®, Linux®, and Windows support multiple installations of IBM MQ. On these platforms, you can optionally define one installation as the primary installation. The primary installation is the one to which IBM MQ system-wide locations refer.
Overview
You can install multiple versions of the product on AIX, Linux, and Windows, and configure one of these installations as the primary installation. The primary installation is:
- The installation to which system-wide locations refer
- Optional, but convenient
![[AIX]](ngaix.gif)
![[Linux]](nglinux.gif)
AIX and Linux
The primary installation:
- Has symbolic links in /usr/lib and /usr/bin
If you have not set a primary installation there are no symbolic links.
- Must be configured manually using the following command:
$ MQ_INSTALLATION_PATH/bin/setmqinst -i -p MQ_INSTALLATION_PATH
To locate your various installations, you can:
- Use the platform installation tools to query what is installed and where on the system
- Use the dspmqver command to display IBM MQ version and build information.
- Use the dspmqinst command to display installation entries from mqinst.ini.
- Use the following command to list the installations:
cat /etc/opt/mqm/mqinst.ini
![[Windows]](ngwin.gif)
Windows
The primary installation is:
- By default the first installation.
- Pointed to by global environment variables.
- Used by some operating system features that require central registration of interface libraries.
For example, .NET monitor (transactional mode).
To locate your various installations, you can use the:
- Use the platform installation tools to query what is installed and where on the system
- Use the dspmqver command to display IBM MQ version and build information.
- Use the dspmqinst command to display installation entries from mqinst.ini.
- Use the following command to query the registry:
reg.exe query "HKLM\Software\[Wow6432Node\]IBM\WebSphere MQ\Installation" /s
![[Windows]](ngwin.gif)
Migration of Windows registry information
IBM WebSphere® MQ 7.1 onwards uses mqs.ini and
qm.ini.