Reverting to a single-instance queue manager

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

Before you begin

You 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, you 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. You 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:
    • Windows, UNIX, and Linux®
      endmqm -w QMgrName
      
    • [IBMi] IBM® i
      
      ENDMQM MQMNAME (QMgrName) *WAIT
      
  2. Stop the active queue manager instance.
    • On the server running the active instance:
    • Windows, UNIX, and Linux
      endmqm -w (QMgrName)
      
    • [IBMi] IBM i
      
      ENDMQM MQMNAME (QMgrName) *WAIT
      
  3. Restart the queue manager, preventing standbys.
    • On the server that is going to run the queue manager:
    • Windows, UNIX, and Linux
      strmqm QMgrName
      
    • [IBMi] IBM i
      
      STRMQM MQMNAME (QMgrName)
      

What to do next

You 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 to create a multi-instance queue manager.