Wednesday, February 17, 2010

backup queue manager in Websphere mq

backup queue manager in Websphere mq

Creating a backup queue manager
========================
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 WebSphere® MQ, and replays all the copied log extents to bring the backup queue manager in step with the existing queue manager.

starting a backup queue manager
=======================
1. Execute the following control command to activate the backup queue manager:
strmqm -a BackupQMName
The backup queue manager is activated. Now active, the backup queue manager can no longer be updated.

2. Execute the following control command to start the backup queue manager:
strmqm BackupQMName

3. Restart all channels

Note: stop the existing Qmgr using endmqm -w, before copying the qmgr date to backup qmgr

No comments:

Post a Comment