Follow the steps listed to migrate a queue manager in a high-availability queue manager
configuration.
Before you begin
The following terms are relevant:
- active server
- The running server or active queue manager instance
- passive server
- A server that is ready to take over from the active server automatically.
- inactive server
- A server that is not prepared to take over automatically. The server might have been removed
from the cluster, or taken offline in some way.
Procedure
Base your migration procedure on the following steps. The details depend on
the specific commands in the cluster concerned.
-
Before you start the migration process, create a different queue manager on a server on which
you have installed the upgrade.
-
Test the upgrade by performing whatever verification checks that your enterprise
requires.
-
Form two cluster pairs if you have four servers available.
With two pairs, the queue manager can continue to run in a cluster-pair at the old command
level. When you are ready, you can transfer the queue manager to the pair of servers at the new
command level.
-
Remove a passive server from the cluster.
Ensure that the cluster cannot automatically restart the server. The server is made inactive.
-
Create a second location for the upgraded code, if a high-availability cluster is using a
common location for IBM® MQ code.
-
Install, or upgrade, IBM MQ code using the server
that is not now running the queue manager.
-
Verify the upgrade by creating a different queue manager on the server, and performing whatever
verification checks that your organization requires.
-
If more than half the servers remain in the cluster, remove a server, upgrade IBM MQ, and verify the upgrade.
Each server is made inactive as part of the process. Continue until half the servers are
upgraded.
-
If your active server is part of a remaining cluster, deactivate the passive servers so that
the cluster cannot reactivate them automatically.
-
Decide whether downtime or recoverability is more important in the migration.
- Optional:
Follow this procedure if recoverability is more important:
-
Stop the queue manager and remove the server from the cluster.
-
Back up the queue manager.
- Optional:
Follow this procedure if downtime is more important:
-
Add the migrated servers back into the cluster, as passive servers.
-
Switch the remaining server in the high-availability server cluster over to one of the passive
servers.
The switch causes the running queue manager to stop, and restarts it on one of the passive
servers.
-
Upgrade any remaining high-availability servers, and add them back into the cluster.