You can use the setmqinst command to set or unset an installation as
the primary installation.
About this task
This task applies to AIX®, Linux®, and Windows.
The primary installation is the installation to which required system-wide locations refer. For
more information about the primary installation, and considerations for choosing your primary
installation, see Choosing a primary
installation.
During the installation process on Windows, you can specify that the installation is to be the
primary installation.
![[AIX]](ngaix.gif)
On AIX and Linux systems, you
must issue a setmqinst command after installation to set the installation as the
primary installation.
Procedure
- To set an installation as the primary installation, complete the following steps:
- Check if an installation is already the primary installation by entering the following
command:
MQ_INSTALLATION_PATH/bin/dspmqinst
where
MQ_INSTALLATION_PATH is the installation path of
an
IBM® MQ installation.
- If an existing IBM MQ installation is set
as the primary installation, unset it before
continuing with the next step.
- Make sure that you are logged on with the appropriate authority:
![[AIX]](ngaix.gif)
As root on AIX and Linux.
As a member of the Administrators group on Windows systems.
- Enter one of the following commands:
On Windows systems,
restart the system.
- To unset an installation as the primary installation, complete the
following steps:
- Check which installation is the primary installation by entering the following
command:
MQ_INSTALLATION_PATH/bin/dspmqinst
where
MQ_INSTALLATION_PATH is the installation path of
an
IBM MQ installation.
- Make sure that you are logged on with the appropriate authority:
![[AIX]](ngaix.gif)
As root on AIX and Linux.
As a member of the Administrators group on Windows systems.
- Enter one of the following commands: