Create a backup queue manager

You create a backup queue manager as an inactive copy of the existing queue manager.


Important: We can only use a backup queue manager when using linear logging. A backup queue manager requires the following:

  • To have the same attributes as the existing queue manager, for example the queue manager name, the logging type, and the log file size.
  • To be on the same platform as the existing queue manager.
  • To be at an equal, or higher, code level than the existing queue manager.


Procedure

  1. Create a backup queue manager for the existing queue manager using the control command crtmqm.
  2. Take copies of all the existing queue manager's data and log file directories, including all subdirectories, as described in Backing up queue manager data.
  3. Overwrite the backup queue manager's data and log file directories, including all subdirectories, with the copies taken from the existing queue manager.
  4. Run the strmqm control command on the backup queue manager as shown in the following example:
    strmqm -r BackupQMName
    
    This command flags the queue manager as a backup queue manager within IBM MQ, and replays all the copied log extents to bring the backup queue manager in step with the existing queue manager.

Parent topic: Use a backup queue manager


Related information