Creating a disaster recovery RDQM
You use the crtmqm command to create a replicated data queue manager (RDQM) to act as a primary or a secondary in a disaster recovery configuration.
About this task
You can create a replicated data queue manager (RDQM) as a user in the mqm
group
if the user can use sudo. Otherwise you must create the RDQM as root.
You must create a primary RDQM DR queue manager on one node. Then you must create a secondary instance of the same queue manager on another node. The primary and secondary instances must have the same name and be allocated the same amount of storage.
The following points give some guidance about sizing the queue manager file system:
- When creating an RDQM queue manager, a file system is allocated to store queue manager data and logs. It is important to size this file system appropriately so that the queue manager can record ongoing activity in its logs, and store application messages on queues. When sizing the file system, consider peak messaging requirements, future workload growth, and application outages that might cause messages to build up on queues. For guidance on calculating the size of the queue manager recovery log, see How large should I make my log filesystem?. When calculating the storage requirements for application messages, the size and number of messages needs to be considered, plus their MQMD header and any message properties they have.
- RDQM queue manager file systems cannot be dynamically resized. You must back up then restore an RDQM queue manager with a larger file system if this is required, see Resizing the filesystem for an HA RDQM queue manager.
- You can limit the size of individual queues on disk by using local queue attributes, such as MAXDEPTH and MAXFSIZE. See Modifying IBM MQ queue files.
- You should monitor your ongoing disk usage and respond appropriately if disk usage increases before file system usage becomes critical. File system usage can be monitored by using either platform/operating system capabilities, or by subscribing to metrics published to IBM® MQ system topics that are described at Metrics published on the system topics.