Stopping the queue manager

Before migrating to a later version of IBM MQ, we must first stop the queue manager and back up the queue manager data.


Before taking the backup, stop the queue manager that we are going to back up. If you try to take a backup of a running queue manager, the backup might not be consistent because of any updates that were in progress when the files were copied.


Procedure

  1. Open IBM MQ Explorer. Click Start > All Applications > IBM MQ > IBM MQ Explorer.
  2. Stop queue manager sampleQM.
    1. In the Navigator View, right-click the queue manager sampleQM.
    2. Click Stop. The End Queue Manager window opens.
    3. Select Controlled, then click OK. Selecting the Controlled option stops your queue manager in a controlled, orderly way. The Immediate option, which forces the queue manager to stop, is typically used only if a controlled stop fails to complete successfully.

    The queue manager stops. In the IBM MQ, the icon next to queue manager sampleQM is changed to include a red arrow that points downward.

  3. Close IBM MQ Explorer.
  4. Back up the queue manager data. Take copies of all of the following data, making sure that we include all backup directories. Some of the directories might be empty, but we need them all if we need to restore the backup at a later date, so save them too.

    • The queue manager data located in C:\ProgramData\IBM\MQ\Qmgrs.
    • The log file directories for the queue managers located in C:\ProgramData\IBM\MQ\log, including the log control file amqhlctl.lfh.
    • The configuration files located in the C:\ProgramData\IBM\MQ\Config.
    • IBM MQ Version 9.1 .ini file and the registry entries. The queue manager information is stored in the .ini file and can be used to revert to a previous version of the product.

  5. Stop IBM MQ.
    1. Stop the IBM MQ Service. Right-click the IBM MQ icon in the system tray, then click Stop IBM MQ. A dialog box with the following message is displayed:
      Shutting down IBM MQ will terminate all running queue managers and
      IBM MQ processes. Are you sure we want to continue? (AMQ4102)
      
    2. Click Yes, then wait for IBM MQ to stop.
    3. When IBM MQ has stopped, right-click the IBM MQ icon in the system tray, then click Exit.


What to do next

After stopping the queue managers, we are ready to associate them with your new IBM MQ Version 9.2 installation as described in Associating the queue managers with IBM MQ Version 9.2.

Parent topic: Option 2: Side-by-side migration Previous topic: Installing IBM MQ Version 9.2 using the launchpad Next topic: Uninstalling the earlier version