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:
- 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.
-
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.
- Overwrite the backup queue manager's data and log file directories, including
all subdirectories, with the copies taken from the existing queue manager.
-
Execute the following control command on the backup queue
manager:
strmqm -r BackupQMName
This flags the queue manager as a backup queue manager within WebSphere MQ, and replays
all the copied log extents to bring the backup queue manager in step with
the existing queue manager.