Migrating on Windows: side-by-side
Side-by-side migration is the term used to describe installing a later version of IBM MQ alongside an earlier version on the same server. Queue managers remain running during the installation and verification of the later version of IBM MQ. They remain associated with the earlier version of IBM MQ. When you decide to migrate queue managers to the later version of IBM MQ, you stop all queue managers, uninstall the earlier version, and migrate them all to the new version of IBM MQ.
Before starting
Attention: From IBM MQ Version 9.0, the ccsid_part2.tbl file replaces the existing ccsid.tbl file, used in previous versions of the product, to supply additional CCSID information. The ccsid_part2.tbl file takes precedence over the ccsid.tbl file and:
- Allows you to add or modify CCSID entries
- Specify default data conversion
- Specify data for different command levels
The ccsid_part2.tbl is applicable to the following platforms only:
- Linux - all versions
- Windows
If we have added any of our own CCSID information into your existing ccsid.tbl file, we should copy this information into the new ccsid_part2.tbl file, if we want to take advantage of the new formats in your customizations
We should copy the required information, rather than move the information, so that your existing version of IBM MQ continues to work.
In the side-by-side migration scenario, you install the later version of IBM MQ alongside queue managers that continue to be associated with the installation of the earlier version of the product.
When we are ready to migrate the queue managers, and applications, to the later version:
- Stop all the queue managers.
- Uninstall the earlier version of the product.
- Migrate all the queue managers and applications to the later version.
Procedure
- Install the later version in a different installation directory from the earlier version.
- Decide on an installation naming convention. Give the installation a name of our choosing, or accept the default installation name. For the first installation, the default name is Installation1. For the second installation, the name is Installation2, and so on.
- Verify the installation.
Run the installation verification procedures and your own tests.
- Uninstall the earlier version of the product.
- When uninstalling the earlier product, we must stop all queue managers and applications that have loaded an IBM MQ library on the server. For this reason, you might choose to postpone uninstalling the earlier version of the product until a convenient maintenance window. When an earlier version of the product is not installed on a server, it is sufficient to stop the queue managers and applications that have loaded libraries from the installation that we are uninstalling or updating. It is not necessary to stop applications and queue managers associated with other installations.
- Stop all applications that have loaded IBM MQ libraries on the server.
- Stop the queue managers and listeners on the server.
- Uninstall the earlier version of the product.
- Stop all local IBM MQ applications
- You do not need to stop all the queue managers at this point.
For migration from IBM WebSphere MQ Version 7.0.1 to a later version, we needed to stop all your queue managers and listeners, ensuring that you did not delete the queue managers. However, this does not apply to migration from a later version than IBM WebSphere MQ Version 7.0.1.
- Make the later version of the installation the primary installation.
- Run the setmqinst command
"Inst_1_INSTALLATION_PATH\bin\setmqinst" -i -n Inst_1Make the installation primary to avoid specifying a search path to run IBM MQ commands
Use the dspmqinst command to discover the Installation name, or use the default value Installation 1.
Doing this means that we do not have to specify a search path on IBM MQ commands.
- Start the queue managers and applications.
- When an application connects to a queue manager, the operating system searches its load path to load the IBM MQ library 1 . A Version 7.1, or later, library contains code that checks that the queue manager is associated with an installation. If a queue manager is associated with a different installation, IBM MQ loads the correct IBM MQ library for the installation the queue manager is associated with.
During this process you continue to use queue manager QM2 while you upgrade queue manager QM1 and we use queue manager QM1 while you upgrade QM2.
Note that each queue manager needs to be stopped in order to be associated with the new installation.
What to do next
We cannot reinstall an earlier version of the product on a system that has the latest, or any other, version of IBM MQ installed.
Parent topic: Migrating a queue manager to a later version on Windows
Related tasks
- Plan to migrate IBM MQ to a later version on Windows
- Uninstalling IBM MQ on Windows systems
- Installing IBM MQ server on Windows
- Associating a queue manager with an installation
- Change the primary installation
- Choose an installation name
- Queue manager coexistence
- Migrating IBM MQ library loading to a later version on UNIX and Linux
- Migrating IBM MQ library loading to a later version on Windows
- Multi-installation queue manager coexistence on UNIX, Linux, and Windows
1 On Windows, the IBM MQ library is a DLL. A DLL is sometimes called a load library or a shared library. The entry points to a DLL are defined in a link library, with the file extension .lib32 or .lib. The .lib library is linked at build-time and the DLL loaded at runtime.