+

Search Tips | Advanced Search

Reverting to a single-instance queue manager on IBM i

Revert a multi-instance queue manager to a single instance queue manager, on IBM i, by stopping the standby instance. Then restart the active instance and do not set the flag that permits standby instances.


Before starting

We have at least three servers configured to run a queue manager as a multi-instance queue manager. The queue manager is currently running as a multi-instance queue manager, with one standby instance active.


About this task

The task involves deactivating the active standby so that only the running multi-instance queue manager remains active. To prevent a standby instance being started in the future, we must stop the active instance and restart it. When you restart it, you start it as a single instance queue manager that prevents standby instances being started. The standby instance is stopped as a separate step, to give you the option of restarting the active instance at a later date. We can stop both instances by running the standard endmqm QMgrName command on the server running the active queue manager.


Procedure

  1. Stop the standby queue manager instance.

    • On the server running the standby instance:

    ENDMQM MQMNAME (QMgrName) *WAIT
    
  2. Stop the active queue manager instance.

    • On the server running the active instance:

    ENDMQM MQMNAME (QMgrName) *WAIT
    
  3. Restart the queue manager, preventing standbys.

    • On the server that is going to run the queue manager:

    STRMQM MQMNAME (QMgrName)
    


What to do next

We might want to run the queue manager as a single instance on the same server as the queue manager data.

When the queue manager is stopped move the queue manager data back to the server that is running the queue manager. Alternatively install IBM MQ, and then move the queue manager configuration definition onto the server with the queue manager data. Both tasks are variations of steps in Migrating from a single instance to a multi-instance queue manager on IBM i to create a multi-instance queue manager.

Parent topic: Migrating IBM MQ on IBM i

Last updated: 2020-10-04