Set the primary installation
Procedure
To set an installation as the primary installation:
-
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 a IBM WebSphere MQ Version 7.1 or later installation. - If an existing IBM WebSphere MQ Version 7.1 or later installation is set as the primary installation, unset it by following the instructions in Unset the primary installation. If IBM WebSphere MQ Version 7.0.1 is installed on the system, the primary installation cannot be changed.
-
Make sure that you are logged on with the appropriate authority:
- As root on UNIX and Linux.
- As a member of the Administrators group on Windows systems.
-
Enter one of the following commands:
- To set the primary installation using the path of the installation you want to be the
primary installation:
MQ_INSTALLATION_PATH/bin/setmqinst -i -p MQ_INSTALLATION_PATH
- To set the primary installation using the name of the installation you want to be the
primary installation:
MQ_INSTALLATION_PATH/bin/setmqinst -i -n installationName
- To set the primary installation using the path of the installation you want to be the
primary installation:
- On Windows systems, restart the system.