We're thinking about setting up replication for our queue manager to ensure that just the Q files are backed up but not the LOG files for the queue manager.  This is being contemplated as it appears the log files are updated far more than the Q files as the LOG files are doing internal MQSeries checks, etc.  We need to reduce the amount of data that we're replicating.

My first thoughts on this were that this would not work as the Q files would be out of sync with the LOG files.  However we performed the following:
  1. Created a queue manager
  2. Started the queue manager
  3. Created some queues
  4. Put some message on the queues
  5. Ended the queue manager
  6. Took a copy of the LOG files used by the queue manager
  7. Started the queue manager
  8. Put some more messages on the queues
  9. Created another queue object
  10. Ended the queue manager
  11. Restored the LOG files that were backed up in step 6
  12. Started the queue manager

At this point I was expecting issues but I found that the queue manager started without problems and it recognised the queue that was created in step 9.  Does this mean if we took a copy of the LOG files and restored them to a queue manager at a later point retaining the latest Q files we would have no problems?  Has anyone tried this or no of any problems?



Reply via email to