Creating a backup queue manager

You can only use a backup queue manager when using linear logging.

To create a backup queue manager for an existing queue manager, do the following:
  1. Create a backup queue manager for the existing queue manager using the control command crtmqm. The 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.
  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. Execute the following control command on the backup queue manager:
    
     strmqm -r BackupQMName
    
    This 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.