Overview of installing a new level of firmware by using the command line

After you have downloaded the new level of firmware, you can install it by using the command line.

Before you begin

If you are installing firmware on a high availability (HA) or disaster recover (DR) configuration, see the topics Upgrading a version 9.4 HA configuration, Upgrading a version 9.4 DR configuration, and Upgrading a version 9.4 HA configuration with DR before you start installing. These topics give guidance on upgrading one appliance at a time and so remaining operational.

Procedure

  1. Back up your IBM® MQ Appliance as described in Back up and restore.
  2. Ensure that all the queue managers are stopped. (If you have configured your queue managers to auto-restart, reconfigure them to manual start, see Restarting queue managers by using the command line in Starting and stopping the appliance).
  3. Copy the firmware image from the computer that you downloaded it to to the image: location on the appliance:
    1. Connect to the command line of the appliance as described in Command line access.
    2. Log in to the appliance as an administrator.
    3. Copy the file by typing the following command:
      
      copy scp://username@ipaddress/[/]directorypath/firmware_file image:
      
    4. Type config to enter configuration mode.
    5. Type flash to enter the correct mode for firmware upgrade.
  4. Restart the appliance with the new image by typing the following command:
    
    boot image accept-license firmware_file
    
    Where firmware_file is the name of the file that contains the new firmware image. Type the file name without the image: prefix.
  5. When the appliance restarts, verify that the firmware image is upgraded by entering the following commands:
    
    show version
    
    and, from the mqcli prompt:
    dspmqver -v
  6. Restart your queue managers, see Restarting queue managers by using the command line in Starting and stopping the appliance.